lighthouse 11.2.0 → 11.3.0
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/cli-flags.d.ts +5 -1
- package/cli/cli-flags.js +5 -1
- package/cli/test/smokehouse/__snapshots__/report-assert-test.js.snap +2 -2
- package/cli/test/smokehouse/frontends/smokehouse-bin.js +18 -7
- package/cli/test/smokehouse/lighthouse-runners/bundle.d.ts +2 -4
- package/cli/test/smokehouse/lighthouse-runners/bundle.js +8 -4
- package/cli/test/smokehouse/lighthouse-runners/cli.d.ts +2 -4
- package/cli/test/smokehouse/lighthouse-runners/cli.js +5 -3
- package/cli/test/smokehouse/lighthouse-runners/devtools.d.ts +2 -1
- package/cli/test/smokehouse/lighthouse-runners/devtools.js +3 -1
- package/cli/test/smokehouse/smokehouse.d.ts +4 -2
- package/cli/test/smokehouse/smokehouse.js +10 -7
- package/core/audits/byte-efficiency/legacy-javascript.js +2 -2
- package/core/audits/image-size-responsive.js +1 -1
- package/core/audits/layout-shift-elements.js +1 -1
- package/core/audits/lcp-lazy-loaded.js +2 -2
- package/core/audits/long-tasks.js +1 -1
- package/core/audits/metrics/cumulative-layout-shift.js +2 -2
- package/core/audits/metrics/interaction-to-next-paint.js +2 -2
- package/core/audits/metrics/largest-contentful-paint.js +1 -1
- package/core/audits/no-unload-listeners.js +1 -1
- package/core/audits/preload-fonts.js +1 -1
- package/core/audits/prioritize-lcp-image.js +1 -1
- package/core/audits/unsized-images.js +1 -1
- package/core/audits/work-during-interaction.js +1 -1
- package/core/config/config.d.ts +1 -2
- package/core/config/config.js +18 -62
- package/core/config/constants.d.ts +1 -3
- package/core/config/constants.js +4 -18
- package/core/config/default-config.js +8 -8
- package/core/config/filters.d.ts +0 -8
- package/core/config/filters.js +0 -28
- package/core/config/validation.d.ts +4 -15
- package/core/config/validation.js +18 -63
- package/core/gather/base-artifacts.d.ts +2 -2
- package/core/gather/base-artifacts.js +5 -5
- package/core/gather/driver/navigation.d.ts +1 -1
- package/core/gather/driver/navigation.js +1 -1
- package/core/gather/driver/prepare.d.ts +3 -18
- package/core/gather/driver/prepare.js +21 -43
- package/core/gather/driver/storage.d.ts +2 -1
- package/core/gather/driver/storage.js +3 -12
- package/core/gather/gatherers/inspector-issues.js +1 -0
- package/core/gather/navigation-runner.d.ts +3 -31
- package/core/gather/navigation-runner.js +46 -113
- package/core/lib/navigation-error.d.ts +8 -3
- package/core/lib/navigation-error.js +19 -11
- package/dist/report/bundle.esm.js +4 -4
- package/dist/report/flow.js +7 -7
- package/dist/report/standalone.js +5 -5
- package/package.json +8 -8
- package/report/renderer/performance-category-renderer.js +2 -1
- package/shared/localization/locales/ar-XB.json +78 -75
- package/shared/localization/locales/ar.json +78 -75
- package/shared/localization/locales/bg.json +78 -75
- package/shared/localization/locales/ca.json +78 -75
- package/shared/localization/locales/cs.json +78 -75
- package/shared/localization/locales/da.json +78 -75
- package/shared/localization/locales/de.json +81 -78
- package/shared/localization/locales/el.json +84 -81
- package/shared/localization/locales/en-GB.json +78 -75
- package/shared/localization/locales/en-US.json +26 -23
- package/shared/localization/locales/en-XA.json +78 -75
- package/shared/localization/locales/en-XL.json +26 -23
- package/shared/localization/locales/es-419.json +78 -75
- package/shared/localization/locales/es.json +78 -75
- package/shared/localization/locales/fi.json +79 -76
- package/shared/localization/locales/fil.json +78 -75
- package/shared/localization/locales/fr.json +78 -75
- package/shared/localization/locales/he.json +78 -75
- package/shared/localization/locales/hi.json +78 -75
- package/shared/localization/locales/hr.json +78 -75
- package/shared/localization/locales/hu.json +78 -75
- package/shared/localization/locales/id.json +78 -75
- package/shared/localization/locales/it.json +79 -76
- package/shared/localization/locales/ja.json +78 -75
- package/shared/localization/locales/ko.json +78 -75
- package/shared/localization/locales/lt.json +78 -75
- package/shared/localization/locales/lv.json +78 -75
- package/shared/localization/locales/nl.json +78 -75
- package/shared/localization/locales/no.json +78 -75
- package/shared/localization/locales/pl.json +78 -75
- package/shared/localization/locales/pt-PT.json +78 -75
- package/shared/localization/locales/pt.json +79 -76
- package/shared/localization/locales/ro.json +78 -75
- package/shared/localization/locales/ru.json +78 -75
- package/shared/localization/locales/sk.json +78 -75
- package/shared/localization/locales/sl.json +78 -75
- package/shared/localization/locales/sr-Latn.json +78 -75
- package/shared/localization/locales/sr.json +78 -75
- package/shared/localization/locales/sv.json +78 -75
- package/shared/localization/locales/ta.json +78 -75
- package/shared/localization/locales/te.json +78 -75
- package/shared/localization/locales/th.json +78 -75
- package/shared/localization/locales/tr.json +78 -75
- package/shared/localization/locales/uk.json +78 -75
- package/shared/localization/locales/vi.json +78 -75
- package/shared/localization/locales/zh-HK.json +78 -75
- package/shared/localization/locales/zh-TW.json +79 -76
- package/shared/localization/locales/zh.json +78 -75
- package/third-party/chromium-synchronization/inspector-issueAdded-types-test.js +1 -0
- package/types/artifacts.d.ts +1 -0
- package/types/config.d.ts +0 -38
- package/types/internal/rxjs.d.ts +4 -0
- package/types/internal/smokehouse.d.ts +10 -5
- package/types/lhr/settings.d.ts +13 -0
|
@@ -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.8/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.8/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.8/aria-allowed-roles)。"
|
|
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.8/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.8/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.8/aria-hidden-body)。"
|
|
49
49
|
},
|
|
50
50
|
"core/audits/accessibility/aria-hidden-body.js | failureTitle": {
|
|
51
51
|
"message": "`[aria-hidden=\"true\"]` 有在文件 `<body>` 上顯示"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"message": "`[aria-hidden=\"true\"]` 沒有在文件 `<body>` 上顯示"
|
|
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.8/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.8/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`元素](https://dequeuniversity.com/rules/axe/4.
|
|
75
|
+
"message": "如果計量器元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何命名`meter`元素](https://dequeuniversity.com/rules/axe/4.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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`元素](https://dequeuniversity.com/rules/axe/4.
|
|
147
|
+
"message": "如果提示元素沒有無障礙名稱,螢幕閱讀器只會讀出一般名稱,導致依賴螢幕閱讀器的使用者無法使用該欄位。[瞭解如何命名`tooltip`元素](https://dequeuniversity.com/rules/axe/4.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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.8/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-active.js | description": {
|
|
240
|
-
"message": "所有可聚焦元素都必須有不重複的 `id`,以確保輔助技術可以查看這些元素。[瞭解如何修正 `id` 重複的問題](https://dequeuniversity.com/rules/axe/4.
|
|
240
|
+
"message": "所有可聚焦元素都必須有不重複的 `id`,以確保輔助技術可以查看這些元素。[瞭解如何修正 `id` 重複的問題](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-active)。"
|
|
241
241
|
},
|
|
242
242
|
"core/audits/accessibility/duplicate-id-active.js | failureTitle": {
|
|
243
243
|
"message": "已啟用且可聚焦的元素有重複的 `[id]` 屬性"
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
"message": "已啟用且可聚焦的元素沒有重複的 `[id]` 屬性"
|
|
247
247
|
},
|
|
248
248
|
"core/audits/accessibility/duplicate-id-aria.js | description": {
|
|
249
|
-
"message": "ARIA ID 的值不可重複,以免輔助技術忽略其他例項。[瞭解如何修正重複的 ARIA ID](https://dequeuniversity.com/rules/axe/4.
|
|
249
|
+
"message": "ARIA ID 的值不可重複,以免輔助技術忽略其他例項。[瞭解如何修正重複的 ARIA ID](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-aria)。"
|
|
250
250
|
},
|
|
251
251
|
"core/audits/accessibility/duplicate-id-aria.js | failureTitle": {
|
|
252
252
|
"message": "ARIA ID 重複"
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"message": "ARIA ID 沒有重複"
|
|
256
256
|
},
|
|
257
257
|
"core/audits/accessibility/empty-heading.js | description": {
|
|
258
|
-
"message": "如果 heading 沒有內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資料。[進一步瞭解 headings](https://dequeuniversity.com/rules/axe/4.
|
|
258
|
+
"message": "如果 heading 沒有內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資料。[進一步瞭解 headings](https://dequeuniversity.com/rules/axe/4.8/empty-heading)。"
|
|
259
259
|
},
|
|
260
260
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
|
261
261
|
"message": "Heading 元素不含任何內容。"
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"message": "所有 heading 元素都包含內容。"
|
|
265
265
|
},
|
|
266
266
|
"core/audits/accessibility/form-field-multiple-labels.js | description": {
|
|
267
|
-
"message": "使用第一個、最後一個或所有標籤的螢幕閱讀器等輔助技術,可能無法將包含多個標籤的表格欄位正確讀出。[瞭解如何使用表格標籤](https://dequeuniversity.com/rules/axe/4.
|
|
267
|
+
"message": "使用第一個、最後一個或所有標籤的螢幕閱讀器等輔助技術,可能無法將包含多個標籤的表格欄位正確讀出。[瞭解如何使用表格標籤](https://dequeuniversity.com/rules/axe/4.8/form-field-multiple-labels)。"
|
|
268
268
|
},
|
|
269
269
|
"core/audits/accessibility/form-field-multiple-labels.js | failureTitle": {
|
|
270
270
|
"message": "表格欄位含有多個標籤"
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"message": "沒有表格欄位含有多個標籤"
|
|
274
274
|
},
|
|
275
275
|
"core/audits/accessibility/frame-title.js | description": {
|
|
276
|
-
"message": "螢幕閱讀器使用者依賴頁框標題來瞭解頁框內容。[進一步瞭解頁框標題](https://dequeuniversity.com/rules/axe/4.
|
|
276
|
+
"message": "螢幕閱讀器使用者依賴頁框標題來瞭解頁框內容。[進一步瞭解頁框標題](https://dequeuniversity.com/rules/axe/4.8/frame-title)。"
|
|
277
277
|
},
|
|
278
278
|
"core/audits/accessibility/frame-title.js | failureTitle": {
|
|
279
279
|
"message": "`<frame>` 或 `<iframe>` 元素沒有標題"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
"message": "`<frame>` 或 `<iframe>` 元素包含名稱"
|
|
283
283
|
},
|
|
284
284
|
"core/audits/accessibility/heading-order.js | description": {
|
|
285
|
-
"message": "排序正確且未略過層級的標題可傳達網頁的語意結構,讓您在使用輔助技術時更容易瀏覽及理解。[進一步瞭解標題排序](https://dequeuniversity.com/rules/axe/4.
|
|
285
|
+
"message": "排序正確且未略過層級的標題可傳達網頁的語意結構,讓您在使用輔助技術時更容易瀏覽及理解。[進一步瞭解標題排序](https://dequeuniversity.com/rules/axe/4.8/heading-order)。"
|
|
286
286
|
},
|
|
287
287
|
"core/audits/accessibility/heading-order.js | failureTitle": {
|
|
288
288
|
"message": "標題元素未遞減排序"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"message": "標題元素已遞減排序"
|
|
292
292
|
},
|
|
293
293
|
"core/audits/accessibility/html-has-lang.js | description": {
|
|
294
|
-
"message": "如果網頁未指定 `lang` 屬性,螢幕閱讀器會假設網頁採用使用者設定螢幕閱讀器時選擇的預設語言。如果網頁實際並非採用預設語言,螢幕閱讀器可能無法正確朗讀文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
294
|
+
"message": "如果網頁未指定 `lang` 屬性,螢幕閱讀器會假設網頁採用使用者設定螢幕閱讀器時選擇的預設語言。如果網頁實際並非採用預設語言,螢幕閱讀器可能無法正確朗讀文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.8/html-has-lang)。"
|
|
295
295
|
},
|
|
296
296
|
"core/audits/accessibility/html-has-lang.js | failureTitle": {
|
|
297
297
|
"message": "`<html>` 元素並無 `[lang]` 屬性"
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
"message": "`<html>` 元素具備 `[lang]` 屬性"
|
|
301
301
|
},
|
|
302
302
|
"core/audits/accessibility/html-lang-valid.js | description": {
|
|
303
|
-
"message": "指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
303
|
+
"message": "指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question)可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.8/html-lang-valid)。"
|
|
304
304
|
},
|
|
305
305
|
"core/audits/accessibility/html-lang-valid.js | failureTitle": {
|
|
306
306
|
"message": "`<html>` 元素的 `[lang]` 屬性並無有效的值。"
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
"message": "`<html>` 元素的 `[lang]` 屬性具備有效的值"
|
|
310
310
|
},
|
|
311
311
|
"core/audits/accessibility/html-xml-lang-mismatch.js | description": {
|
|
312
|
-
"message": "如果網頁指定的語言不一致,螢幕閱讀器可能無法正確朗讀頁面上的文字。[進一步瞭解此 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
312
|
+
"message": "如果網頁指定的語言不一致,螢幕閱讀器可能無法正確朗讀頁面上的文字。[進一步瞭解此 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.8/html-xml-lang-mismatch)。"
|
|
313
313
|
},
|
|
314
314
|
"core/audits/accessibility/html-xml-lang-mismatch.js | failureTitle": {
|
|
315
315
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與`[lang]` 屬性中的基本語言不同。"
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與 `[lang]` 屬性的基本語言相同。"
|
|
319
319
|
},
|
|
320
320
|
"core/audits/accessibility/identical-links-same-purpose.js | description": {
|
|
321
|
-
"message": "具有相同目的地的連結應提供相同的描述,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.
|
|
321
|
+
"message": "具有相同目的地的連結應提供相同的描述,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.8/identical-links-same-purpose)。"
|
|
322
322
|
},
|
|
323
323
|
"core/audits/accessibility/identical-links-same-purpose.js | failureTitle": {
|
|
324
324
|
"message": "相同連結的用途不同。"
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
"message": "相同的連結用途相同。"
|
|
328
328
|
},
|
|
329
329
|
"core/audits/accessibility/image-alt.js | description": {
|
|
330
|
-
"message": "資訊型元素應提供簡短貼切的替代文字。只要將 alt 屬性留空,系統便會忽略該裝飾元素。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
330
|
+
"message": "資訊型元素應提供簡短貼切的替代文字。只要將 alt 屬性留空,系統便會忽略該裝飾元素。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.8/image-alt)。"
|
|
331
331
|
},
|
|
332
332
|
"core/audits/accessibility/image-alt.js | failureTitle": {
|
|
333
333
|
"message": "圖片元素並無 `[alt]` 屬性"
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"message": "圖片元素具有 `[alt]` 屬性"
|
|
337
337
|
},
|
|
338
338
|
"core/audits/accessibility/image-redundant-alt.js | description": {
|
|
339
|
-
"message": "資訊型元素應提供簡短貼切的替代文字。替代文字如果與連結或圖片旁的文字完全相同,可能會對螢幕閱讀器使用者造成混淆,因為系統會朗讀同樣的文字兩次。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
339
|
+
"message": "資訊型元素應提供簡短貼切的替代文字。替代文字如果與連結或圖片旁的文字完全相同,可能會對螢幕閱讀器使用者造成混淆,因為系統會朗讀同樣的文字兩次。[進一步瞭解此 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.8/image-redundant-alt)。"
|
|
340
340
|
},
|
|
341
341
|
"core/audits/accessibility/image-redundant-alt.js | failureTitle": {
|
|
342
342
|
"message": "圖片元素所含「`[alt]`」屬性有多餘的文字。"
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
"message": "圖片元素所含「`[alt]`」屬性沒有多餘的文字。"
|
|
346
346
|
},
|
|
347
347
|
"core/audits/accessibility/input-button-name.js | description": {
|
|
348
|
-
"message": "您可以為輸入按鈕新增可識別且可存取的文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.
|
|
348
|
+
"message": "您可以為輸入按鈕新增可識別且可存取的文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.8/input-button-name)。"
|
|
349
349
|
},
|
|
350
350
|
"core/audits/accessibility/input-button-name.js | failureTitle": {
|
|
351
351
|
"message": "輸入按鈕沒有可識別的文字。"
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
"message": "輸入按鈕有可識別的文字。"
|
|
355
355
|
},
|
|
356
356
|
"core/audits/accessibility/input-image-alt.js | description": {
|
|
357
|
-
"message": "如果 `<input>` 按鈕是以圖片呈現,提供替代文字可協助螢幕閱讀器使用者瞭解該按鈕的用途。[瞭解輸入圖片說明文字](https://dequeuniversity.com/rules/axe/4.
|
|
357
|
+
"message": "如果 `<input>` 按鈕是以圖片呈現,提供替代文字可協助螢幕閱讀器使用者瞭解該按鈕的用途。[瞭解輸入圖片說明文字](https://dequeuniversity.com/rules/axe/4.8/input-image-alt)。"
|
|
358
358
|
},
|
|
359
359
|
"core/audits/accessibility/input-image-alt.js | failureTitle": {
|
|
360
360
|
"message": "`<input type=\"image\">` 元素未設定 `[alt]` 文字"
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
"message": "`<input type=\"image\">` 元素具有 `[alt]` 文字"
|
|
364
364
|
},
|
|
365
365
|
"core/audits/accessibility/label-content-name-mismatch.js | description": {
|
|
366
|
-
"message": "如果顯示的文字標籤與無障礙名稱不符,可能對螢幕閱讀器使用者造成混淆。[進一步瞭解無障礙名稱](https://dequeuniversity.com/rules/axe/4.
|
|
366
|
+
"message": "如果顯示的文字標籤與無障礙名稱不符,可能對螢幕閱讀器使用者造成混淆。[進一步瞭解無障礙名稱](https://dequeuniversity.com/rules/axe/4.8/label-content-name-mismatch)。"
|
|
367
367
|
},
|
|
368
368
|
"core/audits/accessibility/label-content-name-mismatch.js | failureTitle": {
|
|
369
369
|
"message": "含有可見文字標籤的元素沒有相符的無障礙名稱。"
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"message": "含有可見文字標籤的元素有相符的無障礙名稱。"
|
|
373
373
|
},
|
|
374
374
|
"core/audits/accessibility/label.js | description": {
|
|
375
|
-
"message": "標籤可以確保輔助技術 (例如螢幕閱讀器) 正確朗讀表格控制項。[進一步瞭解表格元素標籤](https://dequeuniversity.com/rules/axe/4.
|
|
375
|
+
"message": "標籤可以確保輔助技術 (例如螢幕閱讀器) 正確朗讀表格控制項。[進一步瞭解表格元素標籤](https://dequeuniversity.com/rules/axe/4.8/label)。"
|
|
376
376
|
},
|
|
377
377
|
"core/audits/accessibility/label.js | failureTitle": {
|
|
378
378
|
"message": "表格元素沒有相關聯的標籤"
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
"message": "表格元素具有相關聯的標籤"
|
|
382
382
|
},
|
|
383
383
|
"core/audits/accessibility/landmark-one-main.js | description": {
|
|
384
|
-
"message": "其中一項主要標籤可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解標籤](https://dequeuniversity.com/rules/axe/4.
|
|
384
|
+
"message": "其中一項主要標籤可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解標籤](https://dequeuniversity.com/rules/axe/4.8/landmark-one-main)。"
|
|
385
385
|
},
|
|
386
386
|
"core/audits/accessibility/landmark-one-main.js | failureTitle": {
|
|
387
387
|
"message": "文件不含主要標籤。"
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
"message": "文件具有主要標籤。"
|
|
391
391
|
},
|
|
392
392
|
"core/audits/accessibility/link-in-text-block.js | description": {
|
|
393
|
-
"message": "很多使用者難以閱讀或無法閱讀低對比度的文字。可辨別的連結文字有助改善低視力使用者的體驗。[瞭解如何設定可明確辨別的連結](https://dequeuniversity.com/rules/axe/4.
|
|
393
|
+
"message": "很多使用者難以閱讀或無法閱讀低對比度的文字。可辨別的連結文字有助改善低視力使用者的體驗。[瞭解如何設定可明確辨別的連結](https://dequeuniversity.com/rules/axe/4.8/link-in-text-block)。"
|
|
394
394
|
},
|
|
395
395
|
"core/audits/accessibility/link-in-text-block.js | failureTitle": {
|
|
396
396
|
"message": "連結需依賴顏色辨別。"
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
"message": "不需依賴顏色亦可明確辨別連結。"
|
|
400
400
|
},
|
|
401
401
|
"core/audits/accessibility/link-name.js | description": {
|
|
402
|
-
"message": "使用可辨別、不重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結更易用](https://dequeuniversity.com/rules/axe/4.
|
|
402
|
+
"message": "使用可辨別、不重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結更易用](https://dequeuniversity.com/rules/axe/4.8/link-name)。"
|
|
403
403
|
},
|
|
404
404
|
"core/audits/accessibility/link-name.js | failureTitle": {
|
|
405
405
|
"message": "連結並無可辨別的名稱"
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
"message": "連結具有可辨別的名稱"
|
|
409
409
|
},
|
|
410
410
|
"core/audits/accessibility/list.js | description": {
|
|
411
|
-
"message": "螢幕閱讀器會以特定方式朗讀清單。確認清單採用正確的結構有助螢幕閱讀器順利輸出內容。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.
|
|
411
|
+
"message": "螢幕閱讀器會以特定方式朗讀清單。確認清單採用正確的結構有助螢幕閱讀器順利輸出內容。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.8/list)。"
|
|
412
412
|
},
|
|
413
413
|
"core/audits/accessibility/list.js | failureTitle": {
|
|
414
414
|
"message": "清單中並非只包含 `<li>` 元素和指令碼支援元素 (`<script>` 和 `<template>`)。"
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
"message": "清單只包含 `<li>` 元素和支援指令碼的元素 (`<script>` 和 `<template>`)。"
|
|
418
418
|
},
|
|
419
419
|
"core/audits/accessibility/listitem.js | description": {
|
|
420
|
-
"message": "清單項目 (`<li>`) 必須包含在父元素 `<ul>`、`<ol>` 或 `<menu>` 中,螢幕閱讀器才能正確朗讀這些項目。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.
|
|
420
|
+
"message": "清單項目 (`<li>`) 必須包含在父元素 `<ul>`、`<ol>` 或 `<menu>` 中,螢幕閱讀器才能正確朗讀這些項目。[進一步瞭解正確的清單結構](https://dequeuniversity.com/rules/axe/4.8/listitem)。"
|
|
421
421
|
},
|
|
422
422
|
"core/audits/accessibility/listitem.js | failureTitle": {
|
|
423
423
|
"message": "清單項目 (`<li>`) 未包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中。"
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
"message": "清單項目 (`<li>`) 已包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中"
|
|
427
427
|
},
|
|
428
428
|
"core/audits/accessibility/meta-refresh.js | description": {
|
|
429
|
-
"message": "使用者不會預期系統自動重新整理網頁,且執行此操作會將焦點移回網頁頂端。這可能會對使用者造成困擾或混淆。[進一步瞭解重新整理中繼標籤](https://dequeuniversity.com/rules/axe/4.
|
|
429
|
+
"message": "使用者不會預期系統自動重新整理網頁,且執行此操作會將焦點移回網頁頂端。這可能會對使用者造成困擾或混淆。[進一步瞭解重新整理中繼標籤](https://dequeuniversity.com/rules/axe/4.8/meta-refresh)。"
|
|
430
430
|
},
|
|
431
431
|
"core/audits/accessibility/meta-refresh.js | failureTitle": {
|
|
432
432
|
"message": "文件使用 `<meta http-equiv=\"refresh\">`"
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
"message": "文件未使用 `<meta http-equiv=\"refresh\">`"
|
|
436
436
|
},
|
|
437
437
|
"core/audits/accessibility/meta-viewport.js | description": {
|
|
438
|
-
"message": "停用縮放功能會對低視力人士造成困擾,他們需要透過螢幕放大功能才能清楚看見網頁內容。[進一步瞭解檢視區中繼標記](https://dequeuniversity.com/rules/axe/4.
|
|
438
|
+
"message": "停用縮放功能會對低視力人士造成困擾,他們需要透過螢幕放大功能才能清楚看見網頁內容。[進一步瞭解檢視區中繼標記](https://dequeuniversity.com/rules/axe/4.8/meta-viewport)。"
|
|
439
439
|
},
|
|
440
440
|
"core/audits/accessibility/meta-viewport.js | failureTitle": {
|
|
441
441
|
"message": "`<meta name=\"viewport\">` 元素中使用了 `[user-scalable=\"no\"]`,或 `[maximum-scale]` 屬性少於 5。"
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
"message": "`<meta name=\"viewport\">` 元素中未有使用 `[user-scalable=\"no\"]` 元素,而且 `[maximum-scale]` 屬性少於 5。"
|
|
445
445
|
},
|
|
446
446
|
"core/audits/accessibility/object-alt.js | description": {
|
|
447
|
-
"message": "螢幕閱讀器無法翻譯非文字內容。為 `<object>` 元素新增替代文字,可協助螢幕閱讀器向使用者傳達其意思。[進一步瞭解 `object` 元素的說明文字](https://dequeuniversity.com/rules/axe/4.
|
|
447
|
+
"message": "螢幕閱讀器無法翻譯非文字內容。為 `<object>` 元素新增替代文字,可協助螢幕閱讀器向使用者傳達其意思。[進一步瞭解 `object` 元素的說明文字](https://dequeuniversity.com/rules/axe/4.8/object-alt)。"
|
|
448
448
|
},
|
|
449
449
|
"core/audits/accessibility/object-alt.js | failureTitle": {
|
|
450
450
|
"message": "`<object>` 元素未設定替代文字"
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
"message": "`<object>` 元素具有替代文字"
|
|
454
454
|
},
|
|
455
455
|
"core/audits/accessibility/select-name.js | description": {
|
|
456
|
-
"message": "沒有有效標籤的 Form 元素可能對螢幕閱讀器使用者造成困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
|
456
|
+
"message": "沒有有效標籤的 Form 元素可能對螢幕閱讀器使用者造成困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.8/select-name)。"
|
|
457
457
|
},
|
|
458
458
|
"core/audits/accessibility/select-name.js | failureTitle": {
|
|
459
459
|
"message": "Select 元素沒有相關聯的 label 元素。"
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
"message": "Select 元素具有關聯的 label 元素。"
|
|
463
463
|
},
|
|
464
464
|
"core/audits/accessibility/skip-link.js | description": {
|
|
465
|
-
"message": "加入跳過連結可協助使用者直接前往主要內容,以節省時間。[進一步瞭解跳過連結](https://dequeuniversity.com/rules/axe/4.
|
|
465
|
+
"message": "加入跳過連結可協助使用者直接前往主要內容,以節省時間。[進一步瞭解跳過連結](https://dequeuniversity.com/rules/axe/4.8/skip-link)。"
|
|
466
466
|
},
|
|
467
467
|
"core/audits/accessibility/skip-link.js | failureTitle": {
|
|
468
468
|
"message": "跳過連結無法聚焦。"
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
"message": "跳過連結可聚焦。"
|
|
472
472
|
},
|
|
473
473
|
"core/audits/accessibility/tabindex.js | description": {
|
|
474
|
-
"message": "如果值大於 0,代表已採用明確的瀏覽排序。雖然此做法在技術上可行,但通常會對依賴輔助技術的使用者造成困擾。[進一步瞭解此 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
474
|
+
"message": "如果值大於 0,代表已採用明確的瀏覽排序。雖然此做法在技術上可行,但通常會對依賴輔助技術的使用者造成困擾。[進一步瞭解此 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.8/tabindex)。"
|
|
475
475
|
},
|
|
476
476
|
"core/audits/accessibility/tabindex.js | failureTitle": {
|
|
477
477
|
"message": "部分元素的 `[tabindex]` 值大於 0"
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
"message": "所有元素的 `[tabindex]` 值皆未超過 0"
|
|
481
481
|
},
|
|
482
482
|
"core/audits/accessibility/table-duplicate-name.js | description": {
|
|
483
|
-
"message": "摘要屬性應描述表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.
|
|
483
|
+
"message": "摘要屬性應描述表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.8/table-duplicate-name)。"
|
|
484
484
|
},
|
|
485
485
|
"core/audits/accessibility/table-duplicate-name.js | failureTitle": {
|
|
486
486
|
"message": "表格內容與摘要屬性和「`<caption>.`」相同"
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
"message": "表格內容與摘要屬性和「`<caption>`」不同。"
|
|
490
490
|
},
|
|
491
491
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
|
492
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.
|
|
492
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.8/table-fake-caption)。"
|
|
493
493
|
},
|
|
494
494
|
"core/audits/accessibility/table-fake-caption.js | failureTitle": {
|
|
495
495
|
"message": "表格使用含有 `[colspan]` 屬性的儲存格表示標題,而非使用 `<caption>` 屬性。"
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
"message": "表格使用 `<caption>` 屬性表示標題,而非使用含有 `[colspan]` 屬性的儲存格。"
|
|
499
499
|
},
|
|
500
500
|
"core/audits/accessibility/target-size.js | description": {
|
|
501
|
-
"message": "只要觸控目標提供足夠的大小和間距,就能協助難以觸控細小控制項的使用者啟動目標。[進一步瞭解觸控目標](https://dequeuniversity.com/rules/axe/4.
|
|
501
|
+
"message": "只要觸控目標提供足夠的大小和間距,就能協助難以觸控細小控制項的使用者啟動目標。[進一步瞭解觸控目標](https://dequeuniversity.com/rules/axe/4.8/target-size)。"
|
|
502
502
|
},
|
|
503
503
|
"core/audits/accessibility/target-size.js | failureTitle": {
|
|
504
504
|
"message": "觸控目標的大小或間距不足。"
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
"message": "觸控目標的大小和間距充足。"
|
|
508
508
|
},
|
|
509
509
|
"core/audits/accessibility/td-has-header.js | description": {
|
|
510
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個或以上儲存格) 中的 `<td>` 元素使用相關聯的表格標題,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.
|
|
510
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個或以上儲存格) 中的 `<td>` 元素使用相關聯的表格標題,或許可提升螢幕閱讀器的使用體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.8/td-has-header)。"
|
|
511
511
|
},
|
|
512
512
|
"core/audits/accessibility/td-has-header.js | failureTitle": {
|
|
513
513
|
"message": "大型 `<table>` 中的 `<td>` 元素沒有表格標題。"
|
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
"message": "大型 `<table>` 中的 `<td>` 元素有一或多個表格標題。"
|
|
517
517
|
},
|
|
518
518
|
"core/audits/accessibility/td-headers-attr.js | description": {
|
|
519
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保採用 `[headers]` 屬性的 `<td>` 儲存格只參照同一表格中的其他儲存格,或許能改善螢幕閱讀器的使用體驗。[進一步瞭解 `headers` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
519
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保採用 `[headers]` 屬性的 `<td>` 儲存格只參照同一表格中的其他儲存格,或許能改善螢幕閱讀器的使用體驗。[進一步瞭解 `headers` 屬性](https://dequeuniversity.com/rules/axe/4.8/td-headers-attr)。"
|
|
520
520
|
},
|
|
521
521
|
"core/audits/accessibility/td-headers-attr.js | failureTitle": {
|
|
522
522
|
"message": "`<table>` 元素中採用 `[headers]` 屬性的儲存格參照了 `id`,無法在同一表格中找到此元素。"
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"message": "`<table>` 元素中採用 `[headers]` 屬性的儲存格,參照了同一表格中的其他儲存格。"
|
|
526
526
|
},
|
|
527
527
|
"core/audits/accessibility/th-has-data-cells.js | description": {
|
|
528
|
-
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保表格標題一律參照特定一組儲存格,或許能有助改善螢幕閱讀器使用者的體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.
|
|
528
|
+
"message": "螢幕閱讀器的功能可讓使用者更輕鬆瀏覽表格。如能確保表格標題一律參照特定一組儲存格,或許能有助改善螢幕閱讀器使用者的體驗。[進一步瞭解表格標題](https://dequeuniversity.com/rules/axe/4.8/th-has-data-cells)。"
|
|
529
529
|
},
|
|
530
530
|
"core/audits/accessibility/th-has-data-cells.js | failureTitle": {
|
|
531
531
|
"message": "`<th>` 元素及帶有 `[role=\"columnheader\"/\"rowheader\"]` 的元素沒有所描述的資料儲存格。"
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
"message": "`<th>` 元素和帶有 `[role=\"columnheader\"/\"rowheader\"]` 的元素有其描述的資料儲存格。"
|
|
535
535
|
},
|
|
536
536
|
"core/audits/accessibility/valid-lang.js | description": {
|
|
537
|
-
"message": "為元素指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
|
537
|
+
"message": "為元素指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.8/valid-lang)。"
|
|
538
538
|
},
|
|
539
539
|
"core/audits/accessibility/valid-lang.js | failureTitle": {
|
|
540
540
|
"message": "`[lang]` 屬性並無有效的值"
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
"message": "`[lang]` 屬性具備有效的值"
|
|
544
544
|
},
|
|
545
545
|
"core/audits/accessibility/video-caption.js | description": {
|
|
546
|
-
"message": "如果在影片中提供字幕,將有助於失聰或聽障使用者取得影片資料。[進一步瞭解影片字幕](https://dequeuniversity.com/rules/axe/4.
|
|
546
|
+
"message": "如果在影片中提供字幕,將有助於失聰或聽障使用者取得影片資料。[進一步瞭解影片字幕](https://dequeuniversity.com/rules/axe/4.8/video-caption)。"
|
|
547
547
|
},
|
|
548
548
|
"core/audits/accessibility/video-caption.js | failureTitle": {
|
|
549
549
|
"message": "`<video>` 元素不含任何帶有 `[kind=\"captions\"]` 的 `<track>` 元素"
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
"message": "語法"
|
|
775
775
|
},
|
|
776
776
|
"core/audits/csp-xss.js | metaTagMessage": {
|
|
777
|
-
"message": "網頁包含在
|
|
777
|
+
"message": "網頁包含在 `<meta>` 標籤中定義的內容安全政策。建議將 CSP 移至 HTTP 標題,或在 HTTP 標題中定義其他嚴格 CSP。"
|
|
778
778
|
},
|
|
779
779
|
"core/audits/csp-xss.js | noCsp": {
|
|
780
780
|
"message": "找不到處於強制執行模式的 CSP"
|
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
"message": "頁面在無痕式視窗中載入"
|
|
1027
1027
|
},
|
|
1028
1028
|
"core/audits/installable-manifest.js | manifest-display-not-supported": {
|
|
1029
|
-
"message": "
|
|
1029
|
+
"message": "資訊清單的「`display`」屬性必須為 `standalone`、`fullscreen` 或 `minimal-ui`"
|
|
1030
1030
|
},
|
|
1031
1031
|
"core/audits/installable-manifest.js | manifest-display-override-not-supported": {
|
|
1032
1032
|
"message": "資訊清單包含「display_override」欄位;首個支援的顯示模式必須為「standalone」、「fullscreen」或「minimal-ui」"
|
|
@@ -1038,7 +1038,7 @@
|
|
|
1038
1038
|
"message": "資訊清單網址已在擷取資訊清單時變更。"
|
|
1039
1039
|
},
|
|
1040
1040
|
"core/audits/installable-manifest.js | manifest-missing-name-or-short-name": {
|
|
1041
|
-
"message": "
|
|
1041
|
+
"message": "資訊清單未包含 `name` 或 `short_name` 欄位"
|
|
1042
1042
|
},
|
|
1043
1043
|
"core/audits/installable-manifest.js | manifest-missing-suitable-icon": {
|
|
1044
1044
|
"message": "資訊清單未包含合適的圖示 - 必須採用至少 {value0} 像素的 PNG、SVG 或 WebP 格式;必須設定大小屬性;如設定目的屬性,則必須包含「any」。"
|
|
@@ -1856,6 +1856,9 @@
|
|
|
1856
1856
|
"core/gather/gatherers/link-elements.js | headerParseWarning": {
|
|
1857
1857
|
"message": "剖析`link`標題 ({error}) 時發生錯誤:`{header}`"
|
|
1858
1858
|
},
|
|
1859
|
+
"core/gather/timespan-runner.js | warningNavigationDetected": {
|
|
1860
|
+
"message": "系統在執行期間偵測到網頁瀏覽活動。我們不建議使用時間範圍模式審核網頁瀏覽活動。請使用導覽模式審核網頁瀏覽活動,提升第三方歸因和主要執行緒偵測的效能。"
|
|
1861
|
+
},
|
|
1859
1862
|
"core/lib/bf-cache-strings.js | HTTPMethodNotGET": {
|
|
1860
1863
|
"message": "只有透過 GET 要求載入的網頁才符合向前/返回快取的資格。"
|
|
1861
1864
|
},
|
|
@@ -2208,25 +2211,25 @@
|
|
|
2208
2211
|
"message": "使用 WebXR 的網頁目前不符合向前/返回快取的資格。"
|
|
2209
2212
|
},
|
|
2210
2213
|
"core/lib/csp-evaluator.js | allowlistFallback": {
|
|
2211
|
-
"message": "建議新增 https: 和 http:
|
|
2214
|
+
"message": "建議新增 https: 和 http: 網址配置,以便向下兼容舊版瀏覽器 (支援`'strict-dynamic'`的瀏覽器會忽略這些配置)。"
|
|
2212
2215
|
},
|
|
2213
2216
|
"core/lib/csp-evaluator.js | deprecatedDisownOpener": {
|
|
2214
|
-
"message": "disown-opener 已於 CSP3
|
|
2217
|
+
"message": "`disown-opener` 已於 CSP3 淘汰。請改用 Cross-Origin-Opener-Policy 標題。"
|
|
2215
2218
|
},
|
|
2216
2219
|
"core/lib/csp-evaluator.js | deprecatedReferrer": {
|
|
2217
|
-
"message": "referrer 已於 CSP2
|
|
2220
|
+
"message": "`referrer` 已於 CSP2 淘汰。請改用 Referrer-Policy 標題。"
|
|
2218
2221
|
},
|
|
2219
2222
|
"core/lib/csp-evaluator.js | deprecatedReflectedXSS": {
|
|
2220
|
-
"message": "reflected-xss 已於 CSP2
|
|
2223
|
+
"message": "`reflected-xss` 已於 CSP2 淘汰。請改用 X-XSS-Protection 標題。"
|
|
2221
2224
|
},
|
|
2222
2225
|
"core/lib/csp-evaluator.js | missingBaseUri": {
|
|
2223
|
-
"message": "
|
|
2226
|
+
"message": "如果缺少 `base-uri`,有心人士就能利用已插入的 `<base>` 標籤,將所有相對網址 (例如指令碼) 的基本網址設定為攻擊者控制的網域。建議將 `base-uri` 設定為`'none'`或`'self'`。"
|
|
2224
2227
|
},
|
|
2225
2228
|
"core/lib/csp-evaluator.js | missingObjectSrc": {
|
|
2226
|
-
"message": "
|
|
2229
|
+
"message": "如果缺少 `object-src`,有心人士就能插入可執行不安全指令碼的外掛程式。在可行情況下,建議將 `object-src` 設定為`'none'`。"
|
|
2227
2230
|
},
|
|
2228
2231
|
"core/lib/csp-evaluator.js | missingScriptSrc": {
|
|
2229
|
-
"message": "缺少 script-src 指令。這可能導致系統執行不安全的指令碼。"
|
|
2232
|
+
"message": "缺少 `script-src` 指令。這可能導致系統執行不安全的指令碼。"
|
|
2230
2233
|
},
|
|
2231
2234
|
"core/lib/csp-evaluator.js | missingSemicolon": {
|
|
2232
2235
|
"message": "忘記使用分號嗎?{keyword} 似乎是指令,而不是關鍵字。"
|
|
@@ -2244,13 +2247,13 @@
|
|
|
2244
2247
|
"message": "請避免在此指令中使用純萬用字元 ({keyword})。純萬用字元會容許有心人士從不安全的網域取得指令碼。"
|
|
2245
2248
|
},
|
|
2246
2249
|
"core/lib/csp-evaluator.js | reportToOnly": {
|
|
2247
|
-
"message": "報告目的地只能透過 report-to
|
|
2250
|
+
"message": "報告目的地只能透過 report-to 指令設定。由於只有以 Chromium 為基礎的瀏覽器支援這項指令,建議同時使用 `report-uri` 指令。"
|
|
2248
2251
|
},
|
|
2249
2252
|
"core/lib/csp-evaluator.js | reportingDestinationMissing": {
|
|
2250
2253
|
"message": "沒有 CSP 設定報告目的地。這會導致系統難以持續維護 CSP 及監察故障情況。"
|
|
2251
2254
|
},
|
|
2252
2255
|
"core/lib/csp-evaluator.js | strictDynamic": {
|
|
2253
|
-
"message": "
|
|
2256
|
+
"message": "由於主機許可名單經常被忽略,建議改用 CSP nonce 或 hash,並按需要配搭使用`'strict-dynamic'`。"
|
|
2254
2257
|
},
|
|
2255
2258
|
"core/lib/csp-evaluator.js | unknownDirective": {
|
|
2256
2259
|
"message": "CSP 指令不明。"
|
|
@@ -2259,10 +2262,10 @@
|
|
|
2259
2262
|
"message": "{keyword} 似乎是無效關鍵字。"
|
|
2260
2263
|
},
|
|
2261
2264
|
"core/lib/csp-evaluator.js | unsafeInline": {
|
|
2262
|
-
"message": "
|
|
2265
|
+
"message": "`'unsafe-inline'`會允許執行不安全的頁面內嵌指令碼和事件處理常式。建議使用 CSP nonce 或 hash 個別允許指令碼。"
|
|
2263
2266
|
},
|
|
2264
2267
|
"core/lib/csp-evaluator.js | unsafeInlineFallback": {
|
|
2265
|
-
"message": "
|
|
2268
|
+
"message": "建議新增`'unsafe-inline'`,以便向下兼容舊版瀏覽器 (支援 nonce/hash 的瀏覽器會忽略此項目)。"
|
|
2266
2269
|
},
|
|
2267
2270
|
"core/lib/deprecation-description.js | feature": {
|
|
2268
2271
|
"message": "詳情請參閱「功能狀態」頁面。"
|