lighthouse 11.7.0-dev.20240416 → 11.7.0-dev.20240417
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/bin.js +0 -7
- package/cli/cli-flags.d.ts +1 -5
- package/cli/cli-flags.js +1 -5
- package/cli/test/smokehouse/core-tests.js +0 -2
- package/core/audits/byte-efficiency/render-blocking-resources.js +3 -1
- package/core/audits/byte-efficiency/unminified-css.js +2 -2
- package/core/audits/byte-efficiency/unused-css-rules.js +3 -1
- package/core/audits/font-display.js +2 -2
- package/core/audits/resource-summary.d.ts +2 -0
- package/core/audits/resource-summary.js +5 -4
- package/core/computed/resource-summary.d.ts +10 -12
- package/core/computed/resource-summary.js +12 -19
- package/core/computed/unused-css.d.ts +3 -1
- package/core/computed/unused-css.js +6 -5
- package/core/config/config-helpers.js +0 -4
- package/core/config/constants.js +0 -1
- package/core/config/default-config.js +1 -14
- package/core/gather/gatherers/css-usage.d.ts +0 -21
- package/core/gather/gatherers/css-usage.js +9 -119
- package/core/gather/gatherers/stylesheets.d.ts +26 -0
- package/core/gather/gatherers/stylesheets.js +138 -0
- package/core/lib/i18n/i18n.d.ts +0 -1
- package/core/lib/i18n/i18n.js +0 -2
- package/core/runner.js +0 -1
- package/dist/report/bundle.esm.js +2 -19
- package/dist/report/flow.js +5 -22
- package/dist/report/standalone.js +3 -20
- package/package.json +1 -1
- package/readme.md +2 -2
- package/report/assets/styles.css +0 -17
- package/report/renderer/components.js +1 -1
- package/report/renderer/dom.d.ts +1 -1
- package/report/renderer/dom.js +1 -1
- package/report/renderer/performance-category-renderer.js +0 -21
- package/shared/localization/locales/ar-XB.json +61 -91
- package/shared/localization/locales/ar.json +61 -91
- package/shared/localization/locales/bg.json +61 -91
- package/shared/localization/locales/ca.json +61 -91
- package/shared/localization/locales/cs.json +61 -91
- package/shared/localization/locales/da.json +61 -91
- package/shared/localization/locales/de.json +61 -91
- package/shared/localization/locales/el.json +61 -91
- package/shared/localization/locales/en-GB.json +61 -91
- package/shared/localization/locales/en-US.json +0 -30
- package/shared/localization/locales/en-XA.json +61 -91
- package/shared/localization/locales/en-XL.json +0 -30
- package/shared/localization/locales/es-419.json +61 -91
- package/shared/localization/locales/es.json +61 -91
- package/shared/localization/locales/fi.json +61 -91
- package/shared/localization/locales/fil.json +60 -90
- package/shared/localization/locales/fr.json +61 -91
- package/shared/localization/locales/he.json +61 -91
- package/shared/localization/locales/hi.json +61 -91
- package/shared/localization/locales/hr.json +62 -92
- package/shared/localization/locales/hu.json +61 -91
- package/shared/localization/locales/id.json +61 -91
- package/shared/localization/locales/it.json +61 -91
- package/shared/localization/locales/ja.json +61 -91
- package/shared/localization/locales/ko.json +61 -91
- package/shared/localization/locales/lt.json +61 -91
- package/shared/localization/locales/lv.json +61 -91
- package/shared/localization/locales/nl.json +61 -91
- package/shared/localization/locales/no.json +61 -91
- package/shared/localization/locales/pl.json +60 -90
- package/shared/localization/locales/pt-PT.json +61 -91
- package/shared/localization/locales/pt.json +63 -93
- package/shared/localization/locales/ro.json +61 -91
- package/shared/localization/locales/ru.json +61 -91
- package/shared/localization/locales/sk.json +61 -91
- package/shared/localization/locales/sl.json +61 -91
- package/shared/localization/locales/sr-Latn.json +61 -91
- package/shared/localization/locales/sr.json +61 -91
- package/shared/localization/locales/sv.json +61 -91
- package/shared/localization/locales/ta.json +60 -90
- package/shared/localization/locales/te.json +61 -91
- package/shared/localization/locales/th.json +61 -91
- package/shared/localization/locales/tr.json +61 -91
- package/shared/localization/locales/uk.json +61 -91
- package/shared/localization/locales/vi.json +60 -90
- package/shared/localization/locales/zh-HK.json +61 -91
- package/shared/localization/locales/zh-TW.json +60 -90
- package/shared/localization/locales/zh.json +61 -91
- package/tsconfig.json +0 -1
- package/types/artifacts.d.ts +3 -1
- package/types/externs.d.ts +0 -2
- package/types/lh.d.ts +0 -2
- package/types/lhr/settings.d.ts +0 -4
- package/core/audits/performance-budget.d.ts +0 -39
- package/core/audits/performance-budget.js +0 -154
- package/core/audits/timing-budget.d.ts +0 -43
- package/core/audits/timing-budget.js +0 -175
- package/core/config/budget.d.ts +0 -74
- package/core/config/budget.js +0 -340
- package/types/lhr/budget.d.ts +0 -60
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"core/audits/accessibility/accesskeys.js | description": {
|
|
3
|
-
"message": "快捷键可让用户快速转到页面的某个部分。为确保正确进行导航,每个快捷键都必须是独一无二的。[详细了解快捷键](https://dequeuniversity.com/rules/axe/4.
|
|
3
|
+
"message": "快捷键可让用户快速转到页面的某个部分。为确保正确进行导航,每个快捷键都必须是独一无二的。[详细了解快捷键](https://dequeuniversity.com/rules/axe/4.9/accesskeys)。"
|
|
4
4
|
},
|
|
5
5
|
"core/audits/accessibility/accesskeys.js | failureTitle": {
|
|
6
6
|
"message": "`[accesskey]` 的值重复"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"message": "“`[accesskey]`”值是独一无二的"
|
|
10
10
|
},
|
|
11
11
|
"core/audits/accessibility/aria-allowed-attr.js | description": {
|
|
12
|
-
"message": "每个 ARIA“`role`”都支持一部分特定的“`aria-*`”属性。如果这些项不匹配,会导致“`aria-*`”属性无效。[了解如何将 ARIA 属性与其角色进行匹配](https://dequeuniversity.com/rules/axe/4.
|
|
12
|
+
"message": "每个 ARIA“`role`”都支持一部分特定的“`aria-*`”属性。如果这些项不匹配,会导致“`aria-*`”属性无效。[了解如何将 ARIA 属性与其角色进行匹配](https://dequeuniversity.com/rules/axe/4.9/aria-allowed-attr)。"
|
|
13
13
|
},
|
|
14
14
|
"core/audits/accessibility/aria-allowed-attr.js | failureTitle": {
|
|
15
15
|
"message": "`[aria-*]` 属性与其角色不匹配"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"message": "`[aria-*]` 属性与其角色匹配"
|
|
19
19
|
},
|
|
20
20
|
"core/audits/accessibility/aria-allowed-role.js | description": {
|
|
21
|
-
"message": "ARIA `role` 让辅助技术能够了解网页上每个元素的角色。如果 `role` 值拼写有误、不是现有的 ARIA `role` 值或是抽象角色,系统便不会将相应元素的用途传达给使用辅助技术的用户。[详细了解 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
|
21
|
+
"message": "ARIA `role` 让辅助技术能够了解网页上每个元素的角色。如果 `role` 值拼写有误、不是现有的 ARIA `role` 值或是抽象角色,系统便不会将相应元素的用途传达给使用辅助技术的用户。[详细了解 ARIA 角色](https://dequeuniversity.com/rules/axe/4.9/aria-allowed-role)。"
|
|
22
22
|
},
|
|
23
23
|
"core/audits/accessibility/aria-allowed-role.js | failureTitle": {
|
|
24
24
|
"message": "向 `role=\"\"` 分配的值不是有效的 ARIA 角色。"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"message": "向 `role=\"\"` 分配的值是有效的 ARIA 角色。"
|
|
28
28
|
},
|
|
29
29
|
"core/audits/accessibility/aria-command-name.js | description": {
|
|
30
|
-
"message": "如果某个元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何让命令元素更便于使用](https://dequeuniversity.com/rules/axe/4.
|
|
30
|
+
"message": "如果某个元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何让命令元素更便于使用](https://dequeuniversity.com/rules/axe/4.9/aria-command-name)。"
|
|
31
31
|
},
|
|
32
32
|
"core/audits/accessibility/aria-command-name.js | failureTitle": {
|
|
33
33
|
"message": "`button`、`link` 和 `menuitem` 元素缺少可供访问的名称。"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"message": "`button`、`link` 和 `menuitem` 元素都有可供访问的名称"
|
|
37
37
|
},
|
|
38
38
|
"core/audits/accessibility/aria-dialog-name.js | description": {
|
|
39
|
-
"message": "如果 ARIA 对话框元素缺少无障碍名称,可能会妨碍屏幕阅读器用户理解这些元素的用途。[了解如何让 ARIA 对话框元素更符合无障碍需求](https://dequeuniversity.com/rules/axe/4.
|
|
39
|
+
"message": "如果 ARIA 对话框元素缺少无障碍名称,可能会妨碍屏幕阅读器用户理解这些元素的用途。[了解如何让 ARIA 对话框元素更符合无障碍需求](https://dequeuniversity.com/rules/axe/4.9/aria-dialog-name)。"
|
|
40
40
|
},
|
|
41
41
|
"core/audits/accessibility/aria-dialog-name.js | failureTitle": {
|
|
42
42
|
"message": "具有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素缺少无障碍名称。"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"message": "具有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素均有无障碍名称。"
|
|
46
46
|
},
|
|
47
47
|
"core/audits/accessibility/aria-hidden-body.js | description": {
|
|
48
|
-
"message": "在文档 `<body>` 上设置 `aria-hidden=\"true\"` 后,辅助技术(如屏幕阅读器)的工作方式不一致。[了解 `aria-hidden` 对文档正文的影响](https://dequeuniversity.com/rules/axe/4.
|
|
48
|
+
"message": "在文档 `<body>` 上设置 `aria-hidden=\"true\"` 后,辅助技术(如屏幕阅读器)的工作方式不一致。[了解 `aria-hidden` 对文档正文的影响](https://dequeuniversity.com/rules/axe/4.9/aria-hidden-body)。"
|
|
49
49
|
},
|
|
50
50
|
"core/audits/accessibility/aria-hidden-body.js | failureTitle": {
|
|
51
51
|
"message": "文档 `<body>` 中有 `[aria-hidden=\"true\"]`"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"message": "文档 `<body>` 中没有 `[aria-hidden=\"true\"]`"
|
|
55
55
|
},
|
|
56
56
|
"core/audits/accessibility/aria-hidden-focus.js | description": {
|
|
57
|
-
"message": "有一个 `[aria-hidden=\"true\"]` 元素包含可聚焦的下级元素,导致这些交互式元素都无法被辅助技术(如屏幕阅读器)用户使用。[了解 `aria-hidden` 如何影响可聚焦的元素](https://dequeuniversity.com/rules/axe/4.
|
|
57
|
+
"message": "有一个 `[aria-hidden=\"true\"]` 元素包含可聚焦的下级元素,导致这些交互式元素都无法被辅助技术(如屏幕阅读器)用户使用。[了解 `aria-hidden` 如何影响可聚焦的元素](https://dequeuniversity.com/rules/axe/4.9/aria-hidden-focus)。"
|
|
58
58
|
},
|
|
59
59
|
"core/audits/accessibility/aria-hidden-focus.js | failureTitle": {
|
|
60
60
|
"message": "`[aria-hidden=\"true\"]` 元素包含可聚焦的下级元素"
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"message": "`[aria-hidden=\"true\"]` 元素都不含可聚焦的下级元素"
|
|
64
64
|
},
|
|
65
65
|
"core/audits/accessibility/aria-input-field-name.js | description": {
|
|
66
|
-
"message": "如果某个输入字段没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[详细了解输入字段标签](https://dequeuniversity.com/rules/axe/4.
|
|
66
|
+
"message": "如果某个输入字段没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[详细了解输入字段标签](https://dequeuniversity.com/rules/axe/4.9/aria-input-field-name)。"
|
|
67
67
|
},
|
|
68
68
|
"core/audits/accessibility/aria-input-field-name.js | failureTitle": {
|
|
69
69
|
"message": "ARIA 输入字段缺少可供访问的名称"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"message": "ARIA 输入字段都有可供访问的名称"
|
|
73
73
|
},
|
|
74
74
|
"core/audits/accessibility/aria-meter-name.js | description": {
|
|
75
|
-
"message": "如果某个 meter 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何为 `meter` 元素命名](https://dequeuniversity.com/rules/axe/4.
|
|
75
|
+
"message": "如果某个 meter 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何为 `meter` 元素命名](https://dequeuniversity.com/rules/axe/4.9/aria-meter-name)。"
|
|
76
76
|
},
|
|
77
77
|
"core/audits/accessibility/aria-meter-name.js | failureTitle": {
|
|
78
78
|
"message": "ARIA `meter` 元素缺少可供访问的名称。"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"message": "ARIA `meter` 元素都有可供访问的名称"
|
|
82
82
|
},
|
|
83
83
|
"core/audits/accessibility/aria-progressbar-name.js | description": {
|
|
84
|
-
"message": "如果某个 `progressbar` 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何为 `progressbar` 元素添加标签](https://dequeuniversity.com/rules/axe/4.
|
|
84
|
+
"message": "如果某个 `progressbar` 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何为 `progressbar` 元素添加标签](https://dequeuniversity.com/rules/axe/4.9/aria-progressbar-name)。"
|
|
85
85
|
},
|
|
86
86
|
"core/audits/accessibility/aria-progressbar-name.js | failureTitle": {
|
|
87
87
|
"message": "ARIA `progressbar` 元素缺少可供访问的名称。"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"message": "ARIA `progressbar` 元素都有可供访问的名称"
|
|
91
91
|
},
|
|
92
92
|
"core/audits/accessibility/aria-required-attr.js | description": {
|
|
93
|
-
"message": "一些 ARIA 角色有必需属性,这些属性向屏幕阅读器描述了相应元素的状态。[详细了解角色和必需属性](https://dequeuniversity.com/rules/axe/4.
|
|
93
|
+
"message": "一些 ARIA 角色有必需属性,这些属性向屏幕阅读器描述了相应元素的状态。[详细了解角色和必需属性](https://dequeuniversity.com/rules/axe/4.9/aria-required-attr)。"
|
|
94
94
|
},
|
|
95
95
|
"core/audits/accessibility/aria-required-attr.js | failureTitle": {
|
|
96
96
|
"message": "`[role]` 缺少部分必需的 `[aria-*]` 属性"
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"message": "`[role]` 具备所有必需的 `[aria-*]` 属性"
|
|
100
100
|
},
|
|
101
101
|
"core/audits/accessibility/aria-required-children.js | description": {
|
|
102
|
-
"message": "一些 ARIA 父角色必须包含特定子角色,才能执行它们的预期无障碍功能。[详细了解角色和必需的子元素](https://dequeuniversity.com/rules/axe/4.
|
|
102
|
+
"message": "一些 ARIA 父角色必须包含特定子角色,才能执行它们的预期无障碍功能。[详细了解角色和必需的子元素](https://dequeuniversity.com/rules/axe/4.9/aria-required-children)。"
|
|
103
103
|
},
|
|
104
104
|
"core/audits/accessibility/aria-required-children.js | failureTitle": {
|
|
105
105
|
"message": "具有 ARIA `[role]`且要求子元素必须包含特定`[role]`的元素缺少部分或全部必需子元素。"
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"message": "具有 ARIA `[role]`且要求子元素必须包含特定`[role]`的元素包含全部必需子元素。"
|
|
109
109
|
},
|
|
110
110
|
"core/audits/accessibility/aria-required-parent.js | description": {
|
|
111
|
-
"message": "一些 ARIA 子角色必须包含在特定的父角色中,才能正确执行它们的预期无障碍功能。[详细了解 ARIA 角色和必需的父元素](https://dequeuniversity.com/rules/axe/4.
|
|
111
|
+
"message": "一些 ARIA 子角色必须包含在特定的父角色中,才能正确执行它们的预期无障碍功能。[详细了解 ARIA 角色和必需的父元素](https://dequeuniversity.com/rules/axe/4.9/aria-required-parent)。"
|
|
112
112
|
},
|
|
113
113
|
"core/audits/accessibility/aria-required-parent.js | failureTitle": {
|
|
114
114
|
"message": "`[role]` 未包含在其必需的父元素中"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"message": "`[role]` 包含在其必需的父元素中"
|
|
118
118
|
},
|
|
119
119
|
"core/audits/accessibility/aria-roles.js | description": {
|
|
120
|
-
"message": "ARIA 角色必须具备有效值,才能执行它们的预期无障碍功能。[详细了解有效的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
|
120
|
+
"message": "ARIA 角色必须具备有效值,才能执行它们的预期无障碍功能。[详细了解有效的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.9/aria-roles)。"
|
|
121
121
|
},
|
|
122
122
|
"core/audits/accessibility/aria-roles.js | failureTitle": {
|
|
123
123
|
"message": "`[role]` 值无效"
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"message": "`[role]` 值有效"
|
|
127
127
|
},
|
|
128
128
|
"core/audits/accessibility/aria-text.js | description": {
|
|
129
|
-
"message": "在一个被标记分隔的文本节点周围添加 `role=text` 后,VoiceOver 会将该文本元素视为一个短语,但不会读出它的可聚焦后代元素。[详细了解 `role=text` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
129
|
+
"message": "在一个被标记分隔的文本节点周围添加 `role=text` 后,VoiceOver 会将该文本元素视为一个短语,但不会读出它的可聚焦后代元素。[详细了解 `role=text` 属性](https://dequeuniversity.com/rules/axe/4.9/aria-text)。"
|
|
130
130
|
},
|
|
131
131
|
"core/audits/accessibility/aria-text.js | failureTitle": {
|
|
132
132
|
"message": "具有 `role=text` 属性的元素包含可聚焦后代元素。"
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"message": "具有 `role=text` 属性的元素缺少可聚焦后代元素。"
|
|
136
136
|
},
|
|
137
137
|
"core/audits/accessibility/aria-toggle-field-name.js | description": {
|
|
138
|
-
"message": "如果某个切换字段没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[详细了解切换字段](https://dequeuniversity.com/rules/axe/4.
|
|
138
|
+
"message": "如果某个切换字段没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[详细了解切换字段](https://dequeuniversity.com/rules/axe/4.9/aria-toggle-field-name)。"
|
|
139
139
|
},
|
|
140
140
|
"core/audits/accessibility/aria-toggle-field-name.js | failureTitle": {
|
|
141
141
|
"message": "ARIA 切换字段缺少可供访问的名称"
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"message": "ARIA 切换字段都有可供访问的名称"
|
|
145
145
|
},
|
|
146
146
|
"core/audits/accessibility/aria-tooltip-name.js | description": {
|
|
147
|
-
"message": "如果某个 tooltip 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何为 `tooltip` 元素命名](https://dequeuniversity.com/rules/axe/4.
|
|
147
|
+
"message": "如果某个 tooltip 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何为 `tooltip` 元素命名](https://dequeuniversity.com/rules/axe/4.9/aria-tooltip-name)。"
|
|
148
148
|
},
|
|
149
149
|
"core/audits/accessibility/aria-tooltip-name.js | failureTitle": {
|
|
150
150
|
"message": "ARIA `tooltip` 元素缺少可供访问的名称。"
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"message": "ARIA `tooltip` 元素都有可供访问的名称"
|
|
154
154
|
},
|
|
155
155
|
"core/audits/accessibility/aria-treeitem-name.js | description": {
|
|
156
|
-
"message": "如果某个 `treeitem` 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[详细了解如何为 `treeitem` 元素添加标签](https://dequeuniversity.com/rules/axe/4.
|
|
156
|
+
"message": "如果某个 `treeitem` 元素没有无障碍名称,屏幕阅读器会将它读为通用名称,这会导致依赖屏幕阅读器的用户无法使用它。[详细了解如何为 `treeitem` 元素添加标签](https://dequeuniversity.com/rules/axe/4.9/aria-treeitem-name)。"
|
|
157
157
|
},
|
|
158
158
|
"core/audits/accessibility/aria-treeitem-name.js | failureTitle": {
|
|
159
159
|
"message": "ARIA `treeitem` 元素缺少可供访问的名称。"
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"message": "ARIA `treeitem` 元素都有可供访问的名称"
|
|
163
163
|
},
|
|
164
164
|
"core/audits/accessibility/aria-valid-attr-value.js | description": {
|
|
165
|
-
"message": "辅助技术(如屏幕阅读器)无法解读值无效的 ARIA 属性。[详细了解 ARIA 属性的有效值](https://dequeuniversity.com/rules/axe/4.
|
|
165
|
+
"message": "辅助技术(如屏幕阅读器)无法解读值无效的 ARIA 属性。[详细了解 ARIA 属性的有效值](https://dequeuniversity.com/rules/axe/4.9/aria-valid-attr-value)。"
|
|
166
166
|
},
|
|
167
167
|
"core/audits/accessibility/aria-valid-attr-value.js | failureTitle": {
|
|
168
168
|
"message": "`[aria-*]` 属性缺少有效值"
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"message": "`[aria-*]` 属性具备有效值"
|
|
172
172
|
},
|
|
173
173
|
"core/audits/accessibility/aria-valid-attr.js | description": {
|
|
174
|
-
"message": "辅助技术(如屏幕阅读器)无法解读名称无效的 ARIA 属性。[详细了解有效的 ARIA 属性](https://dequeuniversity.com/rules/axe/4.
|
|
174
|
+
"message": "辅助技术(如屏幕阅读器)无法解读名称无效的 ARIA 属性。[详细了解有效的 ARIA 属性](https://dequeuniversity.com/rules/axe/4.9/aria-valid-attr)。"
|
|
175
175
|
},
|
|
176
176
|
"core/audits/accessibility/aria-valid-attr.js | failureTitle": {
|
|
177
177
|
"message": "`[aria-*]` 属性无效或拼写有误"
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"message": "未通过审核的元素"
|
|
184
184
|
},
|
|
185
185
|
"core/audits/accessibility/button-name.js | description": {
|
|
186
|
-
"message": "当某个按钮没有无障碍名称时,屏幕阅读器会将它读为“按钮”,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何让按钮更便于使用](https://dequeuniversity.com/rules/axe/4.
|
|
186
|
+
"message": "当某个按钮没有无障碍名称时,屏幕阅读器会将它读为“按钮”,这会导致依赖屏幕阅读器的用户无法使用它。[了解如何让按钮更便于使用](https://dequeuniversity.com/rules/axe/4.9/button-name)。"
|
|
187
187
|
},
|
|
188
188
|
"core/audits/accessibility/button-name.js | failureTitle": {
|
|
189
189
|
"message": "按钮缺少可供访问的名称"
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"message": "按钮有可供访问的名称"
|
|
193
193
|
},
|
|
194
194
|
"core/audits/accessibility/bypass.js | description": {
|
|
195
|
-
"message": "添加用于绕过重复内容的方式有助于键盘用户更高效地浏览页面。[详细了解如何绕过内容块](https://dequeuniversity.com/rules/axe/4.
|
|
195
|
+
"message": "添加用于绕过重复内容的方式有助于键盘用户更高效地浏览页面。[详细了解如何绕过内容块](https://dequeuniversity.com/rules/axe/4.9/bypass)。"
|
|
196
196
|
},
|
|
197
197
|
"core/audits/accessibility/bypass.js | failureTitle": {
|
|
198
198
|
"message": "该页面不含任何标题、跳过链接或地标区域"
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"message": "该页面包含一个标题、跳过链接或地标区域"
|
|
202
202
|
},
|
|
203
203
|
"core/audits/accessibility/color-contrast.js | description": {
|
|
204
|
-
"message": "对于许多用户而言,对比度低的文字都是难以阅读或无法阅读的。[了解如何提供足够高的色彩对比度](https://dequeuniversity.com/rules/axe/4.
|
|
204
|
+
"message": "对于许多用户而言,对比度低的文字都是难以阅读或无法阅读的。[了解如何提供足够高的色彩对比度](https://dequeuniversity.com/rules/axe/4.9/color-contrast)。"
|
|
205
205
|
},
|
|
206
206
|
"core/audits/accessibility/color-contrast.js | failureTitle": {
|
|
207
207
|
"message": "背景色和前景色没有足够高的对比度。"
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"message": "背景色和前景色具有足够高的对比度"
|
|
211
211
|
},
|
|
212
212
|
"core/audits/accessibility/definition-list.js | description": {
|
|
213
|
-
"message": "如果未正确标记定义列表,屏幕阅读器读出的内容可能会令人困惑或不准确。[了解如何正确构建定义列表](https://dequeuniversity.com/rules/axe/4.
|
|
213
|
+
"message": "如果未正确标记定义列表,屏幕阅读器读出的内容可能会令人困惑或不准确。[了解如何正确构建定义列表](https://dequeuniversity.com/rules/axe/4.9/definition-list)。"
|
|
214
214
|
},
|
|
215
215
|
"core/audits/accessibility/definition-list.js | failureTitle": {
|
|
216
216
|
"message": "`<dl>` 并非只包含经过适当排序的 `<dt>` 和 `<dd>` 组及 `<script>`、`<template>` 或 `<div>` 元素。"
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"message": "`<dl>` 只包含经过适当排序的 `<dt>` 和 `<dd>` 组及 `<script>`、`<template>` 或 `<div>` 元素。"
|
|
220
220
|
},
|
|
221
221
|
"core/audits/accessibility/dlitem.js | description": {
|
|
222
|
-
"message": "定义列表项(`<dt>` 和 `<dd>`)必须封装在父 `<dl>` 元素中,以确保屏幕阅读器可以正确地读出它们。[了解如何正确构建定义列表](https://dequeuniversity.com/rules/axe/4.
|
|
222
|
+
"message": "定义列表项(`<dt>` 和 `<dd>`)必须封装在父 `<dl>` 元素中,以确保屏幕阅读器可以正确地读出它们。[了解如何正确构建定义列表](https://dequeuniversity.com/rules/axe/4.9/dlitem)。"
|
|
223
223
|
},
|
|
224
224
|
"core/audits/accessibility/dlitem.js | failureTitle": {
|
|
225
225
|
"message": "定义列表项已封装在 `<dl>` 元素中"
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
"message": "定义列表项已封装在 `<dl>` 元素中"
|
|
229
229
|
},
|
|
230
230
|
"core/audits/accessibility/document-title.js | description": {
|
|
231
|
-
"message": "屏幕阅读器用户可借助标题来大致了解某个页面的内容,搜索引擎用户则非常依赖标题来确定某个页面是否与其搜索相关。[详细了解文档标题](https://dequeuniversity.com/rules/axe/4.
|
|
231
|
+
"message": "屏幕阅读器用户可借助标题来大致了解某个页面的内容,搜索引擎用户则非常依赖标题来确定某个页面是否与其搜索相关。[详细了解文档标题](https://dequeuniversity.com/rules/axe/4.9/document-title)。"
|
|
232
232
|
},
|
|
233
233
|
"core/audits/accessibility/document-title.js | failureTitle": {
|
|
234
234
|
"message": "文档不含 `<title>` 元素"
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"message": "文档包含 `<title>` 元素"
|
|
238
238
|
},
|
|
239
239
|
"core/audits/accessibility/duplicate-id-aria.js | description": {
|
|
240
|
-
"message": "ARIA ID 的值必须独一无二,才能防止其他实例被辅助技术忽略。[了解如何修正重复的 ARIA ID](https://dequeuniversity.com/rules/axe/4.
|
|
240
|
+
"message": "ARIA ID 的值必须独一无二,才能防止其他实例被辅助技术忽略。[了解如何修正重复的 ARIA ID](https://dequeuniversity.com/rules/axe/4.9/duplicate-id-aria)。"
|
|
241
241
|
},
|
|
242
242
|
"core/audits/accessibility/duplicate-id-aria.js | failureTitle": {
|
|
243
243
|
"message": "ARIA ID 不是独一无二的"
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"message": "ARIA ID 都是独一无二的"
|
|
247
247
|
},
|
|
248
248
|
"core/audits/accessibility/empty-heading.js | description": {
|
|
249
|
-
"message": "如果标题元素未包含任何内容或包含无法读取的文本,屏幕阅读器用户将难以获取网页的结构信息。[详细了解标题](https://dequeuniversity.com/rules/axe/4.
|
|
249
|
+
"message": "如果标题元素未包含任何内容或包含无法读取的文本,屏幕阅读器用户将难以获取网页的结构信息。[详细了解标题](https://dequeuniversity.com/rules/axe/4.9/empty-heading)。"
|
|
250
250
|
},
|
|
251
251
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
|
252
252
|
"message": "标题元素未包含任何内容。"
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"message": "所有标题元素均包含内容。"
|
|
256
256
|
},
|
|
257
257
|
"core/audits/accessibility/form-field-multiple-labels.js | description": {
|
|
258
|
-
"message": "有多个标签的表单字段可能会被辅助技术(如屏幕阅读器)以令人困惑的方式播报出来,因为这些辅助技术可能会使用第一个标签或最后一个标签,也可能会使用所有标签。[了解如何使用表单标签](https://dequeuniversity.com/rules/axe/4.
|
|
258
|
+
"message": "有多个标签的表单字段可能会被辅助技术(如屏幕阅读器)以令人困惑的方式播报出来,因为这些辅助技术可能会使用第一个标签或最后一个标签,也可能会使用所有标签。[了解如何使用表单标签](https://dequeuniversity.com/rules/axe/4.9/form-field-multiple-labels)。"
|
|
259
259
|
},
|
|
260
260
|
"core/audits/accessibility/form-field-multiple-labels.js | failureTitle": {
|
|
261
261
|
"message": "表单字段有多个标签"
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"message": "表单字段都没有多个标签"
|
|
265
265
|
},
|
|
266
266
|
"core/audits/accessibility/frame-title.js | description": {
|
|
267
|
-
"message": "屏幕阅读器用户依靠框架标题来描述框架的内容。[详细了解框架标题](https://dequeuniversity.com/rules/axe/4.
|
|
267
|
+
"message": "屏幕阅读器用户依靠框架标题来描述框架的内容。[详细了解框架标题](https://dequeuniversity.com/rules/axe/4.9/frame-title)。"
|
|
268
268
|
},
|
|
269
269
|
"core/audits/accessibility/frame-title.js | failureTitle": {
|
|
270
270
|
"message": "`<frame>` 或 `<iframe>` 元素缺少标题"
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"message": "`<frame>` 或 `<iframe>` 元素有标题"
|
|
274
274
|
},
|
|
275
275
|
"core/audits/accessibility/heading-order.js | description": {
|
|
276
|
-
"message": "未跳过任何等级且排序正确的标题会准确传达页面的语义结构,从而使得相应页面在使用辅助技术时更易于浏览和理解。[详细了解标题顺序](https://dequeuniversity.com/rules/axe/4.
|
|
276
|
+
"message": "未跳过任何等级且排序正确的标题会准确传达页面的语义结构,从而使得相应页面在使用辅助技术时更易于浏览和理解。[详细了解标题顺序](https://dequeuniversity.com/rules/axe/4.9/heading-order)。"
|
|
277
277
|
},
|
|
278
278
|
"core/audits/accessibility/heading-order.js | failureTitle": {
|
|
279
279
|
"message": "标题元素未按降序显示"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
"message": "标题元素按降序显示"
|
|
283
283
|
},
|
|
284
284
|
"core/audits/accessibility/html-has-lang.js | description": {
|
|
285
|
-
"message": "如果页面未指定 `lang` 属性,屏幕阅读器便会假定该页面采用的是用户在设置屏幕阅读器时选择的默认语言。如果该页面实际上并未采用默认语言,屏幕阅读器可能无法正确读出该页面中的文字。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
285
|
+
"message": "如果页面未指定 `lang` 属性,屏幕阅读器便会假定该页面采用的是用户在设置屏幕阅读器时选择的默认语言。如果该页面实际上并未采用默认语言,屏幕阅读器可能无法正确读出该页面中的文字。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.9/html-has-lang)。"
|
|
286
286
|
},
|
|
287
287
|
"core/audits/accessibility/html-has-lang.js | failureTitle": {
|
|
288
288
|
"message": "`<html>` 元素缺少 `[lang]` 属性"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"message": "`<html>` 元素包含 `[lang]` 属性"
|
|
292
292
|
},
|
|
293
293
|
"core/audits/accessibility/html-lang-valid.js | description": {
|
|
294
|
-
"message": "指定有效的 [BCP 47 语言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)有助于屏幕阅读器正确读出文字。[了解如何使用 `lang` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
294
|
+
"message": "指定有效的 [BCP 47 语言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)有助于屏幕阅读器正确读出文字。[了解如何使用 `lang` 属性](https://dequeuniversity.com/rules/axe/4.9/html-lang-valid)。"
|
|
295
295
|
},
|
|
296
296
|
"core/audits/accessibility/html-lang-valid.js | failureTitle": {
|
|
297
297
|
"message": "`<html>` 元素的 `[lang]` 属性缺少有效值。"
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"message": "`<html>` 元素的 `[lang]` 属性具备有效值"
|
|
301
301
|
},
|
|
302
302
|
"core/audits/accessibility/html-xml-lang-mismatch.js | description": {
|
|
303
|
-
"message": "如果网页未指定一致的语言,屏幕阅读器可能无法正确读出相应网页上的文本。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
303
|
+
"message": "如果网页未指定一致的语言,屏幕阅读器可能无法正确读出相应网页上的文本。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.9/html-xml-lang-mismatch)。"
|
|
304
304
|
},
|
|
305
305
|
"core/audits/accessibility/html-xml-lang-mismatch.js | failureTitle": {
|
|
306
306
|
"message": "`<html>` 元素的 `[xml:lang]` 属性与 `[lang]` 属性使用了不同的基本语言。"
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
"message": "`<html>` 元素的 `[xml:lang]` 属性与 `[lang]` 属性使用了相同的基本语言。"
|
|
310
310
|
},
|
|
311
311
|
"core/audits/accessibility/identical-links-same-purpose.js | description": {
|
|
312
|
-
"message": "指向相同目标位置的链接应具有相同的说明,这有助于用户了解链接的用途并决定是否要访问它。[详细了解相同链接](https://dequeuniversity.com/rules/axe/4.
|
|
312
|
+
"message": "指向相同目标位置的链接应具有相同的说明,这有助于用户了解链接的用途并决定是否要访问它。[详细了解相同链接](https://dequeuniversity.com/rules/axe/4.9/identical-links-same-purpose)。"
|
|
313
313
|
},
|
|
314
314
|
"core/audits/accessibility/identical-links-same-purpose.js | failureTitle": {
|
|
315
315
|
"message": "相同链接的用途不一致。"
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"message": "相同链接的用途一致。"
|
|
319
319
|
},
|
|
320
320
|
"core/audits/accessibility/image-alt.js | description": {
|
|
321
|
-
"message": "说明性元素应力求使用简短的描述性替代文字。未指定 alt 属性的装饰性元素可被忽略。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
321
|
+
"message": "说明性元素应力求使用简短的描述性替代文字。未指定 alt 属性的装饰性元素可被忽略。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.9/image-alt)。"
|
|
322
322
|
},
|
|
323
323
|
"core/audits/accessibility/image-alt.js | failureTitle": {
|
|
324
324
|
"message": "图片元素缺少 `[alt]` 属性"
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"message": "图片元素具备 `[alt]` 属性"
|
|
328
328
|
},
|
|
329
329
|
"core/audits/accessibility/image-redundant-alt.js | description": {
|
|
330
|
-
"message": "说明性元素应力求使用简短的描述性替代文本。如果替代文本与链接或图片旁边的文本完全相同,可能会让屏幕阅读器用户感到困惑,因为他们会听到两次同样的内容。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
330
|
+
"message": "说明性元素应力求使用简短的描述性替代文本。如果替代文本与链接或图片旁边的文本完全相同,可能会让屏幕阅读器用户感到困惑,因为他们会听到两次同样的内容。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.9/image-redundant-alt)。"
|
|
331
331
|
},
|
|
332
332
|
"core/audits/accessibility/image-redundant-alt.js | failureTitle": {
|
|
333
333
|
"message": "图片元素具有属于多余文本的 `[alt]` 属性。"
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"message": "图片元素没有属于多余文本的 `[alt]` 属性。"
|
|
337
337
|
},
|
|
338
338
|
"core/audits/accessibility/input-button-name.js | description": {
|
|
339
|
-
"message": "向输入按钮添加可识别的无障碍文本可帮助屏幕阅读器用户了解输入按钮的用途。[详细了解输入按钮](https://dequeuniversity.com/rules/axe/4.
|
|
339
|
+
"message": "向输入按钮添加可识别的无障碍文本可帮助屏幕阅读器用户了解输入按钮的用途。[详细了解输入按钮](https://dequeuniversity.com/rules/axe/4.9/input-button-name)。"
|
|
340
340
|
},
|
|
341
341
|
"core/audits/accessibility/input-button-name.js | failureTitle": {
|
|
342
342
|
"message": "输入按钮没有可识别的文本。"
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"message": "输入按钮具有可识别的文本。"
|
|
346
346
|
},
|
|
347
347
|
"core/audits/accessibility/input-image-alt.js | description": {
|
|
348
|
-
"message": "将图片用作 `<input>` 按钮时,提供替代文字有助于屏幕阅读器用户了解该按钮的用途。[了解输入图片替代文字](https://dequeuniversity.com/rules/axe/4.
|
|
348
|
+
"message": "将图片用作 `<input>` 按钮时,提供替代文字有助于屏幕阅读器用户了解该按钮的用途。[了解输入图片替代文字](https://dequeuniversity.com/rules/axe/4.9/input-image-alt)。"
|
|
349
349
|
},
|
|
350
350
|
"core/audits/accessibility/input-image-alt.js | failureTitle": {
|
|
351
351
|
"message": "`<input type=\"image\">` 元素无对应的 `[alt]` 文字"
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"message": "`<input type=\"image\">` 元素有对应的 `[alt]` 文字"
|
|
355
355
|
},
|
|
356
356
|
"core/audits/accessibility/label-content-name-mismatch.js | description": {
|
|
357
|
-
"message": "如果可见文本标签与无障碍名称不匹配,可能会让屏幕阅读器用户感到困惑。[详细了解无障碍名称](https://dequeuniversity.com/rules/axe/4.
|
|
357
|
+
"message": "如果可见文本标签与无障碍名称不匹配,可能会让屏幕阅读器用户感到困惑。[详细了解无障碍名称](https://dequeuniversity.com/rules/axe/4.9/label-content-name-mismatch)。"
|
|
358
358
|
},
|
|
359
359
|
"core/audits/accessibility/label-content-name-mismatch.js | failureTitle": {
|
|
360
360
|
"message": "带有可见文本标签的元素没有匹配的无障碍名称。"
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
"message": "带有可见文本标签的元素具有匹配的无障碍名称。"
|
|
364
364
|
},
|
|
365
365
|
"core/audits/accessibility/label.js | description": {
|
|
366
|
-
"message": "标签可确保辅助技术(如屏幕阅读器)正确读出表单控件。[详细了解表单元素标签](https://dequeuniversity.com/rules/axe/4.
|
|
366
|
+
"message": "标签可确保辅助技术(如屏幕阅读器)正确读出表单控件。[详细了解表单元素标签](https://dequeuniversity.com/rules/axe/4.9/label)。"
|
|
367
367
|
},
|
|
368
368
|
"core/audits/accessibility/label.js | failureTitle": {
|
|
369
369
|
"message": "表单元素不具备关联的标签"
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"message": "表单元素具有关联的标签"
|
|
373
373
|
},
|
|
374
374
|
"core/audits/accessibility/landmark-one-main.js | description": {
|
|
375
|
-
"message": "主要位置标记有助于屏幕阅读器用户浏览网页。[详细了解位置标记](https://dequeuniversity.com/rules/axe/4.
|
|
375
|
+
"message": "主要位置标记有助于屏幕阅读器用户浏览网页。[详细了解位置标记](https://dequeuniversity.com/rules/axe/4.9/landmark-one-main)。"
|
|
376
376
|
},
|
|
377
377
|
"core/audits/accessibility/landmark-one-main.js | failureTitle": {
|
|
378
378
|
"message": "文档缺少主要位置标记。"
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
"message": "文档有一个主要位置标记。"
|
|
382
382
|
},
|
|
383
383
|
"core/audits/accessibility/link-in-text-block.js | description": {
|
|
384
|
-
"message": "对许多用户而言,对比度低的文本都是难以阅读或无法阅读的。清晰可辨的链接文本可改善低视力用户的体验。[了解如何让链接容易辨识](https://dequeuniversity.com/rules/axe/4.
|
|
384
|
+
"message": "对许多用户而言,对比度低的文本都是难以阅读或无法阅读的。清晰可辨的链接文本可改善低视力用户的体验。[了解如何让链接容易辨识](https://dequeuniversity.com/rules/axe/4.9/link-in-text-block)。"
|
|
385
385
|
},
|
|
386
386
|
"core/audits/accessibility/link-in-text-block.js | failureTitle": {
|
|
387
387
|
"message": "必须依赖颜色才能辨识链接。"
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"message": "无需依赖颜色即可辨识链接。"
|
|
391
391
|
},
|
|
392
392
|
"core/audits/accessibility/link-name.js | description": {
|
|
393
|
-
"message": "请确保链接文字(以及用作链接的图片替代文字)可识别、独一无二且可聚焦,这样做会提升屏幕阅读器用户的导航体验。[了解如何使链接可供访问](https://dequeuniversity.com/rules/axe/4.
|
|
393
|
+
"message": "请确保链接文字(以及用作链接的图片替代文字)可识别、独一无二且可聚焦,这样做会提升屏幕阅读器用户的导航体验。[了解如何使链接可供访问](https://dequeuniversity.com/rules/axe/4.9/link-name)。"
|
|
394
394
|
},
|
|
395
395
|
"core/audits/accessibility/link-name.js | failureTitle": {
|
|
396
396
|
"message": "链接缺少可识别的名称"
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
"message": "链接具备可识别的名称"
|
|
400
400
|
},
|
|
401
401
|
"core/audits/accessibility/list.js | description": {
|
|
402
|
-
"message": "屏幕阅读器会采用特定的方法来读出列表内容。确保列表结构正确有助于屏幕阅读器顺利读出相应内容。[详细了解适当的列表结构](https://dequeuniversity.com/rules/axe/4.
|
|
402
|
+
"message": "屏幕阅读器会采用特定的方法来读出列表内容。确保列表结构正确有助于屏幕阅读器顺利读出相应内容。[详细了解适当的列表结构](https://dequeuniversity.com/rules/axe/4.9/list)。"
|
|
403
403
|
},
|
|
404
404
|
"core/audits/accessibility/list.js | failureTitle": {
|
|
405
405
|
"message": "列表并非只包含 `<li>` 元素和脚本支持元素(`<script>` 和 `<template>`)。"
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"message": "列表只包含 `<li>` 元素和脚本支持元素(`<script>` 和 `<template>`)。"
|
|
409
409
|
},
|
|
410
410
|
"core/audits/accessibility/listitem.js | description": {
|
|
411
|
-
"message": "屏幕阅读器要求列表项 (`<li>`) 必须包含在父 `<ul>`、`<ol>` 或 `<menu>` 中,这样才能正确读出它们。[详细了解适当的列表结构](https://dequeuniversity.com/rules/axe/4.
|
|
411
|
+
"message": "屏幕阅读器要求列表项 (`<li>`) 必须包含在父 `<ul>`、`<ol>` 或 `<menu>` 中,这样才能正确读出它们。[详细了解适当的列表结构](https://dequeuniversity.com/rules/axe/4.9/listitem)。"
|
|
412
412
|
},
|
|
413
413
|
"core/audits/accessibility/listitem.js | failureTitle": {
|
|
414
414
|
"message": "列表项 (`<li>`) 未包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中。"
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
"message": "列表项 (`<li>`) 包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中"
|
|
418
418
|
},
|
|
419
419
|
"core/audits/accessibility/meta-refresh.js | description": {
|
|
420
|
-
"message": "用户并不希望网页自动刷新,因为自动刷新会不断地将焦点移回到页面顶部。这可能会让用户感到沮丧或困惑。[详细了解刷新元标记](https://dequeuniversity.com/rules/axe/4.
|
|
420
|
+
"message": "用户并不希望网页自动刷新,因为自动刷新会不断地将焦点移回到页面顶部。这可能会让用户感到沮丧或困惑。[详细了解刷新元标记](https://dequeuniversity.com/rules/axe/4.9/meta-refresh)。"
|
|
421
421
|
},
|
|
422
422
|
"core/audits/accessibility/meta-refresh.js | failureTitle": {
|
|
423
423
|
"message": "文档使用了 `<meta http-equiv=\"refresh\">`"
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"message": "文档未使用 `<meta http-equiv=\"refresh\">`"
|
|
427
427
|
},
|
|
428
428
|
"core/audits/accessibility/meta-viewport.js | description": {
|
|
429
|
-
"message": "对于必须依靠放大屏幕才能清晰看到网页内容的低视力用户而言,停用缩放功能会给他们带来问题。[详细了解视口元标记](https://dequeuniversity.com/rules/axe/4.
|
|
429
|
+
"message": "对于必须依靠放大屏幕才能清晰看到网页内容的低视力用户而言,停用缩放功能会给他们带来问题。[详细了解视口元标记](https://dequeuniversity.com/rules/axe/4.9/meta-viewport)。"
|
|
430
430
|
},
|
|
431
431
|
"core/audits/accessibility/meta-viewport.js | failureTitle": {
|
|
432
432
|
"message": "`<meta name=\"viewport\">` 元素中使用了 `[user-scalable=\"no\"]`,或者 `[maximum-scale]` 属性小于 5。"
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
"message": "`[user-scalable=\"no\"]` 未用在 `<meta name=\"viewport\">` 元素中,并且 `[maximum-scale]` 属性不小于 5。"
|
|
436
436
|
},
|
|
437
437
|
"core/audits/accessibility/object-alt.js | description": {
|
|
438
|
-
"message": "屏幕阅读器无法转换非文字内容。通过向 `<object>` 元素添加替代文字,可帮助屏幕阅读器将含义传达给用户。[详细了解 `object` 元素的替代文字](https://dequeuniversity.com/rules/axe/4.
|
|
438
|
+
"message": "屏幕阅读器无法转换非文字内容。通过向 `<object>` 元素添加替代文字,可帮助屏幕阅读器将含义传达给用户。[详细了解 `object` 元素的替代文字](https://dequeuniversity.com/rules/axe/4.9/object-alt)。"
|
|
439
439
|
},
|
|
440
440
|
"core/audits/accessibility/object-alt.js | failureTitle": {
|
|
441
441
|
"message": "`<object>` 元素无对应的替代文字"
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
"message": "`<object>` 元素有对应的替代文字"
|
|
445
445
|
},
|
|
446
446
|
"core/audits/accessibility/select-name.js | description": {
|
|
447
|
-
"message": "如果表单元素缺少有效标签,可能会给屏幕阅读器用户带来糟糕的体验。[详细了解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
|
447
|
+
"message": "如果表单元素缺少有效标签,可能会给屏幕阅读器用户带来糟糕的体验。[详细了解 `select` 元素](https://dequeuniversity.com/rules/axe/4.9/select-name)。"
|
|
448
448
|
},
|
|
449
449
|
"core/audits/accessibility/select-name.js | failureTitle": {
|
|
450
450
|
"message": "select 元素缺少关联的标签元素。"
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
"message": "select 元素具有关联的标签元素。"
|
|
454
454
|
},
|
|
455
455
|
"core/audits/accessibility/skip-link.js | description": {
|
|
456
|
-
"message": "添加跳转链接可帮助用户跳至主要内容以节省时间。[详细了解跳转链接](https://dequeuniversity.com/rules/axe/4.
|
|
456
|
+
"message": "添加跳转链接可帮助用户跳至主要内容以节省时间。[详细了解跳转链接](https://dequeuniversity.com/rules/axe/4.9/skip-link)。"
|
|
457
457
|
},
|
|
458
458
|
"core/audits/accessibility/skip-link.js | failureTitle": {
|
|
459
459
|
"message": "跳转链接无法聚焦。"
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
"message": "跳转链接可聚焦。"
|
|
463
463
|
},
|
|
464
464
|
"core/audits/accessibility/tabindex.js | description": {
|
|
465
|
-
"message": "值大于 0 意味着明确的导航顺序。尽管这在技术上可行,但往往会让依赖辅助技术的用户感到沮丧。[详细了解 `tabindex` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
465
|
+
"message": "值大于 0 意味着明确的导航顺序。尽管这在技术上可行,但往往会让依赖辅助技术的用户感到沮丧。[详细了解 `tabindex` 属性](https://dequeuniversity.com/rules/axe/4.9/tabindex)。"
|
|
466
466
|
},
|
|
467
467
|
"core/audits/accessibility/tabindex.js | failureTitle": {
|
|
468
468
|
"message": "一些元素的 `[tabindex]` 值大于 0"
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
"message": "所有元素的 `[tabindex]` 值都不大于 0"
|
|
472
472
|
},
|
|
473
473
|
"core/audits/accessibility/table-duplicate-name.js | description": {
|
|
474
|
-
"message": "summary 属性应描述表格结构,而 `<caption>` 应含有屏幕上显示的标题。准确的表格标记对屏幕阅读器用户有帮助。[详细了解 summary 和 caption](https://dequeuniversity.com/rules/axe/4.
|
|
474
|
+
"message": "summary 属性应描述表格结构,而 `<caption>` 应含有屏幕上显示的标题。准确的表格标记对屏幕阅读器用户有帮助。[详细了解 summary 和 caption](https://dequeuniversity.com/rules/axe/4.9/table-duplicate-name)。"
|
|
475
475
|
},
|
|
476
476
|
"core/audits/accessibility/table-duplicate-name.js | failureTitle": {
|
|
477
477
|
"message": "表格的 summary 属性和 `<caption>.` 具有相同的内容"
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
"message": "相关表格的 summary 属性和 `<caption>` 具有不同的内容。"
|
|
481
481
|
},
|
|
482
482
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
|
483
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[colspan]` 属性的单元格),这可以提升屏幕阅读器用户的体验。[详细了解表格标题](https://dequeuniversity.com/rules/axe/4.
|
|
483
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[colspan]` 属性的单元格),这可以提升屏幕阅读器用户的体验。[详细了解表格标题](https://dequeuniversity.com/rules/axe/4.9/table-fake-caption)。"
|
|
484
484
|
},
|
|
485
485
|
"core/audits/accessibility/table-fake-caption.js | failureTitle": {
|
|
486
486
|
"message": "表格未使用 `<caption>`(而是使用了带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
"message": "表格使用了 `<caption>`(而非带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
|
490
490
|
},
|
|
491
491
|
"core/audits/accessibility/target-size.js | description": {
|
|
492
|
-
"message": "如果触摸目标的尺寸和间距足够大,就能帮助难以精准触按小控件的用户激活相应目标。[详细了解触摸目标](https://dequeuniversity.com/rules/axe/4.
|
|
492
|
+
"message": "如果触摸目标的尺寸和间距足够大,就能帮助难以精准触按小控件的用户激活相应目标。[详细了解触摸目标](https://dequeuniversity.com/rules/axe/4.9/target-size)。"
|
|
493
493
|
},
|
|
494
494
|
"core/audits/accessibility/target-size.js | failureTitle": {
|
|
495
495
|
"message": "触摸目标的尺寸或间距不足。"
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"message": "触摸目标的尺寸和间距足够大。"
|
|
499
499
|
},
|
|
500
500
|
"core/audits/accessibility/td-has-header.js | description": {
|
|
501
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保大型表格(宽度和高度至少为 3 个单元格)中的 `<td>` 元素具有关联的表格标头,这可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.
|
|
501
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保大型表格(宽度和高度至少为 3 个单元格)中的 `<td>` 元素具有关联的表格标头,这可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.9/td-has-header)。"
|
|
502
502
|
},
|
|
503
503
|
"core/audits/accessibility/td-has-header.js | failureTitle": {
|
|
504
504
|
"message": "大型 `<table>` 中的 `<td>` 元素没有表格标头。"
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
"message": "大型 `<table>` 中的 `<td>` 元素具有一个或多个表格标头。"
|
|
508
508
|
},
|
|
509
509
|
"core/audits/accessibility/td-headers-attr.js | description": {
|
|
510
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请确保那些使用 `[headers]` 属性的 `<td>` 单元格仅引用同一个表格中的其他单元格,这样做可提升屏幕阅读器用户的体验。[详细了解 `headers` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
510
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请确保那些使用 `[headers]` 属性的 `<td>` 单元格仅引用同一个表格中的其他单元格,这样做可提升屏幕阅读器用户的体验。[详细了解 `headers` 属性](https://dequeuniversity.com/rules/axe/4.9/td-headers-attr)。"
|
|
511
511
|
},
|
|
512
512
|
"core/audits/accessibility/td-headers-attr.js | failureTitle": {
|
|
513
513
|
"message": "`<table>` 元素中使用 `[headers]` 属性的单元格引用了在同一表格中找不到的元素 `id`。"
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
"message": "`<table>` 元素中使用 `[headers]` 属性的单元格引用的是同一表格中的单元格。"
|
|
517
517
|
},
|
|
518
518
|
"core/audits/accessibility/th-has-data-cells.js | description": {
|
|
519
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。确保表格标头始终引用特定一组单元格可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.
|
|
519
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。确保表格标头始终引用特定一组单元格可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.9/th-has-data-cells)。"
|
|
520
520
|
},
|
|
521
521
|
"core/audits/accessibility/th-has-data-cells.js | failureTitle": {
|
|
522
522
|
"message": "`<th>` 元素和 `[role=\"columnheader\"/\"rowheader\"]` 的元素缺少它们所描述的数据单元格。"
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"message": "`<th>` 元素和 `[role=\"columnheader\"/\"rowheader\"]` 的元素具备它们所描述的数据单元格。"
|
|
526
526
|
},
|
|
527
527
|
"core/audits/accessibility/valid-lang.js | description": {
|
|
528
|
-
"message": "为元素指定有效的 [BCP 47 语言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)有助于确保屏幕阅读器正确读出文字。[了解如何使用 `lang` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
528
|
+
"message": "为元素指定有效的 [BCP 47 语言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)有助于确保屏幕阅读器正确读出文字。[了解如何使用 `lang` 属性](https://dequeuniversity.com/rules/axe/4.9/valid-lang)。"
|
|
529
529
|
},
|
|
530
530
|
"core/audits/accessibility/valid-lang.js | failureTitle": {
|
|
531
531
|
"message": "`[lang]` 属性缺少有效值"
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
"message": "`[lang]` 属性的值有效"
|
|
535
535
|
},
|
|
536
536
|
"core/audits/accessibility/video-caption.js | description": {
|
|
537
|
-
"message": "如果视频提供了字幕,失聪用户和听障用户便能更轻松地获取此视频中的信息。[详细了解视频字幕](https://dequeuniversity.com/rules/axe/4.
|
|
537
|
+
"message": "如果视频提供了字幕,失聪用户和听障用户便能更轻松地获取此视频中的信息。[详细了解视频字幕](https://dequeuniversity.com/rules/axe/4.9/video-caption)。"
|
|
538
538
|
},
|
|
539
539
|
"core/audits/accessibility/video-caption.js | failureTitle": {
|
|
540
540
|
"message": "`<video>` 元素缺少带 `[kind=\"captions\"]` 的 `<track>` 元素。"
|
|
@@ -1160,15 +1160,6 @@
|
|
|
1160
1160
|
"core/audits/non-composited-animations.js | unsupportedTimingParameters": {
|
|
1161
1161
|
"message": "效果含有不受支持的时间参数"
|
|
1162
1162
|
},
|
|
1163
|
-
"core/audits/performance-budget.js | description": {
|
|
1164
|
-
"message": "请将网络请求的数量和数据大小保持在提供的性能预算所设定的目标之内。[详细了解性能预算](https://developers.google.com/web/tools/lighthouse/audits/budgets)。"
|
|
1165
|
-
},
|
|
1166
|
-
"core/audits/performance-budget.js | requestCountOverBudget": {
|
|
1167
|
-
"message": "{count,plural, =1{1 条请求}other{# 条请求}}"
|
|
1168
|
-
},
|
|
1169
|
-
"core/audits/performance-budget.js | title": {
|
|
1170
|
-
"message": "性能预算"
|
|
1171
|
-
},
|
|
1172
1163
|
"core/audits/preload-fonts.js | description": {
|
|
1173
1164
|
"message": "请预加载 `optional` 字体以方便初访者使用。[详细了解如何预加载字体](https://web.dev/articles/preload-optional-fonts)"
|
|
1174
1165
|
},
|
|
@@ -1403,18 +1394,6 @@
|
|
|
1403
1394
|
"core/audits/third-party-summary.js | title": {
|
|
1404
1395
|
"message": "尽量减少第三方使用"
|
|
1405
1396
|
},
|
|
1406
|
-
"core/audits/timing-budget.js | columnMeasurement": {
|
|
1407
|
-
"message": "实测值"
|
|
1408
|
-
},
|
|
1409
|
-
"core/audits/timing-budget.js | columnTimingMetric": {
|
|
1410
|
-
"message": "指标"
|
|
1411
|
-
},
|
|
1412
|
-
"core/audits/timing-budget.js | description": {
|
|
1413
|
-
"message": "设置时间预算有助于您密切关注网站性能。性能出色的网站不仅加载迅速,还能快速响应用户输入事件。[详细了解性能预算](https://developers.google.com/web/tools/lighthouse/audits/budgets)。"
|
|
1414
|
-
},
|
|
1415
|
-
"core/audits/timing-budget.js | title": {
|
|
1416
|
-
"message": "时间预算"
|
|
1417
|
-
},
|
|
1418
1397
|
"core/audits/unsized-images.js | description": {
|
|
1419
1398
|
"message": "请为图片元素设置明确的宽度值和高度值,以减少布局偏移并改善 CLS。[了解如何设置图片尺寸](https://web.dev/articles/optimize-cls#images_without_dimensions)"
|
|
1420
1399
|
},
|
|
@@ -1509,7 +1488,7 @@
|
|
|
1509
1488
|
"message": "展示延迟时间"
|
|
1510
1489
|
},
|
|
1511
1490
|
"core/audits/work-during-interaction.js | processingDuration": {
|
|
1512
|
-
"message": "
|
|
1491
|
+
"message": "处理用时"
|
|
1513
1492
|
},
|
|
1514
1493
|
"core/audits/work-during-interaction.js | title": {
|
|
1515
1494
|
"message": "尽量减少关键互动期间的工作量"
|
|
@@ -1586,12 +1565,6 @@
|
|
|
1586
1565
|
"core/config/default-config.js | bestPracticesUXGroupTitle": {
|
|
1587
1566
|
"message": "用户体验"
|
|
1588
1567
|
},
|
|
1589
|
-
"core/config/default-config.js | budgetsGroupDescription": {
|
|
1590
|
-
"message": "性能预算为您的网站的性能设置了标准。"
|
|
1591
|
-
},
|
|
1592
|
-
"core/config/default-config.js | budgetsGroupTitle": {
|
|
1593
|
-
"message": "预算"
|
|
1594
|
-
},
|
|
1595
1568
|
"core/config/default-config.js | diagnosticsGroupDescription": {
|
|
1596
1569
|
"message": "详细了解您的应用的性能。这些数字不会[直接影响](https://developer.chrome.com/docs/lighthouse/performance/performance-scoring/)性能得分。"
|
|
1597
1570
|
},
|
|
@@ -2285,9 +2258,6 @@
|
|
|
2285
2258
|
"core/lib/i18n/i18n.js | columnName": {
|
|
2286
2259
|
"message": "名称"
|
|
2287
2260
|
},
|
|
2288
|
-
"core/lib/i18n/i18n.js | columnOverBudget": {
|
|
2289
|
-
"message": "超出预算"
|
|
2290
|
-
},
|
|
2291
2261
|
"core/lib/i18n/i18n.js | columnRequests": {
|
|
2292
2262
|
"message": "请求"
|
|
2293
2263
|
},
|