lighthouse 11.7.1 → 12.0.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/CONTRIBUTING.md +2 -2
- package/cli/bin.js +0 -7
- package/cli/cli-flags.d.ts +1 -5
- package/cli/cli-flags.js +4 -8
- package/cli/test/smokehouse/__snapshots__/report-assert-test.js.snap +14 -14
- package/cli/test/smokehouse/config/exclusions.js +3 -0
- package/cli/test/smokehouse/core-tests.js +6 -20
- package/cli/test/smokehouse/frontends/smokehouse-bin.js +2 -2
- package/core/audits/accessibility/aria-conditional-attr.d.ts +10 -0
- package/core/audits/accessibility/aria-conditional-attr.js +43 -0
- package/core/audits/accessibility/{duplicate-id-active.d.ts → aria-deprecated-role.d.ts} +3 -3
- package/core/audits/accessibility/aria-deprecated-role.js +43 -0
- package/core/audits/accessibility/aria-prohibited-attr.d.ts +10 -0
- package/core/audits/accessibility/aria-prohibited-attr.js +44 -0
- package/core/audits/accessibility/target-size.js +0 -1
- package/core/audits/byte-efficiency/byte-efficiency-audit.d.ts +0 -16
- package/core/audits/byte-efficiency/byte-efficiency-audit.js +1 -38
- package/core/audits/byte-efficiency/offscreen-images.d.ts +0 -11
- package/core/audits/byte-efficiency/offscreen-images.js +0 -15
- package/core/audits/byte-efficiency/render-blocking-resources.js +27 -26
- package/core/audits/byte-efficiency/unminified-css.js +2 -2
- package/core/audits/byte-efficiency/unused-css-rules.js +3 -1
- package/core/audits/dobetterweb/uses-http2.d.ts +0 -13
- package/core/audits/dobetterweb/uses-http2.js +4 -38
- package/core/audits/font-display.js +2 -2
- package/core/audits/layout-shifts.js +1 -1
- package/core/audits/preload-fonts.d.ts +1 -5
- package/core/audits/preload-fonts.js +1 -10
- package/core/audits/prioritize-lcp-image.js +2 -2
- package/core/audits/redirects-http.d.ts +19 -0
- package/core/audits/redirects-http.js +75 -0
- package/core/audits/resource-summary.d.ts +2 -0
- package/core/audits/resource-summary.js +5 -4
- package/core/audits/seo/is-crawlable.d.ts +2 -1
- package/core/audits/seo/link-text.js +12 -0
- package/core/audits/uses-rel-preload.d.ts +1 -5
- package/core/audits/uses-rel-preload.js +5 -15
- package/core/audits/work-during-interaction.d.ts +2 -2
- package/core/audits/work-during-interaction.js +2 -2
- package/core/computed/js-bundles.d.ts +1 -1
- package/core/computed/metrics/lantern-first-contentful-paint.d.ts +13 -82
- package/core/computed/metrics/lantern-first-contentful-paint.js +16 -178
- package/core/computed/metrics/lantern-first-meaningful-paint.d.ts +13 -12
- package/core/computed/metrics/lantern-first-meaningful-paint.js +11 -49
- package/core/computed/metrics/lantern-interactive.d.ts +13 -21
- package/core/computed/metrics/lantern-interactive.js +12 -84
- package/core/computed/metrics/lantern-largest-contentful-paint.d.ts +13 -25
- package/core/computed/metrics/lantern-largest-contentful-paint.js +13 -80
- package/core/computed/metrics/lantern-max-potential-fid.d.ts +13 -24
- package/core/computed/metrics/lantern-max-potential-fid.js +12 -64
- package/core/computed/metrics/lantern-metric.d.ts +14 -18
- package/core/computed/metrics/lantern-metric.js +34 -30
- package/core/computed/metrics/lantern-speed-index.d.ts +13 -32
- package/core/computed/metrics/lantern-speed-index.js +13 -116
- package/core/computed/metrics/lantern-total-blocking-time.d.ts +13 -25
- package/core/computed/metrics/lantern-total-blocking-time.js +10 -94
- package/core/computed/metrics/metric.js +1 -3
- package/core/computed/module-duplication.d.ts +1 -1
- package/core/computed/navigation-insights.d.ts +36 -0
- package/core/computed/navigation-insights.js +35 -0
- package/core/computed/page-dependency-graph.js +3 -7
- package/core/computed/resource-summary.d.ts +10 -12
- package/core/computed/resource-summary.js +12 -19
- package/core/computed/trace-engine-result.d.ts +16 -3
- package/core/computed/trace-engine-result.js +19 -14
- 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 +63 -142
- package/core/config/experimental-config.js +11 -0
- package/core/config/filters.js +0 -1
- package/core/gather/driver/navigation.js +4 -1
- package/core/gather/driver/prepare.js +1 -1
- package/core/gather/driver/target-manager.js +4 -3
- package/core/gather/driver/wait-for-condition.js +2 -3
- package/core/gather/driver.d.ts +12 -0
- package/core/gather/driver.js +27 -0
- package/core/gather/gatherers/accessibility.js +4 -6
- package/core/gather/gatherers/css-usage.d.ts +0 -21
- package/core/gather/gatherers/css-usage.js +9 -119
- package/core/gather/gatherers/root-causes.d.ts +2 -2
- package/core/gather/gatherers/root-causes.js +6 -5
- package/core/gather/gatherers/stylesheets.d.ts +26 -0
- package/core/gather/gatherers/stylesheets.js +138 -0
- package/core/gather/gatherers/trace-elements.d.ts +2 -12
- package/core/gather/gatherers/trace-elements.js +2 -21
- package/core/gather/navigation-runner.js +3 -1
- package/core/gather/session.d.ts +8 -0
- package/core/gather/session.js +14 -1
- package/core/lib/emulation.js +2 -2
- package/core/lib/i18n/i18n.d.ts +0 -1
- package/core/lib/i18n/i18n.js +0 -2
- package/core/lib/lantern/cpu-node.d.ts +7 -1
- package/core/lib/lantern/cpu-node.js +12 -2
- package/core/lib/lantern/lantern-error.d.ts +8 -0
- package/core/lib/lantern/lantern-error.js +9 -0
- package/core/lib/lantern/metric.js +2 -6
- package/core/lib/lantern/metrics/first-contentful-paint.d.ts +79 -0
- package/core/lib/lantern/metrics/first-contentful-paint.js +200 -0
- package/core/lib/lantern/metrics/first-meaningful-paint.d.ts +6 -0
- package/core/lib/lantern/metrics/first-meaningful-paint.js +64 -0
- package/core/lib/lantern/metrics/interactive.d.ts +26 -0
- package/core/lib/lantern/metrics/interactive.js +112 -0
- package/core/lib/lantern/metrics/largest-contentful-paint.d.ts +19 -0
- package/core/lib/lantern/metrics/largest-contentful-paint.js +108 -0
- package/core/lib/lantern/metrics/max-potential-fid.d.ts +30 -0
- package/core/lib/lantern/metrics/max-potential-fid.js +92 -0
- package/core/lib/lantern/metrics/speed-index.d.ts +38 -0
- package/core/lib/lantern/metrics/speed-index.js +144 -0
- package/core/lib/lantern/metrics/total-blocking-time.d.ts +31 -0
- package/core/lib/lantern/metrics/total-blocking-time.js +128 -0
- package/core/lib/lantern/network-node.js +28 -4
- package/core/lib/lantern/page-dependency-graph.d.ts +4 -4
- package/core/lib/lantern/page-dependency-graph.js +19 -7
- package/core/lib/lantern/simulator/connection-pool.d.ts +2 -12
- package/core/lib/lantern/simulator/connection-pool.js +3 -22
- package/core/lib/lantern/simulator/network-analyzer.js +1 -12
- package/core/lib/lantern/simulator/simulator.d.ts +2 -4
- package/core/lib/lantern/simulator/simulator.js +7 -14
- package/core/lib/lantern/types/lantern.d.ts +5 -3
- package/core/lib/lantern-trace-saver.js +0 -1
- package/core/lib/lh-error.d.ts +9 -0
- package/core/lib/lh-error.js +13 -3
- package/core/lib/lighthouse-compatibility.js +53 -10
- package/core/lib/navigation-error.js +3 -0
- package/core/lib/network-request.d.ts +1 -0
- package/core/lib/network-request.js +28 -0
- package/core/runner.js +18 -25
- package/dist/report/bundle.esm.js +11 -112
- package/dist/report/flow.js +16 -117
- package/dist/report/standalone.js +12 -113
- package/flow-report/src/help-dialog.tsx +0 -1
- package/flow-report/src/i18n/i18n.d.ts +0 -4
- package/flow-report/src/i18n/ui-strings.d.ts +0 -1
- package/flow-report/src/i18n/ui-strings.js +0 -2
- package/flow-report/src/summary/category.tsx +10 -12
- package/package.json +5 -5
- package/readme.md +4 -4
- package/report/assets/styles.css +1 -60
- package/report/assets/templates.html +0 -95
- package/report/renderer/category-renderer.js +1 -1
- package/report/renderer/components.d.ts +2 -2
- package/report/renderer/components.js +2 -103
- package/report/renderer/dom.d.ts +1 -1
- package/report/renderer/dom.js +1 -1
- package/report/renderer/performance-category-renderer.d.ts +0 -7
- package/report/renderer/performance-category-renderer.js +1 -32
- package/report/renderer/report-renderer.js +3 -13
- package/report/renderer/report-ui-features.js +1 -1
- package/report/renderer/report-utils.d.ts +0 -1
- package/report/renderer/report-utils.js +13 -13
- package/shared/localization/locales/ar-XB.json +62 -329
- package/shared/localization/locales/ar.json +62 -329
- package/shared/localization/locales/bg.json +62 -329
- package/shared/localization/locales/ca.json +62 -329
- package/shared/localization/locales/cs.json +62 -329
- package/shared/localization/locales/da.json +62 -329
- package/shared/localization/locales/de.json +62 -329
- package/shared/localization/locales/el.json +62 -329
- package/shared/localization/locales/en-GB.json +62 -329
- package/shared/localization/locales/en-US.json +41 -272
- package/shared/localization/locales/en-XA.json +62 -329
- package/shared/localization/locales/en-XL.json +41 -272
- package/shared/localization/locales/es-419.json +62 -329
- package/shared/localization/locales/es.json +62 -329
- package/shared/localization/locales/fi.json +62 -329
- package/shared/localization/locales/fil.json +61 -328
- package/shared/localization/locales/fr.json +62 -329
- package/shared/localization/locales/he.json +62 -329
- package/shared/localization/locales/hi.json +62 -329
- package/shared/localization/locales/hr.json +63 -330
- package/shared/localization/locales/hu.json +62 -329
- package/shared/localization/locales/id.json +62 -329
- package/shared/localization/locales/it.json +62 -329
- package/shared/localization/locales/ja.json +62 -329
- package/shared/localization/locales/ko.json +62 -329
- package/shared/localization/locales/lt.json +62 -329
- package/shared/localization/locales/lv.json +62 -329
- package/shared/localization/locales/nl.json +62 -329
- package/shared/localization/locales/no.json +62 -329
- package/shared/localization/locales/pl.json +61 -328
- package/shared/localization/locales/pt-PT.json +62 -329
- package/shared/localization/locales/pt.json +64 -331
- package/shared/localization/locales/ro.json +62 -329
- package/shared/localization/locales/ru.json +62 -329
- package/shared/localization/locales/sk.json +62 -329
- package/shared/localization/locales/sl.json +62 -329
- package/shared/localization/locales/sr-Latn.json +62 -329
- package/shared/localization/locales/sr.json +62 -329
- package/shared/localization/locales/sv.json +62 -329
- package/shared/localization/locales/ta.json +61 -328
- package/shared/localization/locales/te.json +62 -329
- package/shared/localization/locales/th.json +62 -329
- package/shared/localization/locales/tr.json +62 -329
- package/shared/localization/locales/uk.json +62 -329
- package/shared/localization/locales/vi.json +61 -328
- package/shared/localization/locales/zh-HK.json +62 -329
- package/shared/localization/locales/zh-TW.json +61 -328
- package/shared/localization/locales/zh.json +62 -329
- package/tsconfig.json +1 -3
- package/types/artifacts.d.ts +21 -110
- package/types/audit.d.ts +0 -10
- package/types/config.d.ts +0 -1
- package/types/externs.d.ts +0 -2
- package/types/gatherer.d.ts +3 -0
- package/types/internal/smokehouse.d.ts +1 -1
- package/types/lh.d.ts +0 -2
- package/types/lhr/audit-details.d.ts +9 -4
- package/types/lhr/lhr.d.ts +0 -4
- package/types/lhr/settings.d.ts +0 -4
- package/core/audits/accessibility/duplicate-id-active.js +0 -42
- package/core/audits/content-width.d.ts +0 -17
- package/core/audits/content-width.js +0 -76
- package/core/audits/installable-manifest.d.ts +0 -111
- package/core/audits/installable-manifest.js +0 -248
- package/core/audits/layout-shift-elements.d.ts +0 -16
- package/core/audits/layout-shift-elements.js +0 -101
- package/core/audits/manual/pwa-cross-browser.d.ts +0 -12
- package/core/audits/manual/pwa-cross-browser.js +0 -40
- package/core/audits/manual/pwa-each-page-has-url.d.ts +0 -12
- package/core/audits/manual/pwa-each-page-has-url.js +0 -38
- package/core/audits/manual/pwa-page-transitions.d.ts +0 -12
- package/core/audits/manual/pwa-page-transitions.js +0 -38
- package/core/audits/maskable-icon.d.ts +0 -25
- package/core/audits/maskable-icon.js +0 -70
- package/core/audits/multi-check-audit.d.ts +0 -28
- package/core/audits/multi-check-audit.js +0 -82
- package/core/audits/no-unload-listeners.d.ts +0 -16
- package/core/audits/no-unload-listeners.js +0 -86
- package/core/audits/performance-budget.d.ts +0 -39
- package/core/audits/performance-budget.js +0 -154
- package/core/audits/script-elements-test-audit.d.ts +0 -14
- package/core/audits/script-elements-test-audit.js +0 -29
- package/core/audits/seo/plugins.d.ts +0 -15
- package/core/audits/seo/plugins.js +0 -150
- package/core/audits/seo/tap-targets.d.ts +0 -50
- package/core/audits/seo/tap-targets.js +0 -352
- package/core/audits/splash-screen.d.ts +0 -37
- package/core/audits/splash-screen.js +0 -98
- package/core/audits/themed-omnibox.d.ts +0 -42
- package/core/audits/themed-omnibox.js +0 -102
- package/core/audits/timing-budget.d.ts +0 -43
- package/core/audits/timing-budget.js +0 -175
- package/core/computed/manifest-values.d.ts +0 -24
- package/core/computed/manifest-values.js +0 -136
- package/core/config/budget.d.ts +0 -74
- package/core/config/budget.js +0 -340
- package/core/config/metrics-to-audits.d.ts +0 -19
- package/core/config/metrics-to-audits.js +0 -62
- package/core/gather/driver/service-workers.d.ts +0 -16
- package/core/gather/driver/service-workers.js +0 -52
- package/core/gather/gatherers/dobetterweb/tags-blocking-first-paint.d.ts +0 -47
- package/core/gather/gatherers/dobetterweb/tags-blocking-first-paint.js +0 -233
- package/core/gather/gatherers/global-listeners.d.ts +0 -27
- package/core/gather/gatherers/global-listeners.js +0 -108
- package/core/gather/gatherers/installability-errors.d.ts +0 -17
- package/core/gather/gatherers/installability-errors.js +0 -56
- package/core/gather/gatherers/script-elements.d.ts +0 -21
- package/core/gather/gatherers/script-elements.js +0 -100
- package/core/gather/gatherers/seo/embedded-content.d.ts +0 -10
- package/core/gather/gatherers/seo/embedded-content.js +0 -63
- package/core/gather/gatherers/seo/tap-targets.d.ts +0 -21
- package/core/gather/gatherers/seo/tap-targets.js +0 -389
- package/core/gather/gatherers/service-worker.d.ts +0 -10
- package/core/gather/gatherers/service-worker.js +0 -32
- package/core/gather/gatherers/web-app-manifest.d.ts +0 -32
- package/core/gather/gatherers/web-app-manifest.js +0 -106
- package/report/renderer/pwa-category-renderer.d.ts +0 -55
- package/report/renderer/pwa-category-renderer.js +0 -184
- package/third-party/chromium-synchronization/installability-errors-test.js +0 -79
- 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>` 元素"
|
|
@@ -236,17 +236,8 @@
|
|
|
236
236
|
"core/audits/accessibility/document-title.js | title": {
|
|
237
237
|
"message": "文档包含 `<title>` 元素"
|
|
238
238
|
},
|
|
239
|
-
"core/audits/accessibility/duplicate-id-active.js | description": {
|
|
240
|
-
"message": "所有可聚焦的元素都必须具有独一无二的 `id`,以确保能被辅助技术识别。[了解如何修正重复的 `id`](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-active)。"
|
|
241
|
-
},
|
|
242
|
-
"core/audits/accessibility/duplicate-id-active.js | failureTitle": {
|
|
243
|
-
"message": "处于活动状态的可聚焦元素的 `[id]` 属性不是独一无二的"
|
|
244
|
-
},
|
|
245
|
-
"core/audits/accessibility/duplicate-id-active.js | title": {
|
|
246
|
-
"message": "处于活动状态的可聚焦元素的 `[id]` 属性都是独一无二的"
|
|
247
|
-
},
|
|
248
239
|
"core/audits/accessibility/duplicate-id-aria.js | description": {
|
|
249
|
-
"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)。"
|
|
250
241
|
},
|
|
251
242
|
"core/audits/accessibility/duplicate-id-aria.js | failureTitle": {
|
|
252
243
|
"message": "ARIA ID 不是独一无二的"
|
|
@@ -255,7 +246,7 @@
|
|
|
255
246
|
"message": "ARIA ID 都是独一无二的"
|
|
256
247
|
},
|
|
257
248
|
"core/audits/accessibility/empty-heading.js | description": {
|
|
258
|
-
"message": "如果标题元素未包含任何内容或包含无法读取的文本,屏幕阅读器用户将难以获取网页的结构信息。[详细了解标题](https://dequeuniversity.com/rules/axe/4.
|
|
249
|
+
"message": "如果标题元素未包含任何内容或包含无法读取的文本,屏幕阅读器用户将难以获取网页的结构信息。[详细了解标题](https://dequeuniversity.com/rules/axe/4.9/empty-heading)。"
|
|
259
250
|
},
|
|
260
251
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
|
261
252
|
"message": "标题元素未包含任何内容。"
|
|
@@ -264,7 +255,7 @@
|
|
|
264
255
|
"message": "所有标题元素均包含内容。"
|
|
265
256
|
},
|
|
266
257
|
"core/audits/accessibility/form-field-multiple-labels.js | description": {
|
|
267
|
-
"message": "有多个标签的表单字段可能会被辅助技术(如屏幕阅读器)以令人困惑的方式播报出来,因为这些辅助技术可能会使用第一个标签或最后一个标签,也可能会使用所有标签。[了解如何使用表单标签](https://dequeuniversity.com/rules/axe/4.
|
|
258
|
+
"message": "有多个标签的表单字段可能会被辅助技术(如屏幕阅读器)以令人困惑的方式播报出来,因为这些辅助技术可能会使用第一个标签或最后一个标签,也可能会使用所有标签。[了解如何使用表单标签](https://dequeuniversity.com/rules/axe/4.9/form-field-multiple-labels)。"
|
|
268
259
|
},
|
|
269
260
|
"core/audits/accessibility/form-field-multiple-labels.js | failureTitle": {
|
|
270
261
|
"message": "表单字段有多个标签"
|
|
@@ -273,7 +264,7 @@
|
|
|
273
264
|
"message": "表单字段都没有多个标签"
|
|
274
265
|
},
|
|
275
266
|
"core/audits/accessibility/frame-title.js | description": {
|
|
276
|
-
"message": "屏幕阅读器用户依靠框架标题来描述框架的内容。[详细了解框架标题](https://dequeuniversity.com/rules/axe/4.
|
|
267
|
+
"message": "屏幕阅读器用户依靠框架标题来描述框架的内容。[详细了解框架标题](https://dequeuniversity.com/rules/axe/4.9/frame-title)。"
|
|
277
268
|
},
|
|
278
269
|
"core/audits/accessibility/frame-title.js | failureTitle": {
|
|
279
270
|
"message": "`<frame>` 或 `<iframe>` 元素缺少标题"
|
|
@@ -282,7 +273,7 @@
|
|
|
282
273
|
"message": "`<frame>` 或 `<iframe>` 元素有标题"
|
|
283
274
|
},
|
|
284
275
|
"core/audits/accessibility/heading-order.js | description": {
|
|
285
|
-
"message": "未跳过任何等级且排序正确的标题会准确传达页面的语义结构,从而使得相应页面在使用辅助技术时更易于浏览和理解。[详细了解标题顺序](https://dequeuniversity.com/rules/axe/4.
|
|
276
|
+
"message": "未跳过任何等级且排序正确的标题会准确传达页面的语义结构,从而使得相应页面在使用辅助技术时更易于浏览和理解。[详细了解标题顺序](https://dequeuniversity.com/rules/axe/4.9/heading-order)。"
|
|
286
277
|
},
|
|
287
278
|
"core/audits/accessibility/heading-order.js | failureTitle": {
|
|
288
279
|
"message": "标题元素未按降序显示"
|
|
@@ -291,7 +282,7 @@
|
|
|
291
282
|
"message": "标题元素按降序显示"
|
|
292
283
|
},
|
|
293
284
|
"core/audits/accessibility/html-has-lang.js | description": {
|
|
294
|
-
"message": "如果页面未指定 `lang` 属性,屏幕阅读器便会假定该页面采用的是用户在设置屏幕阅读器时选择的默认语言。如果该页面实际上并未采用默认语言,屏幕阅读器可能无法正确读出该页面中的文字。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
285
|
+
"message": "如果页面未指定 `lang` 属性,屏幕阅读器便会假定该页面采用的是用户在设置屏幕阅读器时选择的默认语言。如果该页面实际上并未采用默认语言,屏幕阅读器可能无法正确读出该页面中的文字。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.9/html-has-lang)。"
|
|
295
286
|
},
|
|
296
287
|
"core/audits/accessibility/html-has-lang.js | failureTitle": {
|
|
297
288
|
"message": "`<html>` 元素缺少 `[lang]` 属性"
|
|
@@ -300,7 +291,7 @@
|
|
|
300
291
|
"message": "`<html>` 元素包含 `[lang]` 属性"
|
|
301
292
|
},
|
|
302
293
|
"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.
|
|
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)。"
|
|
304
295
|
},
|
|
305
296
|
"core/audits/accessibility/html-lang-valid.js | failureTitle": {
|
|
306
297
|
"message": "`<html>` 元素的 `[lang]` 属性缺少有效值。"
|
|
@@ -309,7 +300,7 @@
|
|
|
309
300
|
"message": "`<html>` 元素的 `[lang]` 属性具备有效值"
|
|
310
301
|
},
|
|
311
302
|
"core/audits/accessibility/html-xml-lang-mismatch.js | description": {
|
|
312
|
-
"message": "如果网页未指定一致的语言,屏幕阅读器可能无法正确读出相应网页上的文本。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
303
|
+
"message": "如果网页未指定一致的语言,屏幕阅读器可能无法正确读出相应网页上的文本。[详细了解 `lang` 属性](https://dequeuniversity.com/rules/axe/4.9/html-xml-lang-mismatch)。"
|
|
313
304
|
},
|
|
314
305
|
"core/audits/accessibility/html-xml-lang-mismatch.js | failureTitle": {
|
|
315
306
|
"message": "`<html>` 元素的 `[xml:lang]` 属性与 `[lang]` 属性使用了不同的基本语言。"
|
|
@@ -318,7 +309,7 @@
|
|
|
318
309
|
"message": "`<html>` 元素的 `[xml:lang]` 属性与 `[lang]` 属性使用了相同的基本语言。"
|
|
319
310
|
},
|
|
320
311
|
"core/audits/accessibility/identical-links-same-purpose.js | description": {
|
|
321
|
-
"message": "指向相同目标位置的链接应具有相同的说明,这有助于用户了解链接的用途并决定是否要访问它。[详细了解相同链接](https://dequeuniversity.com/rules/axe/4.
|
|
312
|
+
"message": "指向相同目标位置的链接应具有相同的说明,这有助于用户了解链接的用途并决定是否要访问它。[详细了解相同链接](https://dequeuniversity.com/rules/axe/4.9/identical-links-same-purpose)。"
|
|
322
313
|
},
|
|
323
314
|
"core/audits/accessibility/identical-links-same-purpose.js | failureTitle": {
|
|
324
315
|
"message": "相同链接的用途不一致。"
|
|
@@ -327,7 +318,7 @@
|
|
|
327
318
|
"message": "相同链接的用途一致。"
|
|
328
319
|
},
|
|
329
320
|
"core/audits/accessibility/image-alt.js | description": {
|
|
330
|
-
"message": "说明性元素应力求使用简短的描述性替代文字。未指定 alt 属性的装饰性元素可被忽略。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
321
|
+
"message": "说明性元素应力求使用简短的描述性替代文字。未指定 alt 属性的装饰性元素可被忽略。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.9/image-alt)。"
|
|
331
322
|
},
|
|
332
323
|
"core/audits/accessibility/image-alt.js | failureTitle": {
|
|
333
324
|
"message": "图片元素缺少 `[alt]` 属性"
|
|
@@ -336,7 +327,7 @@
|
|
|
336
327
|
"message": "图片元素具备 `[alt]` 属性"
|
|
337
328
|
},
|
|
338
329
|
"core/audits/accessibility/image-redundant-alt.js | description": {
|
|
339
|
-
"message": "说明性元素应力求使用简短的描述性替代文本。如果替代文本与链接或图片旁边的文本完全相同,可能会让屏幕阅读器用户感到困惑,因为他们会听到两次同样的内容。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
330
|
+
"message": "说明性元素应力求使用简短的描述性替代文本。如果替代文本与链接或图片旁边的文本完全相同,可能会让屏幕阅读器用户感到困惑,因为他们会听到两次同样的内容。[详细了解 `alt` 属性](https://dequeuniversity.com/rules/axe/4.9/image-redundant-alt)。"
|
|
340
331
|
},
|
|
341
332
|
"core/audits/accessibility/image-redundant-alt.js | failureTitle": {
|
|
342
333
|
"message": "图片元素具有属于多余文本的 `[alt]` 属性。"
|
|
@@ -345,7 +336,7 @@
|
|
|
345
336
|
"message": "图片元素没有属于多余文本的 `[alt]` 属性。"
|
|
346
337
|
},
|
|
347
338
|
"core/audits/accessibility/input-button-name.js | description": {
|
|
348
|
-
"message": "向输入按钮添加可识别的无障碍文本可帮助屏幕阅读器用户了解输入按钮的用途。[详细了解输入按钮](https://dequeuniversity.com/rules/axe/4.
|
|
339
|
+
"message": "向输入按钮添加可识别的无障碍文本可帮助屏幕阅读器用户了解输入按钮的用途。[详细了解输入按钮](https://dequeuniversity.com/rules/axe/4.9/input-button-name)。"
|
|
349
340
|
},
|
|
350
341
|
"core/audits/accessibility/input-button-name.js | failureTitle": {
|
|
351
342
|
"message": "输入按钮没有可识别的文本。"
|
|
@@ -354,7 +345,7 @@
|
|
|
354
345
|
"message": "输入按钮具有可识别的文本。"
|
|
355
346
|
},
|
|
356
347
|
"core/audits/accessibility/input-image-alt.js | description": {
|
|
357
|
-
"message": "将图片用作 `<input>` 按钮时,提供替代文字有助于屏幕阅读器用户了解该按钮的用途。[了解输入图片替代文字](https://dequeuniversity.com/rules/axe/4.
|
|
348
|
+
"message": "将图片用作 `<input>` 按钮时,提供替代文字有助于屏幕阅读器用户了解该按钮的用途。[了解输入图片替代文字](https://dequeuniversity.com/rules/axe/4.9/input-image-alt)。"
|
|
358
349
|
},
|
|
359
350
|
"core/audits/accessibility/input-image-alt.js | failureTitle": {
|
|
360
351
|
"message": "`<input type=\"image\">` 元素无对应的 `[alt]` 文字"
|
|
@@ -363,7 +354,7 @@
|
|
|
363
354
|
"message": "`<input type=\"image\">` 元素有对应的 `[alt]` 文字"
|
|
364
355
|
},
|
|
365
356
|
"core/audits/accessibility/label-content-name-mismatch.js | description": {
|
|
366
|
-
"message": "如果可见文本标签与无障碍名称不匹配,可能会让屏幕阅读器用户感到困惑。[详细了解无障碍名称](https://dequeuniversity.com/rules/axe/4.
|
|
357
|
+
"message": "如果可见文本标签与无障碍名称不匹配,可能会让屏幕阅读器用户感到困惑。[详细了解无障碍名称](https://dequeuniversity.com/rules/axe/4.9/label-content-name-mismatch)。"
|
|
367
358
|
},
|
|
368
359
|
"core/audits/accessibility/label-content-name-mismatch.js | failureTitle": {
|
|
369
360
|
"message": "带有可见文本标签的元素没有匹配的无障碍名称。"
|
|
@@ -372,7 +363,7 @@
|
|
|
372
363
|
"message": "带有可见文本标签的元素具有匹配的无障碍名称。"
|
|
373
364
|
},
|
|
374
365
|
"core/audits/accessibility/label.js | description": {
|
|
375
|
-
"message": "标签可确保辅助技术(如屏幕阅读器)正确读出表单控件。[详细了解表单元素标签](https://dequeuniversity.com/rules/axe/4.
|
|
366
|
+
"message": "标签可确保辅助技术(如屏幕阅读器)正确读出表单控件。[详细了解表单元素标签](https://dequeuniversity.com/rules/axe/4.9/label)。"
|
|
376
367
|
},
|
|
377
368
|
"core/audits/accessibility/label.js | failureTitle": {
|
|
378
369
|
"message": "表单元素不具备关联的标签"
|
|
@@ -381,7 +372,7 @@
|
|
|
381
372
|
"message": "表单元素具有关联的标签"
|
|
382
373
|
},
|
|
383
374
|
"core/audits/accessibility/landmark-one-main.js | description": {
|
|
384
|
-
"message": "主要位置标记有助于屏幕阅读器用户浏览网页。[详细了解位置标记](https://dequeuniversity.com/rules/axe/4.
|
|
375
|
+
"message": "主要位置标记有助于屏幕阅读器用户浏览网页。[详细了解位置标记](https://dequeuniversity.com/rules/axe/4.9/landmark-one-main)。"
|
|
385
376
|
},
|
|
386
377
|
"core/audits/accessibility/landmark-one-main.js | failureTitle": {
|
|
387
378
|
"message": "文档缺少主要位置标记。"
|
|
@@ -390,7 +381,7 @@
|
|
|
390
381
|
"message": "文档有一个主要位置标记。"
|
|
391
382
|
},
|
|
392
383
|
"core/audits/accessibility/link-in-text-block.js | description": {
|
|
393
|
-
"message": "对许多用户而言,对比度低的文本都是难以阅读或无法阅读的。清晰可辨的链接文本可改善低视力用户的体验。[了解如何让链接容易辨识](https://dequeuniversity.com/rules/axe/4.
|
|
384
|
+
"message": "对许多用户而言,对比度低的文本都是难以阅读或无法阅读的。清晰可辨的链接文本可改善低视力用户的体验。[了解如何让链接容易辨识](https://dequeuniversity.com/rules/axe/4.9/link-in-text-block)。"
|
|
394
385
|
},
|
|
395
386
|
"core/audits/accessibility/link-in-text-block.js | failureTitle": {
|
|
396
387
|
"message": "必须依赖颜色才能辨识链接。"
|
|
@@ -399,7 +390,7 @@
|
|
|
399
390
|
"message": "无需依赖颜色即可辨识链接。"
|
|
400
391
|
},
|
|
401
392
|
"core/audits/accessibility/link-name.js | description": {
|
|
402
|
-
"message": "请确保链接文字(以及用作链接的图片替代文字)可识别、独一无二且可聚焦,这样做会提升屏幕阅读器用户的导航体验。[了解如何使链接可供访问](https://dequeuniversity.com/rules/axe/4.
|
|
393
|
+
"message": "请确保链接文字(以及用作链接的图片替代文字)可识别、独一无二且可聚焦,这样做会提升屏幕阅读器用户的导航体验。[了解如何使链接可供访问](https://dequeuniversity.com/rules/axe/4.9/link-name)。"
|
|
403
394
|
},
|
|
404
395
|
"core/audits/accessibility/link-name.js | failureTitle": {
|
|
405
396
|
"message": "链接缺少可识别的名称"
|
|
@@ -408,7 +399,7 @@
|
|
|
408
399
|
"message": "链接具备可识别的名称"
|
|
409
400
|
},
|
|
410
401
|
"core/audits/accessibility/list.js | description": {
|
|
411
|
-
"message": "屏幕阅读器会采用特定的方法来读出列表内容。确保列表结构正确有助于屏幕阅读器顺利读出相应内容。[详细了解适当的列表结构](https://dequeuniversity.com/rules/axe/4.
|
|
402
|
+
"message": "屏幕阅读器会采用特定的方法来读出列表内容。确保列表结构正确有助于屏幕阅读器顺利读出相应内容。[详细了解适当的列表结构](https://dequeuniversity.com/rules/axe/4.9/list)。"
|
|
412
403
|
},
|
|
413
404
|
"core/audits/accessibility/list.js | failureTitle": {
|
|
414
405
|
"message": "列表并非只包含 `<li>` 元素和脚本支持元素(`<script>` 和 `<template>`)。"
|
|
@@ -417,7 +408,7 @@
|
|
|
417
408
|
"message": "列表只包含 `<li>` 元素和脚本支持元素(`<script>` 和 `<template>`)。"
|
|
418
409
|
},
|
|
419
410
|
"core/audits/accessibility/listitem.js | description": {
|
|
420
|
-
"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)。"
|
|
421
412
|
},
|
|
422
413
|
"core/audits/accessibility/listitem.js | failureTitle": {
|
|
423
414
|
"message": "列表项 (`<li>`) 未包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中。"
|
|
@@ -426,7 +417,7 @@
|
|
|
426
417
|
"message": "列表项 (`<li>`) 包含在 `<ul>`、`<ol>` 或 `<menu>` 父元素中"
|
|
427
418
|
},
|
|
428
419
|
"core/audits/accessibility/meta-refresh.js | description": {
|
|
429
|
-
"message": "用户并不希望网页自动刷新,因为自动刷新会不断地将焦点移回到页面顶部。这可能会让用户感到沮丧或困惑。[详细了解刷新元标记](https://dequeuniversity.com/rules/axe/4.
|
|
420
|
+
"message": "用户并不希望网页自动刷新,因为自动刷新会不断地将焦点移回到页面顶部。这可能会让用户感到沮丧或困惑。[详细了解刷新元标记](https://dequeuniversity.com/rules/axe/4.9/meta-refresh)。"
|
|
430
421
|
},
|
|
431
422
|
"core/audits/accessibility/meta-refresh.js | failureTitle": {
|
|
432
423
|
"message": "文档使用了 `<meta http-equiv=\"refresh\">`"
|
|
@@ -435,7 +426,7 @@
|
|
|
435
426
|
"message": "文档未使用 `<meta http-equiv=\"refresh\">`"
|
|
436
427
|
},
|
|
437
428
|
"core/audits/accessibility/meta-viewport.js | description": {
|
|
438
|
-
"message": "对于必须依靠放大屏幕才能清晰看到网页内容的低视力用户而言,停用缩放功能会给他们带来问题。[详细了解视口元标记](https://dequeuniversity.com/rules/axe/4.
|
|
429
|
+
"message": "对于必须依靠放大屏幕才能清晰看到网页内容的低视力用户而言,停用缩放功能会给他们带来问题。[详细了解视口元标记](https://dequeuniversity.com/rules/axe/4.9/meta-viewport)。"
|
|
439
430
|
},
|
|
440
431
|
"core/audits/accessibility/meta-viewport.js | failureTitle": {
|
|
441
432
|
"message": "`<meta name=\"viewport\">` 元素中使用了 `[user-scalable=\"no\"]`,或者 `[maximum-scale]` 属性小于 5。"
|
|
@@ -444,7 +435,7 @@
|
|
|
444
435
|
"message": "`[user-scalable=\"no\"]` 未用在 `<meta name=\"viewport\">` 元素中,并且 `[maximum-scale]` 属性不小于 5。"
|
|
445
436
|
},
|
|
446
437
|
"core/audits/accessibility/object-alt.js | description": {
|
|
447
|
-
"message": "屏幕阅读器无法转换非文字内容。通过向 `<object>` 元素添加替代文字,可帮助屏幕阅读器将含义传达给用户。[详细了解 `object` 元素的替代文字](https://dequeuniversity.com/rules/axe/4.
|
|
438
|
+
"message": "屏幕阅读器无法转换非文字内容。通过向 `<object>` 元素添加替代文字,可帮助屏幕阅读器将含义传达给用户。[详细了解 `object` 元素的替代文字](https://dequeuniversity.com/rules/axe/4.9/object-alt)。"
|
|
448
439
|
},
|
|
449
440
|
"core/audits/accessibility/object-alt.js | failureTitle": {
|
|
450
441
|
"message": "`<object>` 元素无对应的替代文字"
|
|
@@ -453,7 +444,7 @@
|
|
|
453
444
|
"message": "`<object>` 元素有对应的替代文字"
|
|
454
445
|
},
|
|
455
446
|
"core/audits/accessibility/select-name.js | description": {
|
|
456
|
-
"message": "如果表单元素缺少有效标签,可能会给屏幕阅读器用户带来糟糕的体验。[详细了解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
|
447
|
+
"message": "如果表单元素缺少有效标签,可能会给屏幕阅读器用户带来糟糕的体验。[详细了解 `select` 元素](https://dequeuniversity.com/rules/axe/4.9/select-name)。"
|
|
457
448
|
},
|
|
458
449
|
"core/audits/accessibility/select-name.js | failureTitle": {
|
|
459
450
|
"message": "select 元素缺少关联的标签元素。"
|
|
@@ -462,7 +453,7 @@
|
|
|
462
453
|
"message": "select 元素具有关联的标签元素。"
|
|
463
454
|
},
|
|
464
455
|
"core/audits/accessibility/skip-link.js | description": {
|
|
465
|
-
"message": "添加跳转链接可帮助用户跳至主要内容以节省时间。[详细了解跳转链接](https://dequeuniversity.com/rules/axe/4.
|
|
456
|
+
"message": "添加跳转链接可帮助用户跳至主要内容以节省时间。[详细了解跳转链接](https://dequeuniversity.com/rules/axe/4.9/skip-link)。"
|
|
466
457
|
},
|
|
467
458
|
"core/audits/accessibility/skip-link.js | failureTitle": {
|
|
468
459
|
"message": "跳转链接无法聚焦。"
|
|
@@ -471,7 +462,7 @@
|
|
|
471
462
|
"message": "跳转链接可聚焦。"
|
|
472
463
|
},
|
|
473
464
|
"core/audits/accessibility/tabindex.js | description": {
|
|
474
|
-
"message": "值大于 0 意味着明确的导航顺序。尽管这在技术上可行,但往往会让依赖辅助技术的用户感到沮丧。[详细了解 `tabindex` 属性](https://dequeuniversity.com/rules/axe/4.
|
|
465
|
+
"message": "值大于 0 意味着明确的导航顺序。尽管这在技术上可行,但往往会让依赖辅助技术的用户感到沮丧。[详细了解 `tabindex` 属性](https://dequeuniversity.com/rules/axe/4.9/tabindex)。"
|
|
475
466
|
},
|
|
476
467
|
"core/audits/accessibility/tabindex.js | failureTitle": {
|
|
477
468
|
"message": "一些元素的 `[tabindex]` 值大于 0"
|
|
@@ -480,7 +471,7 @@
|
|
|
480
471
|
"message": "所有元素的 `[tabindex]` 值都不大于 0"
|
|
481
472
|
},
|
|
482
473
|
"core/audits/accessibility/table-duplicate-name.js | description": {
|
|
483
|
-
"message": "summary 属性应描述表格结构,而 `<caption>` 应含有屏幕上显示的标题。准确的表格标记对屏幕阅读器用户有帮助。[详细了解 summary 和 caption](https://dequeuniversity.com/rules/axe/4.
|
|
474
|
+
"message": "summary 属性应描述表格结构,而 `<caption>` 应含有屏幕上显示的标题。准确的表格标记对屏幕阅读器用户有帮助。[详细了解 summary 和 caption](https://dequeuniversity.com/rules/axe/4.9/table-duplicate-name)。"
|
|
484
475
|
},
|
|
485
476
|
"core/audits/accessibility/table-duplicate-name.js | failureTitle": {
|
|
486
477
|
"message": "表格的 summary 属性和 `<caption>.` 具有相同的内容"
|
|
@@ -489,7 +480,7 @@
|
|
|
489
480
|
"message": "相关表格的 summary 属性和 `<caption>` 具有不同的内容。"
|
|
490
481
|
},
|
|
491
482
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
|
492
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[colspan]` 属性的单元格),这可以提升屏幕阅读器用户的体验。[详细了解表格标题](https://dequeuniversity.com/rules/axe/4.
|
|
483
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[colspan]` 属性的单元格),这可以提升屏幕阅读器用户的体验。[详细了解表格标题](https://dequeuniversity.com/rules/axe/4.9/table-fake-caption)。"
|
|
493
484
|
},
|
|
494
485
|
"core/audits/accessibility/table-fake-caption.js | failureTitle": {
|
|
495
486
|
"message": "表格未使用 `<caption>`(而是使用了带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
|
@@ -498,7 +489,7 @@
|
|
|
498
489
|
"message": "表格使用了 `<caption>`(而非带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
|
499
490
|
},
|
|
500
491
|
"core/audits/accessibility/target-size.js | description": {
|
|
501
|
-
"message": "如果触摸目标的尺寸和间距足够大,就能帮助难以精准触按小控件的用户激活相应目标。[详细了解触摸目标](https://dequeuniversity.com/rules/axe/4.
|
|
492
|
+
"message": "如果触摸目标的尺寸和间距足够大,就能帮助难以精准触按小控件的用户激活相应目标。[详细了解触摸目标](https://dequeuniversity.com/rules/axe/4.9/target-size)。"
|
|
502
493
|
},
|
|
503
494
|
"core/audits/accessibility/target-size.js | failureTitle": {
|
|
504
495
|
"message": "触摸目标的尺寸或间距不足。"
|
|
@@ -507,7 +498,7 @@
|
|
|
507
498
|
"message": "触摸目标的尺寸和间距足够大。"
|
|
508
499
|
},
|
|
509
500
|
"core/audits/accessibility/td-has-header.js | description": {
|
|
510
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保大型表格(宽度和高度至少为 3 个单元格)中的 `<td>` 元素具有关联的表格标头,这可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.
|
|
501
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保大型表格(宽度和高度至少为 3 个单元格)中的 `<td>` 元素具有关联的表格标头,这可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.9/td-has-header)。"
|
|
511
502
|
},
|
|
512
503
|
"core/audits/accessibility/td-has-header.js | failureTitle": {
|
|
513
504
|
"message": "大型 `<table>` 中的 `<td>` 元素没有表格标头。"
|
|
@@ -516,7 +507,7 @@
|
|
|
516
507
|
"message": "大型 `<table>` 中的 `<td>` 元素具有一个或多个表格标头。"
|
|
517
508
|
},
|
|
518
509
|
"core/audits/accessibility/td-headers-attr.js | description": {
|
|
519
|
-
"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)。"
|
|
520
511
|
},
|
|
521
512
|
"core/audits/accessibility/td-headers-attr.js | failureTitle": {
|
|
522
513
|
"message": "`<table>` 元素中使用 `[headers]` 属性的单元格引用了在同一表格中找不到的元素 `id`。"
|
|
@@ -525,7 +516,7 @@
|
|
|
525
516
|
"message": "`<table>` 元素中使用 `[headers]` 属性的单元格引用的是同一表格中的单元格。"
|
|
526
517
|
},
|
|
527
518
|
"core/audits/accessibility/th-has-data-cells.js | description": {
|
|
528
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。确保表格标头始终引用特定一组单元格可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.
|
|
519
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。确保表格标头始终引用特定一组单元格可以提升屏幕阅读器用户的体验。[详细了解表格标头](https://dequeuniversity.com/rules/axe/4.9/th-has-data-cells)。"
|
|
529
520
|
},
|
|
530
521
|
"core/audits/accessibility/th-has-data-cells.js | failureTitle": {
|
|
531
522
|
"message": "`<th>` 元素和 `[role=\"columnheader\"/\"rowheader\"]` 的元素缺少它们所描述的数据单元格。"
|
|
@@ -534,7 +525,7 @@
|
|
|
534
525
|
"message": "`<th>` 元素和 `[role=\"columnheader\"/\"rowheader\"]` 的元素具备它们所描述的数据单元格。"
|
|
535
526
|
},
|
|
536
527
|
"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.
|
|
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)。"
|
|
538
529
|
},
|
|
539
530
|
"core/audits/accessibility/valid-lang.js | failureTitle": {
|
|
540
531
|
"message": "`[lang]` 属性缺少有效值"
|
|
@@ -543,7 +534,7 @@
|
|
|
543
534
|
"message": "`[lang]` 属性的值有效"
|
|
544
535
|
},
|
|
545
536
|
"core/audits/accessibility/video-caption.js | description": {
|
|
546
|
-
"message": "如果视频提供了字幕,失聪用户和听障用户便能更轻松地获取此视频中的信息。[详细了解视频字幕](https://dequeuniversity.com/rules/axe/4.
|
|
537
|
+
"message": "如果视频提供了字幕,失聪用户和听障用户便能更轻松地获取此视频中的信息。[详细了解视频字幕](https://dequeuniversity.com/rules/axe/4.9/video-caption)。"
|
|
547
538
|
},
|
|
548
539
|
"core/audits/accessibility/video-caption.js | failureTitle": {
|
|
549
540
|
"message": "`<video>` 元素缺少带 `[kind=\"captions\"]` 的 `<track>` 元素。"
|
|
@@ -743,18 +734,6 @@
|
|
|
743
734
|
"core/audits/byte-efficiency/uses-text-compression.js | title": {
|
|
744
735
|
"message": "启用文本压缩"
|
|
745
736
|
},
|
|
746
|
-
"core/audits/content-width.js | description": {
|
|
747
|
-
"message": "如果应用内容的宽度与视口的宽度不一致,该应用可能不会针对移动设备屏幕进行优化。[了解如何根据视口调整内容大小](https://developer.chrome.com/docs/lighthouse/pwa/content-width/)。"
|
|
748
|
-
},
|
|
749
|
-
"core/audits/content-width.js | explanation": {
|
|
750
|
-
"message": "视口大小({innerWidth} 像素)与窗口大小({outerWidth} 像素)不一致。"
|
|
751
|
-
},
|
|
752
|
-
"core/audits/content-width.js | failureTitle": {
|
|
753
|
-
"message": "未根据视口正确设置内容尺寸"
|
|
754
|
-
},
|
|
755
|
-
"core/audits/content-width.js | title": {
|
|
756
|
-
"message": "已根据视口正确设置内容尺寸"
|
|
757
|
-
},
|
|
758
737
|
"core/audits/critical-request-chains.js | description": {
|
|
759
738
|
"message": "下面的关键请求链显示了以高优先级加载的资源。建议缩短链长、缩减资源的下载文件大小,或者推迟下载不必要的资源,从而提高网页加载速度。[了解如何避免链接关键请求](https://developer.chrome.com/docs/lighthouse/performance/critical-request-chains/)。"
|
|
760
739
|
},
|
|
@@ -1004,102 +983,6 @@
|
|
|
1004
983
|
"core/audits/image-size-responsive.js | title": {
|
|
1005
984
|
"message": "所提供的图片都采用了合适的分辨率"
|
|
1006
985
|
},
|
|
1007
|
-
"core/audits/installable-manifest.js | already-installed": {
|
|
1008
|
-
"message": "该应用已安装"
|
|
1009
|
-
},
|
|
1010
|
-
"core/audits/installable-manifest.js | cannot-download-icon": {
|
|
1011
|
-
"message": "无法从清单下载必需的图标"
|
|
1012
|
-
},
|
|
1013
|
-
"core/audits/installable-manifest.js | columnValue": {
|
|
1014
|
-
"message": "失败原因"
|
|
1015
|
-
},
|
|
1016
|
-
"core/audits/installable-manifest.js | description": {
|
|
1017
|
-
"message": "Service Worker 是一项技术,可让您的应用使用很多渐进式 Web 应用功能,例如离线、添加到主屏幕和推送通知。如果 Service Worker 和清单的实现均正确无误,浏览器可主动提示用户向其主屏幕中添加您的应用,这有助于提高互动度。[详细了解清单可安装性要求](https://developer.chrome.com/docs/lighthouse/pwa/installable-manifest/)。"
|
|
1018
|
-
},
|
|
1019
|
-
"core/audits/installable-manifest.js | displayValue": {
|
|
1020
|
-
"message": "{itemCount,plural, =1{1 个原因}other{# 个原因}}"
|
|
1021
|
-
},
|
|
1022
|
-
"core/audits/installable-manifest.js | failureTitle": {
|
|
1023
|
-
"message": "Web 应用清单或 Service Worker 不符合可安装性要求"
|
|
1024
|
-
},
|
|
1025
|
-
"core/audits/installable-manifest.js | ids-do-not-match": {
|
|
1026
|
-
"message": "Play 商店应用网址和 Play 商店 ID 不相符"
|
|
1027
|
-
},
|
|
1028
|
-
"core/audits/installable-manifest.js | in-incognito": {
|
|
1029
|
-
"message": "该网页是在无痕式窗口中加载的"
|
|
1030
|
-
},
|
|
1031
|
-
"core/audits/installable-manifest.js | manifest-display-not-supported": {
|
|
1032
|
-
"message": "清单 `display` 属性必须是 `standalone`、`fullscreen` 或 `minimal-ui`"
|
|
1033
|
-
},
|
|
1034
|
-
"core/audits/installable-manifest.js | manifest-display-override-not-supported": {
|
|
1035
|
-
"message": "清单包含“display_override”字段,因此第一个受支持的显示模式必须是“standalone”、“fullscreen”或“minimal-ui”之一"
|
|
1036
|
-
},
|
|
1037
|
-
"core/audits/installable-manifest.js | manifest-empty": {
|
|
1038
|
-
"message": "清单无法提取、为空或无法解析"
|
|
1039
|
-
},
|
|
1040
|
-
"core/audits/installable-manifest.js | manifest-location-changed": {
|
|
1041
|
-
"message": "在提取清单期间,清单网址发生了更改。"
|
|
1042
|
-
},
|
|
1043
|
-
"core/audits/installable-manifest.js | manifest-missing-name-or-short-name": {
|
|
1044
|
-
"message": "清单未包含 `name` 或 `short_name` 字段"
|
|
1045
|
-
},
|
|
1046
|
-
"core/audits/installable-manifest.js | manifest-missing-suitable-icon": {
|
|
1047
|
-
"message": "清单未包含合适的图标 - 必须提供不小于 {value0} 像素的 PNG、SVG 或 WebP 格式图标;必须设置 sizes 属性;如果设置了 purpose 属性,其中必须包含“any”。"
|
|
1048
|
-
},
|
|
1049
|
-
"core/audits/installable-manifest.js | no-acceptable-icon": {
|
|
1050
|
-
"message": "清单未提供不小于 {value0} 正方形像素的 PNG、SVG 或 WebP 格式图标,而且 purpose 属性设为“any”或未设置"
|
|
1051
|
-
},
|
|
1052
|
-
"core/audits/installable-manifest.js | no-icon-available": {
|
|
1053
|
-
"message": "下载的图标为空或已损坏"
|
|
1054
|
-
},
|
|
1055
|
-
"core/audits/installable-manifest.js | no-id-specified": {
|
|
1056
|
-
"message": "未提供 Play 商店 ID"
|
|
1057
|
-
},
|
|
1058
|
-
"core/audits/installable-manifest.js | no-manifest": {
|
|
1059
|
-
"message": "该网页没有清单 <link> 网址"
|
|
1060
|
-
},
|
|
1061
|
-
"core/audits/installable-manifest.js | no-url-for-service-worker": {
|
|
1062
|
-
"message": "如果清单不含“start_url”字段,则无法检查 Service Worker"
|
|
1063
|
-
},
|
|
1064
|
-
"core/audits/installable-manifest.js | noErrorId": {
|
|
1065
|
-
"message": "系统无法识别可安装性错误 ID“{errorId}”"
|
|
1066
|
-
},
|
|
1067
|
-
"core/audits/installable-manifest.js | not-from-secure-origin": {
|
|
1068
|
-
"message": "该网页不是从安全来源提供的"
|
|
1069
|
-
},
|
|
1070
|
-
"core/audits/installable-manifest.js | not-in-main-frame": {
|
|
1071
|
-
"message": "该网页不是在主框架中加载的"
|
|
1072
|
-
},
|
|
1073
|
-
"core/audits/installable-manifest.js | not-offline-capable": {
|
|
1074
|
-
"message": "该网页无法离线使用"
|
|
1075
|
-
},
|
|
1076
|
-
"core/audits/installable-manifest.js | pipeline-restarted": {
|
|
1077
|
-
"message": "PWA 已卸载完毕,正在重置可安装性检查。"
|
|
1078
|
-
},
|
|
1079
|
-
"core/audits/installable-manifest.js | platform-not-supported-on-android": {
|
|
1080
|
-
"message": "指定的应用平台在 Android 设备上不受支持"
|
|
1081
|
-
},
|
|
1082
|
-
"core/audits/installable-manifest.js | prefer-related-applications": {
|
|
1083
|
-
"message": "清单指定了 prefer_related_applications: true"
|
|
1084
|
-
},
|
|
1085
|
-
"core/audits/installable-manifest.js | prefer-related-applications-only-beta-stable": {
|
|
1086
|
-
"message": "prefer_related_applications 仅适用于 Android 设备上的 Chrome Beta 版和稳定版。"
|
|
1087
|
-
},
|
|
1088
|
-
"core/audits/installable-manifest.js | protocol-timeout": {
|
|
1089
|
-
"message": "Lighthouse 无法确定该页面是否可安装。请在较新版本的 Chrome 中重试。"
|
|
1090
|
-
},
|
|
1091
|
-
"core/audits/installable-manifest.js | start-url-not-valid": {
|
|
1092
|
-
"message": "清单起始网址无效"
|
|
1093
|
-
},
|
|
1094
|
-
"core/audits/installable-manifest.js | title": {
|
|
1095
|
-
"message": "Web 应用清单和 Service Worker 符合可安装性要求"
|
|
1096
|
-
},
|
|
1097
|
-
"core/audits/installable-manifest.js | url-not-supported-for-webapk": {
|
|
1098
|
-
"message": "清单中的某个网址包含用户名、密码或端口"
|
|
1099
|
-
},
|
|
1100
|
-
"core/audits/installable-manifest.js | warn-not-offline-capable": {
|
|
1101
|
-
"message": "该网页无法离线使用。Chrome 于 2021 年 8 月推出 93 稳定版之后,不会将该网页视为可安装。"
|
|
1102
|
-
},
|
|
1103
986
|
"core/audits/is-on-https.js | allowed": {
|
|
1104
987
|
"message": "允许"
|
|
1105
988
|
},
|
|
@@ -1157,15 +1040,6 @@
|
|
|
1157
1040
|
"core/audits/largest-contentful-paint-element.js | title": {
|
|
1158
1041
|
"message": "最大内容渲染时间元素"
|
|
1159
1042
|
},
|
|
1160
|
-
"core/audits/layout-shift-elements.js | columnContribution": {
|
|
1161
|
-
"message": "布局偏移的影响"
|
|
1162
|
-
},
|
|
1163
|
-
"core/audits/layout-shift-elements.js | description": {
|
|
1164
|
-
"message": "这些 DOM 元素受布局偏移的影响最大。由于[窗口化](https://web.dev/articles/cls#what_is_cls)的原因,某些布局偏移可能未包含在 CLS 指标值中。[了解如何改善 CLS](https://web.dev/articles/optimize-cls)"
|
|
1165
|
-
},
|
|
1166
|
-
"core/audits/layout-shift-elements.js | title": {
|
|
1167
|
-
"message": "请避免出现大幅度的布局偏移"
|
|
1168
|
-
},
|
|
1169
1043
|
"core/audits/layout-shifts.js | columnScore": {
|
|
1170
1044
|
"message": "布局偏移分数"
|
|
1171
1045
|
},
|
|
@@ -1220,33 +1094,6 @@
|
|
|
1220
1094
|
"core/audits/mainthread-work-breakdown.js | title": {
|
|
1221
1095
|
"message": "最大限度地减少主线程工作"
|
|
1222
1096
|
},
|
|
1223
|
-
"core/audits/manual/pwa-cross-browser.js | description": {
|
|
1224
|
-
"message": "网站应该能在所有主流浏览器中正常显示,以便覆盖尽可能多的用户。[了解跨浏览器兼容性](https://developer.chrome.com/docs/lighthouse/pwa/pwa-cross-browser/)。"
|
|
1225
|
-
},
|
|
1226
|
-
"core/audits/manual/pwa-cross-browser.js | title": {
|
|
1227
|
-
"message": "网站能在各种浏览器中正常显示"
|
|
1228
|
-
},
|
|
1229
|
-
"core/audits/manual/pwa-each-page-has-url.js | description": {
|
|
1230
|
-
"message": "确保各个网页可通过网址建立深层链接,并且这些网址是独一无二的,可以在社交媒体上共享。[详细了解如何提供深层链接](https://developer.chrome.com/docs/lighthouse/pwa/pwa-each-page-has-url/)。"
|
|
1231
|
-
},
|
|
1232
|
-
"core/audits/manual/pwa-each-page-has-url.js | title": {
|
|
1233
|
-
"message": "每个网页都有一个网址"
|
|
1234
|
-
},
|
|
1235
|
-
"core/audits/manual/pwa-page-transitions.js | description": {
|
|
1236
|
-
"message": "无论点按哪个链接,都应能快速跳转到相应页面,即使网速缓慢也应如此。若想让用户感知到出色的网页加载速度,这种体验至关重要。[详细了解网页转换](https://developer.chrome.com/docs/lighthouse/pwa/pwa-page-transitions/)。"
|
|
1237
|
-
},
|
|
1238
|
-
"core/audits/manual/pwa-page-transitions.js | title": {
|
|
1239
|
-
"message": "在不同网页之间跳转时,用户感觉不到网页加载缓慢"
|
|
1240
|
-
},
|
|
1241
|
-
"core/audits/maskable-icon.js | description": {
|
|
1242
|
-
"message": "利用可遮盖式图标,可确保应用安装到设备上后,图片可填满整个形状轮廓,而不会出现黑边。[了解可遮盖式清单图标](https://developer.chrome.com/docs/lighthouse/pwa/maskable-icon-audit/)。"
|
|
1243
|
-
},
|
|
1244
|
-
"core/audits/maskable-icon.js | failureTitle": {
|
|
1245
|
-
"message": "清单不含可遮罩的图标"
|
|
1246
|
-
},
|
|
1247
|
-
"core/audits/maskable-icon.js | title": {
|
|
1248
|
-
"message": "清单含有可遮罩的图标"
|
|
1249
|
-
},
|
|
1250
1097
|
"core/audits/metrics/cumulative-layout-shift.js | description": {
|
|
1251
1098
|
"message": "Cumulative Layout Shift 旨在衡量可见元素在视口内的移动情况。[详细了解 Cumulative Layout Shift 指标](https://web.dev/articles/cls)。"
|
|
1252
1099
|
},
|
|
@@ -1286,15 +1133,6 @@
|
|
|
1286
1133
|
"core/audits/network-server-latency.js | title": {
|
|
1287
1134
|
"message": "服务器后端延迟"
|
|
1288
1135
|
},
|
|
1289
|
-
"core/audits/no-unload-listeners.js | description": {
|
|
1290
|
-
"message": "“`unload`”事件不会可靠地触发,而且监听该事件可能会妨碍系统实施“往返缓存”之类的浏览器优化策略。请改用“`pagehide`”或“`visibilitychange`”事件。[详细了解如何卸载事件监听器](https://web.dev/articles/bfcache#never_use_the_unload_event)"
|
|
1291
|
-
},
|
|
1292
|
-
"core/audits/no-unload-listeners.js | failureTitle": {
|
|
1293
|
-
"message": "注册“`unload`”事件监听器"
|
|
1294
|
-
},
|
|
1295
|
-
"core/audits/no-unload-listeners.js | title": {
|
|
1296
|
-
"message": "避免使用“`unload`”事件监听器"
|
|
1297
|
-
},
|
|
1298
1136
|
"core/audits/non-composited-animations.js | description": {
|
|
1299
1137
|
"message": "未合成的动画可能会卡顿并增加 CLS。[了解如何避免使用未合成的动画](https://developer.chrome.com/docs/lighthouse/performance/non-composited-animations/)"
|
|
1300
1138
|
},
|
|
@@ -1322,15 +1160,6 @@
|
|
|
1322
1160
|
"core/audits/non-composited-animations.js | unsupportedTimingParameters": {
|
|
1323
1161
|
"message": "效果含有不受支持的时间参数"
|
|
1324
1162
|
},
|
|
1325
|
-
"core/audits/performance-budget.js | description": {
|
|
1326
|
-
"message": "请将网络请求的数量和数据大小保持在提供的性能预算所设定的目标之内。[详细了解性能预算](https://developers.google.com/web/tools/lighthouse/audits/budgets)。"
|
|
1327
|
-
},
|
|
1328
|
-
"core/audits/performance-budget.js | requestCountOverBudget": {
|
|
1329
|
-
"message": "{count,plural, =1{1 条请求}other{# 条请求}}"
|
|
1330
|
-
},
|
|
1331
|
-
"core/audits/performance-budget.js | title": {
|
|
1332
|
-
"message": "性能预算"
|
|
1333
|
-
},
|
|
1334
1163
|
"core/audits/preload-fonts.js | description": {
|
|
1335
1164
|
"message": "请预加载 `optional` 字体以方便初访者使用。[详细了解如何预加载字体](https://web.dev/articles/preload-optional-fonts)"
|
|
1336
1165
|
},
|
|
@@ -1481,15 +1310,6 @@
|
|
|
1481
1310
|
"core/audits/seo/meta-description.js | title": {
|
|
1482
1311
|
"message": "文档有 meta 描述"
|
|
1483
1312
|
},
|
|
1484
|
-
"core/audits/seo/plugins.js | description": {
|
|
1485
|
-
"message": "搜索引擎无法将插件内容编入索引,而且许多设备都限制或不支持使用插件。[详细了解如何避免使用插件](https://developer.chrome.com/docs/lighthouse/seo/plugins/)。"
|
|
1486
|
-
},
|
|
1487
|
-
"core/audits/seo/plugins.js | failureTitle": {
|
|
1488
|
-
"message": "文档使用了插件"
|
|
1489
|
-
},
|
|
1490
|
-
"core/audits/seo/plugins.js | title": {
|
|
1491
|
-
"message": "文档中没有插件"
|
|
1492
|
-
},
|
|
1493
1313
|
"core/audits/seo/robots-txt.js | description": {
|
|
1494
1314
|
"message": "如果 robots.txt 文件的格式不正确,抓取工具可能无法理解您希望以何种方式抓取网站内容或将其编入索引。[详细了解 robots.txt](https://developer.chrome.com/docs/lighthouse/seo/invalid-robots-txt/)。"
|
|
1495
1315
|
},
|
|
@@ -1508,27 +1328,6 @@
|
|
|
1508
1328
|
"core/audits/seo/robots-txt.js | title": {
|
|
1509
1329
|
"message": "robots.txt 有效"
|
|
1510
1330
|
},
|
|
1511
|
-
"core/audits/seo/tap-targets.js | description": {
|
|
1512
|
-
"message": "交互式元素(例如按钮和链接)应足够大 (48x48px),或者周围有足够的空间以便用户轻松点按,且不遮挡其他元素。[详细了解点按目标](https://developer.chrome.com/docs/lighthouse/seo/tap-targets/)。"
|
|
1513
|
-
},
|
|
1514
|
-
"core/audits/seo/tap-targets.js | displayValue": {
|
|
1515
|
-
"message": "{decimalProportion, number, percent} 的点按目标大小合适"
|
|
1516
|
-
},
|
|
1517
|
-
"core/audits/seo/tap-targets.js | explanationViewportMetaNotOptimized": {
|
|
1518
|
-
"message": "点按目标过小,因为缺少已针对移动设备屏幕进行优化的 viewport meta 标记"
|
|
1519
|
-
},
|
|
1520
|
-
"core/audits/seo/tap-targets.js | failureTitle": {
|
|
1521
|
-
"message": "点按目标的大小不合适"
|
|
1522
|
-
},
|
|
1523
|
-
"core/audits/seo/tap-targets.js | overlappingTargetHeader": {
|
|
1524
|
-
"message": "点按目标重叠"
|
|
1525
|
-
},
|
|
1526
|
-
"core/audits/seo/tap-targets.js | tapTargetHeader": {
|
|
1527
|
-
"message": "点按目标"
|
|
1528
|
-
},
|
|
1529
|
-
"core/audits/seo/tap-targets.js | title": {
|
|
1530
|
-
"message": "点按目标的大小合适"
|
|
1531
|
-
},
|
|
1532
1331
|
"core/audits/server-response-time.js | description": {
|
|
1533
1332
|
"message": "请确保服务器响应主文档的用时较短,因为这会影响到所有其他请求的响应时长。[详细了解 Time to First Byte 指标](https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/)。"
|
|
1534
1333
|
},
|
|
@@ -1541,24 +1340,6 @@
|
|
|
1541
1340
|
"core/audits/server-response-time.js | title": {
|
|
1542
1341
|
"message": "初始服务器响应用时较短"
|
|
1543
1342
|
},
|
|
1544
|
-
"core/audits/splash-screen.js | description": {
|
|
1545
|
-
"message": "选定主题的启动画面可确保用户在从主屏幕中启动您的应用时获得优质体验。[详细了解启动画面](https://developer.chrome.com/docs/lighthouse/pwa/splash-screen/)。"
|
|
1546
|
-
},
|
|
1547
|
-
"core/audits/splash-screen.js | failureTitle": {
|
|
1548
|
-
"message": "未针对自定义启动画面进行配置"
|
|
1549
|
-
},
|
|
1550
|
-
"core/audits/splash-screen.js | title": {
|
|
1551
|
-
"message": "已针对自定义启动画面进行配置"
|
|
1552
|
-
},
|
|
1553
|
-
"core/audits/themed-omnibox.js | description": {
|
|
1554
|
-
"message": "可以为浏览器地址栏设置与您的网站相契合的主题。[详细了解如何为地址栏设置主题](https://developer.chrome.com/docs/lighthouse/pwa/themed-omnibox/)。"
|
|
1555
|
-
},
|
|
1556
|
-
"core/audits/themed-omnibox.js | failureTitle": {
|
|
1557
|
-
"message": "没有为地址栏设置主题背景颜色。"
|
|
1558
|
-
},
|
|
1559
|
-
"core/audits/themed-omnibox.js | title": {
|
|
1560
|
-
"message": "为地址栏设置主题背景颜色。"
|
|
1561
|
-
},
|
|
1562
1343
|
"core/audits/third-party-cookies.js | description": {
|
|
1563
1344
|
"message": "在 Chrome 的某个未来版本中,对第三方 Cookie 的支持将被彻底取消。[详细了解逐步停用第三方 Cookie](https://developer.chrome.com/en/docs/privacy-sandbox/third-party-cookie-phase-out/)。"
|
|
1564
1345
|
},
|
|
@@ -1613,18 +1394,6 @@
|
|
|
1613
1394
|
"core/audits/third-party-summary.js | title": {
|
|
1614
1395
|
"message": "尽量减少第三方使用"
|
|
1615
1396
|
},
|
|
1616
|
-
"core/audits/timing-budget.js | columnMeasurement": {
|
|
1617
|
-
"message": "实测值"
|
|
1618
|
-
},
|
|
1619
|
-
"core/audits/timing-budget.js | columnTimingMetric": {
|
|
1620
|
-
"message": "指标"
|
|
1621
|
-
},
|
|
1622
|
-
"core/audits/timing-budget.js | description": {
|
|
1623
|
-
"message": "设置时间预算有助于您密切关注网站性能。性能出色的网站不仅加载迅速,还能快速响应用户输入事件。[详细了解性能预算](https://developers.google.com/web/tools/lighthouse/audits/budgets)。"
|
|
1624
|
-
},
|
|
1625
|
-
"core/audits/timing-budget.js | title": {
|
|
1626
|
-
"message": "时间预算"
|
|
1627
|
-
},
|
|
1628
1397
|
"core/audits/unsized-images.js | description": {
|
|
1629
1398
|
"message": "请为图片元素设置明确的宽度值和高度值,以减少布局偏移并改善 CLS。[了解如何设置图片尺寸](https://web.dev/articles/optimize-cls#images_without_dimensions)"
|
|
1630
1399
|
},
|
|
@@ -1718,8 +1487,8 @@
|
|
|
1718
1487
|
"core/audits/work-during-interaction.js | presentationDelay": {
|
|
1719
1488
|
"message": "展示延迟时间"
|
|
1720
1489
|
},
|
|
1721
|
-
"core/audits/work-during-interaction.js |
|
|
1722
|
-
"message": "
|
|
1490
|
+
"core/audits/work-during-interaction.js | processingDuration": {
|
|
1491
|
+
"message": "处理用时"
|
|
1723
1492
|
},
|
|
1724
1493
|
"core/audits/work-during-interaction.js | title": {
|
|
1725
1494
|
"message": "尽量减少关键互动期间的工作量"
|
|
@@ -1796,12 +1565,6 @@
|
|
|
1796
1565
|
"core/config/default-config.js | bestPracticesUXGroupTitle": {
|
|
1797
1566
|
"message": "用户体验"
|
|
1798
1567
|
},
|
|
1799
|
-
"core/config/default-config.js | budgetsGroupDescription": {
|
|
1800
|
-
"message": "性能预算为您的网站的性能设置了标准。"
|
|
1801
|
-
},
|
|
1802
|
-
"core/config/default-config.js | budgetsGroupTitle": {
|
|
1803
|
-
"message": "预算"
|
|
1804
|
-
},
|
|
1805
1568
|
"core/config/default-config.js | diagnosticsGroupDescription": {
|
|
1806
1569
|
"message": "详细了解您的应用的性能。这些数字不会[直接影响](https://developer.chrome.com/docs/lighthouse/performance/performance-scoring/)性能得分。"
|
|
1807
1570
|
},
|
|
@@ -1814,12 +1577,6 @@
|
|
|
1814
1577
|
"core/config/default-config.js | firstPaintImprovementsGroupTitle": {
|
|
1815
1578
|
"message": "改进首次绘制"
|
|
1816
1579
|
},
|
|
1817
|
-
"core/config/default-config.js | loadOpportunitiesGroupDescription": {
|
|
1818
|
-
"message": "这些建议可以帮助您提高网页加载速度。它们不会[直接影响](https://developer.chrome.com/docs/lighthouse/performance/performance-scoring/)性能得分。"
|
|
1819
|
-
},
|
|
1820
|
-
"core/config/default-config.js | loadOpportunitiesGroupTitle": {
|
|
1821
|
-
"message": "优化建议"
|
|
1822
|
-
},
|
|
1823
1580
|
"core/config/default-config.js | metricGroupTitle": {
|
|
1824
1581
|
"message": "指标"
|
|
1825
1582
|
},
|
|
@@ -1832,21 +1589,6 @@
|
|
|
1832
1589
|
"core/config/default-config.js | performanceCategoryTitle": {
|
|
1833
1590
|
"message": "性能"
|
|
1834
1591
|
},
|
|
1835
|
-
"core/config/default-config.js | pwaCategoryDescription": {
|
|
1836
|
-
"message": "此类检查会验证渐进式 Web 应用的各个方面。[了解如何构建优秀的渐进式 Web 应用](https://web.dev/articles/pwa-checklist)。"
|
|
1837
|
-
},
|
|
1838
|
-
"core/config/default-config.js | pwaCategoryManualDescription": {
|
|
1839
|
-
"message": "基准 [PWA 核对清单](https://web.dev/articles/pwa-checklist)要求必须进行此类检查,但 Lighthouse 不会自动进行此类检查。它们不会影响您的得分,但您必须手动对其进行验证。"
|
|
1840
|
-
},
|
|
1841
|
-
"core/config/default-config.js | pwaCategoryTitle": {
|
|
1842
|
-
"message": "PWA"
|
|
1843
|
-
},
|
|
1844
|
-
"core/config/default-config.js | pwaInstallableGroupTitle": {
|
|
1845
|
-
"message": "可安装"
|
|
1846
|
-
},
|
|
1847
|
-
"core/config/default-config.js | pwaOptimizedGroupTitle": {
|
|
1848
|
-
"message": "优化 PWA"
|
|
1849
|
-
},
|
|
1850
1592
|
"core/config/default-config.js | seoCategoryDescription": {
|
|
1851
1593
|
"message": "此类检查可确保您的网页遵循了基本的搜索引擎优化建议。还有很多其他因素可能会影响您的网页在搜索引擎结果中的排名,但未被 Lighthouse 纳入此处的评估范围,其中包括[核心网页指标](https://web.dev/explore/vitals)衡量结果。[详细了解 Google Search Essentials](https://support.google.com/webmasters/answer/35769)。"
|
|
1852
1594
|
},
|
|
@@ -2516,9 +2258,6 @@
|
|
|
2516
2258
|
"core/lib/i18n/i18n.js | columnName": {
|
|
2517
2259
|
"message": "名称"
|
|
2518
2260
|
},
|
|
2519
|
-
"core/lib/i18n/i18n.js | columnOverBudget": {
|
|
2520
|
-
"message": "超出预算"
|
|
2521
|
-
},
|
|
2522
2261
|
"core/lib/i18n/i18n.js | columnRequests": {
|
|
2523
2262
|
"message": "请求"
|
|
2524
2263
|
},
|
|
@@ -2729,9 +2468,6 @@
|
|
|
2729
2468
|
"flow-report/src/i18n/ui-strings.js | categoryPerformance": {
|
|
2730
2469
|
"message": "性能"
|
|
2731
2470
|
},
|
|
2732
|
-
"flow-report/src/i18n/ui-strings.js | categoryProgressiveWebApp": {
|
|
2733
|
-
"message": "渐进式 Web 应用"
|
|
2734
|
-
},
|
|
2735
2471
|
"flow-report/src/i18n/ui-strings.js | categorySeo": {
|
|
2736
2472
|
"message": "SEO"
|
|
2737
2473
|
},
|
|
@@ -3398,9 +3134,6 @@
|
|
|
3398
3134
|
"report/renderer/report-utils.js | passedAuditsGroupTitle": {
|
|
3399
3135
|
"message": "已通过的审核"
|
|
3400
3136
|
},
|
|
3401
|
-
"report/renderer/report-utils.js | pwaRemovalMessage": {
|
|
3402
|
-
"message": "根据 [Chrome 更新后的可安装性标准](https://developer.chrome.com/blog/update-install-criteria),Lighthouse 将在未来的版本中弃用 PWA 类别。请参阅[更新后的 PWA 文档](https://developer.chrome.com/docs/devtools/progressive-web-apps/),了解今后的 PWA 测试。"
|
|
3403
|
-
},
|
|
3404
3137
|
"report/renderer/report-utils.js | runtimeAnalysisWindow": {
|
|
3405
3138
|
"message": "初始网页加载"
|
|
3406
3139
|
},
|