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": "如果 heading 缺少內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資訊。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.
|
|
249
|
+
"message": "如果 heading 缺少內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資訊。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.9/empty-heading)。"
|
|
250
250
|
},
|
|
251
251
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
|
252
252
|
"message": "Heading 元素不含任何內容。"
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"message": "所有 heading 元素都含有內容。"
|
|
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": "`<meta name=\"viewport\">` 元素中未使用 `[user-scalable=\"no\"]`,而且 `[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": "如果 Form 元素沒有有效的標籤,螢幕閱讀器使用者可能會感到困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
|
447
|
+
"message": "如果 Form 元素沒有有效的標籤,螢幕閱讀器使用者可能會感到困擾。[進一步瞭解 `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 元素沒有相關聯的 label 元素。"
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
"message": "Select 元素具有相關聯的 label 元素。"
|
|
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": "摘要屬性應說明表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.
|
|
474
|
+
"message": "摘要屬性應說明表格結構,而「`<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": "表格內容與摘要屬性和「`<caption>.`」相同"
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
"message": "表格內容與摘要屬性和「`<caption>`」不同"
|
|
481
481
|
},
|
|
482
482
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
|
483
|
-
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.
|
|
483
|
+
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[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": "表格使用含有 `[colspan]` 屬性的儲存格表示標題,而非使用 `<caption>` 屬性。"
|
|
@@ -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
|
},
|
|
@@ -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
|
},
|