lighthouse 10.4.0 → 11.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 +1 -1
- package/cli/cli-flags.d.ts +1 -6
- package/cli/cli-flags.js +0 -5
- package/cli/run.js +3 -10
- package/cli/sentry-prompt.js +4 -2
- package/cli/test/smokehouse/core-tests.js +0 -2
- package/cli/test/smokehouse/frontends/smokehouse-bin.js +24 -14
- package/cli/test/smokehouse/lighthouse-runners/bundle.d.ts +1 -2
- package/cli/test/smokehouse/lighthouse-runners/bundle.js +12 -21
- package/cli/test/smokehouse/lighthouse-runners/cli.d.ts +1 -3
- package/cli/test/smokehouse/lighthouse-runners/cli.js +3 -7
- package/cli/test/smokehouse/lighthouse-runners/devtools.d.ts +1 -5
- package/cli/test/smokehouse/lighthouse-runners/devtools.js +1 -12
- package/cli/test/smokehouse/readme.md +0 -2
- package/cli/test/smokehouse/report-assert.d.ts +1 -3
- package/cli/test/smokehouse/report-assert.js +2 -19
- package/cli/test/smokehouse/smokehouse.js +3 -32
- package/core/audits/accessibility/aria-allowed-role.d.ts +10 -0
- package/core/audits/accessibility/aria-allowed-role.js +46 -0
- package/core/audits/accessibility/image-redundant-alt.d.ts +10 -0
- package/core/audits/accessibility/image-redundant-alt.js +45 -0
- package/core/audits/accessibility/label-content-name-mismatch.d.ts +10 -0
- package/core/audits/accessibility/label-content-name-mismatch.js +44 -0
- package/core/audits/accessibility/skip-link.d.ts +10 -0
- package/core/audits/accessibility/skip-link.js +43 -0
- package/core/audits/accessibility/table-duplicate-name.d.ts +10 -0
- package/core/audits/accessibility/table-duplicate-name.js +44 -0
- package/core/audits/accessibility/target-size.js +1 -1
- package/core/audits/byte-efficiency/duplicated-javascript.js +2 -2
- package/core/audits/byte-efficiency/render-blocking-resources.js +1 -0
- package/core/audits/dobetterweb/uses-http2.d.ts +18 -1
- package/core/audits/dobetterweb/uses-http2.js +62 -16
- package/core/audits/installable-manifest.d.ts +1 -5
- package/core/audits/installable-manifest.js +2 -7
- package/core/audits/largest-contentful-paint-element.d.ts +0 -6
- package/core/audits/largest-contentful-paint-element.js +13 -15
- package/core/audits/metrics/{experimental-interaction-to-next-paint.d.ts → interaction-to-next-paint.d.ts} +3 -3
- package/core/audits/metrics/{experimental-interaction-to-next-paint.js → interaction-to-next-paint.js} +3 -3
- package/core/audits/uses-rel-preconnect.js +23 -8
- package/core/audits/work-during-interaction.js +2 -2
- package/core/computed/processed-navigation.d.ts +1 -1
- package/core/config/config-helpers.d.ts +3 -3
- package/core/config/config-helpers.js +5 -12
- package/core/config/config.js +1 -7
- package/core/config/constants.d.ts +0 -2
- package/core/config/constants.js +2 -18
- package/core/config/default-config.js +59 -53
- package/core/config/filters.js +1 -1
- package/core/config/validation.d.ts +7 -12
- package/core/config/validation.js +16 -26
- package/core/gather/base-artifacts.d.ts +4 -4
- package/core/gather/base-artifacts.js +2 -6
- package/core/gather/base-gatherer.d.ts +12 -37
- package/core/gather/base-gatherer.js +7 -54
- package/core/gather/driver/dom.d.ts +4 -4
- package/core/gather/driver/dom.js +2 -2
- package/core/gather/driver/environment.d.ts +4 -4
- package/core/gather/driver/environment.js +2 -2
- package/core/gather/driver/execution-context.d.ts +12 -3
- package/core/gather/driver/execution-context.js +34 -3
- package/core/gather/driver/navigation.d.ts +2 -2
- package/core/gather/driver/navigation.js +2 -5
- package/core/gather/driver/network-monitor.d.ts +7 -6
- package/core/gather/driver/network-monitor.js +4 -4
- package/core/gather/driver/network.d.ts +2 -2
- package/core/gather/driver/network.js +1 -1
- package/core/gather/driver/prepare.d.ts +10 -10
- package/core/gather/driver/prepare.js +10 -10
- package/core/gather/driver/service-workers.d.ts +4 -4
- package/core/gather/driver/service-workers.js +2 -2
- package/core/gather/driver/storage.d.ts +6 -6
- package/core/gather/driver/storage.js +3 -3
- package/core/gather/driver/target-manager.d.ts +6 -5
- package/core/gather/driver/target-manager.js +3 -3
- package/core/gather/driver/wait-for-condition.d.ts +14 -14
- package/core/gather/driver/wait-for-condition.js +8 -8
- package/core/gather/driver.d.ts +9 -6
- package/core/gather/driver.js +14 -4
- package/core/gather/fetcher.d.ts +3 -3
- package/core/gather/fetcher.js +1 -1
- package/core/gather/gatherers/accessibility.d.ts +4 -4
- package/core/gather/gatherers/accessibility.js +8 -3
- package/core/gather/gatherers/anchor-elements.d.ts +4 -4
- package/core/gather/gatherers/anchor-elements.js +4 -4
- package/core/gather/gatherers/bf-cache-failures.d.ts +8 -14
- package/core/gather/gatherers/bf-cache-failures.js +5 -14
- package/core/gather/gatherers/cache-contents.d.ts +4 -4
- package/core/gather/gatherers/cache-contents.js +3 -3
- package/core/gather/gatherers/console-messages.d.ts +6 -6
- package/core/gather/gatherers/console-messages.js +4 -4
- package/core/gather/gatherers/css-usage.d.ts +14 -14
- package/core/gather/gatherers/css-usage.js +9 -9
- package/core/gather/gatherers/devtools-log-compat.d.ts +5 -5
- package/core/gather/gatherers/devtools-log-compat.js +4 -4
- package/core/gather/gatherers/devtools-log.d.ts +6 -6
- package/core/gather/gatherers/devtools-log.js +4 -4
- package/core/gather/gatherers/dobetterweb/doctype.d.ts +4 -4
- package/core/gather/gatherers/dobetterweb/doctype.js +3 -3
- package/core/gather/gatherers/dobetterweb/domstats.d.ts +4 -4
- package/core/gather/gatherers/dobetterweb/domstats.js +3 -3
- package/core/gather/gatherers/dobetterweb/optimized-images.d.ts +10 -22
- package/core/gather/gatherers/dobetterweb/optimized-images.js +10 -27
- package/core/gather/gatherers/dobetterweb/response-compression.d.ts +6 -12
- package/core/gather/gatherers/dobetterweb/response-compression.js +14 -21
- package/core/gather/gatherers/dobetterweb/tags-blocking-first-paint.d.ts +8 -14
- package/core/gather/gatherers/dobetterweb/tags-blocking-first-paint.js +5 -14
- package/core/gather/gatherers/full-page-screenshot.d.ts +10 -10
- package/core/gather/gatherers/full-page-screenshot.js +7 -10
- package/core/gather/gatherers/global-listeners.d.ts +4 -4
- package/core/gather/gatherers/global-listeners.js +3 -3
- package/core/gather/gatherers/iframe-elements.d.ts +4 -4
- package/core/gather/gatherers/iframe-elements.js +3 -3
- package/core/gather/gatherers/image-elements.d.ts +10 -10
- package/core/gather/gatherers/image-elements.js +6 -6
- package/core/gather/gatherers/inputs.d.ts +4 -4
- package/core/gather/gatherers/inputs.js +3 -3
- package/core/gather/gatherers/inspector-issues.d.ts +8 -19
- package/core/gather/gatherers/inspector-issues.js +9 -26
- package/core/gather/gatherers/installability-errors.d.ts +6 -6
- package/core/gather/gatherers/installability-errors.js +4 -4
- package/core/gather/gatherers/js-usage.d.ts +6 -6
- package/core/gather/gatherers/js-usage.js +4 -4
- package/core/gather/gatherers/link-elements.d.ts +8 -20
- package/core/gather/gatherers/link-elements.js +7 -24
- package/core/gather/gatherers/main-document-content.d.ts +4 -16
- package/core/gather/gatherers/main-document-content.js +5 -23
- package/core/gather/gatherers/meta-elements.d.ts +4 -4
- package/core/gather/gatherers/meta-elements.js +3 -3
- package/core/gather/gatherers/network-user-agent.d.ts +5 -5
- package/core/gather/gatherers/network-user-agent.js +4 -4
- package/core/gather/gatherers/script-elements.d.ts +6 -11
- package/core/gather/gatherers/script-elements.js +4 -13
- package/core/gather/gatherers/scripts.d.ts +7 -6
- package/core/gather/gatherers/scripts.js +7 -9
- package/core/gather/gatherers/seo/embedded-content.d.ts +4 -4
- package/core/gather/gatherers/seo/embedded-content.js +3 -3
- package/core/gather/gatherers/seo/font-size.d.ts +6 -6
- package/core/gather/gatherers/seo/font-size.js +5 -5
- package/core/gather/gatherers/seo/robots-txt.d.ts +4 -4
- package/core/gather/gatherers/seo/robots-txt.js +3 -3
- package/core/gather/gatherers/seo/tap-targets.d.ts +8 -8
- package/core/gather/gatherers/seo/tap-targets.js +5 -5
- package/core/gather/gatherers/service-worker.d.ts +4 -10
- package/core/gather/gatherers/service-worker.js +3 -15
- package/core/gather/gatherers/source-maps.d.ts +11 -23
- package/core/gather/gatherers/source-maps.js +22 -53
- package/core/gather/gatherers/stacks.d.ts +7 -7
- package/core/gather/gatherers/stacks.js +6 -6
- package/core/gather/gatherers/trace-compat.d.ts +5 -5
- package/core/gather/gatherers/trace-compat.js +4 -4
- package/core/gather/gatherers/trace-elements.d.ts +13 -25
- package/core/gather/gatherers/trace-elements.js +19 -32
- package/core/gather/gatherers/trace.d.ts +8 -8
- package/core/gather/gatherers/trace.js +5 -5
- package/core/gather/gatherers/viewport-dimensions.d.ts +4 -4
- package/core/gather/gatherers/viewport-dimensions.js +3 -3
- package/core/gather/gatherers/web-app-manifest.d.ts +8 -8
- package/core/gather/gatherers/web-app-manifest.js +5 -5
- package/core/gather/navigation-runner.d.ts +9 -9
- package/core/gather/navigation-runner.js +14 -8
- package/core/gather/runner-helpers.d.ts +3 -3
- package/core/gather/runner-helpers.js +12 -4
- package/core/gather/session.d.ts +2 -2
- package/core/gather/session.js +1 -1
- package/core/gather/snapshot-runner.d.ts +2 -2
- package/core/gather/snapshot-runner.js +1 -1
- package/core/gather/timespan-runner.d.ts +2 -2
- package/core/gather/timespan-runner.js +1 -1
- package/core/index.cjs +0 -7
- package/core/index.d.ts +0 -15
- package/core/index.js +2 -40
- package/core/lib/asset-saver.js +14 -4
- package/core/lib/axe.js +1 -1
- package/core/lib/dependency-graph/simulator/network-analyzer.d.ts +28 -12
- package/core/lib/dependency-graph/simulator/network-analyzer.js +128 -100
- package/core/lib/emulation.d.ts +14 -14
- package/core/lib/emulation.js +7 -7
- package/core/lib/navigation-error.js +5 -0
- package/core/lib/network-recorder.d.ts +2 -1
- package/core/lib/network-recorder.js +1 -0
- package/core/lib/network-request.js +12 -3
- package/core/lib/page-functions.d.ts +10 -2
- package/core/lib/page-functions.js +85 -8
- package/core/lib/sentry.js +9 -2
- package/core/lib/stack-packs.js +4 -0
- package/core/runner.d.ts +8 -30
- package/core/runner.js +8 -39
- package/core/user-flow.d.ts +4 -4
- package/core/user-flow.js +2 -2
- package/dist/report/bundle.esm.js +2221 -5832
- package/dist/report/flow.js +2631 -235
- package/dist/report/standalone.js +2586 -234
- package/flow-report/src/i18n/i18n.d.ts +2 -2
- package/package.json +17 -24
- package/readme.md +3 -1
- package/report/assets/templates.html +3 -1
- package/report/renderer/category-renderer.d.ts +3 -2
- package/report/renderer/category-renderer.js +8 -4
- package/report/renderer/components.js +11 -5
- package/report/renderer/pwa-category-renderer.js +1 -1
- package/report/renderer/report-ui-features.js +9 -6
- package/report/renderer/report-utils.d.ts +1 -1
- package/report/renderer/report-utils.js +2 -2
- package/report/renderer/topbar-features.js +3 -0
- package/shared/localization/locales/ar-XB.json +185 -44
- package/shared/localization/locales/ar.json +185 -44
- package/shared/localization/locales/bg.json +185 -44
- package/shared/localization/locales/ca.json +190 -49
- package/shared/localization/locales/cs.json +185 -44
- package/shared/localization/locales/da.json +185 -44
- package/shared/localization/locales/de.json +185 -44
- package/shared/localization/locales/el.json +185 -44
- package/shared/localization/locales/en-GB.json +185 -44
- package/shared/localization/locales/en-US.json +99 -45
- package/shared/localization/locales/en-XA.json +185 -44
- package/shared/localization/locales/en-XL.json +99 -45
- package/shared/localization/locales/es-419.json +185 -44
- package/shared/localization/locales/es.json +185 -44
- package/shared/localization/locales/fi.json +185 -44
- package/shared/localization/locales/fil.json +185 -44
- package/shared/localization/locales/fr.json +185 -44
- package/shared/localization/locales/he.json +186 -45
- package/shared/localization/locales/hi.json +185 -44
- package/shared/localization/locales/hr.json +185 -44
- package/shared/localization/locales/hu.json +185 -44
- package/shared/localization/locales/id.json +185 -44
- package/shared/localization/locales/it.json +185 -44
- package/shared/localization/locales/ja.json +185 -44
- package/shared/localization/locales/ko.json +185 -44
- package/shared/localization/locales/lt.json +185 -44
- package/shared/localization/locales/lv.json +185 -44
- package/shared/localization/locales/nl.json +185 -44
- package/shared/localization/locales/no.json +185 -44
- package/shared/localization/locales/pl.json +185 -44
- package/shared/localization/locales/pt-PT.json +185 -44
- package/shared/localization/locales/pt.json +190 -49
- package/shared/localization/locales/ro.json +185 -44
- package/shared/localization/locales/ru.json +185 -44
- package/shared/localization/locales/sk.json +185 -44
- package/shared/localization/locales/sl.json +185 -44
- package/shared/localization/locales/sr-Latn.json +185 -44
- package/shared/localization/locales/sr.json +185 -44
- package/shared/localization/locales/sv.json +185 -44
- package/shared/localization/locales/ta.json +185 -44
- package/shared/localization/locales/te.json +185 -44
- package/shared/localization/locales/th.json +185 -44
- package/shared/localization/locales/tr.json +185 -44
- package/shared/localization/locales/uk.json +185 -44
- package/shared/localization/locales/vi.json +185 -44
- package/shared/localization/locales/zh-HK.json +185 -44
- package/shared/localization/locales/zh-TW.json +185 -44
- package/shared/localization/locales/zh.json +185 -44
- package/third-party/esbuild-plugins-polyfills/LICENSE +3 -0
- package/third-party/esbuild-plugins-polyfills/README.md +7 -0
- package/third-party/esbuild-plugins-polyfills/esbuild-polyfills.d.ts +9 -0
- package/third-party/esbuild-plugins-polyfills/esbuild-polyfills.js +129 -0
- package/tsconfig.json +2 -1
- package/types/artifacts.d.ts +16 -45
- package/types/config.d.ts +10 -52
- package/types/externs.d.ts +0 -2
- package/types/gatherer.d.ts +24 -47
- package/types/internal/rxjs.d.ts +26 -0
- package/types/internal/smokehouse.d.ts +1 -3
- package/types/lh.d.ts +0 -2
- package/types/lhr/settings.d.ts +1 -1
- package/core/audits/metrics/first-contentful-paint-3g.d.ts +0 -15
- package/core/audits/metrics/first-contentful-paint-3g.js +0 -69
- package/core/audits/resource-summary.d.ts +0 -16
- package/core/audits/resource-summary.js +0 -104
- package/core/audits/service-worker.d.ts +0 -46
- package/core/audits/service-worker.js +0 -182
- package/core/gather/gatherers/gatherer.d.ts +0 -46
- package/core/gather/gatherers/gatherer.js +0 -58
- package/core/legacy/config/config.d.ts +0 -107
- package/core/legacy/config/config.js +0 -566
- package/core/legacy/config/legacy-default-config.d.ts +0 -4
- package/core/legacy/config/legacy-default-config.js +0 -87
- package/core/legacy/gather/connections/connection.d.ts +0 -77
- package/core/legacy/gather/connections/connection.js +0 -196
- package/core/legacy/gather/connections/cri.d.ts +0 -27
- package/core/legacy/gather/connections/cri.js +0 -162
- package/core/legacy/gather/connections/raw.d.ts +0 -20
- package/core/legacy/gather/connections/raw.js +0 -57
- package/core/legacy/gather/driver.d.ts +0 -216
- package/core/legacy/gather/driver.js +0 -480
- package/core/legacy/gather/gather-runner.d.ts +0 -166
- package/core/legacy/gather/gather-runner.js +0 -590
- package/types/internal/lighthouse-logger.d.ts +0 -34
|
@@ -17,6 +17,15 @@
|
|
|
17
17
|
"core/audits/accessibility/aria-allowed-attr.js | title": {
|
|
18
18
|
"message": "`[aria-*]` 屬性與其角色相符"
|
|
19
19
|
},
|
|
20
|
+
"core/audits/accessibility/aria-allowed-role.js | description": {
|
|
21
|
+
"message": "ARIA `role`s enable assistive technologies to know the role of each element on the web page. If the `role` values are misspelled, not existing ARIA `role` values, or abstract roles, then the purpose of the element will not be communicated to users of assistive technologies. [Learn more about ARIA roles](https://dequeuniversity.com/rules/axe/4.7/aria-allowed-roles)."
|
|
22
|
+
},
|
|
23
|
+
"core/audits/accessibility/aria-allowed-role.js | failureTitle": {
|
|
24
|
+
"message": "Values assigned to `role=\"\"` are not valid ARIA roles."
|
|
25
|
+
},
|
|
26
|
+
"core/audits/accessibility/aria-allowed-role.js | title": {
|
|
27
|
+
"message": "Values assigned to `role=\"\"` are valid ARIA roles."
|
|
28
|
+
},
|
|
20
29
|
"core/audits/accessibility/aria-command-name.js | description": {
|
|
21
30
|
"message": "如果元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個元素的用途。[瞭解如何讓指令元素更容易使用](https://dequeuniversity.com/rules/axe/4.7/aria-command-name)。"
|
|
22
31
|
},
|
|
@@ -26,6 +35,15 @@
|
|
|
26
35
|
"core/audits/accessibility/aria-command-name.js | title": {
|
|
27
36
|
"message": "`button`、`link` 和 `menuitem` 元素具有可解讀的名稱"
|
|
28
37
|
},
|
|
38
|
+
"core/audits/accessibility/aria-dialog-name.js | description": {
|
|
39
|
+
"message": "如果 ARIA 對話方塊元素缺少無障礙元素名稱,螢幕閱讀器使用者就可能無法分辨這些元素的用途。[瞭解如何讓 ARIA 對話方塊元素更易於存取](https://dequeuniversity.com/rules/axe/4.7/aria-dialog-name)。"
|
|
40
|
+
},
|
|
41
|
+
"core/audits/accessibility/aria-dialog-name.js | failureTitle": {
|
|
42
|
+
"message": "含有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素缺少無障礙元素名稱。"
|
|
43
|
+
},
|
|
44
|
+
"core/audits/accessibility/aria-dialog-name.js | title": {
|
|
45
|
+
"message": "含有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素具有無障礙元素名稱。"
|
|
46
|
+
},
|
|
29
47
|
"core/audits/accessibility/aria-hidden-body.js | description": {
|
|
30
48
|
"message": "在 `<body>` 文件上設定 `aria-hidden=\"true\"` 時,輔助技術 (例如螢幕閱讀器) 無法一致地進行作業。[瞭解 `aria-hidden` 對文件內文的影響](https://dequeuniversity.com/rules/axe/4.7/aria-hidden-body)。"
|
|
31
49
|
},
|
|
@@ -107,6 +125,15 @@
|
|
|
107
125
|
"core/audits/accessibility/aria-roles.js | title": {
|
|
108
126
|
"message": "`[role]` 具備有效的值"
|
|
109
127
|
},
|
|
128
|
+
"core/audits/accessibility/aria-text.js | description": {
|
|
129
|
+
"message": "在由標記分割的文字節點前後新增 `role=text`,VoiceOver 就會將其視為一個詞組,但系統不會通知該元素的可聚焦子系。[進一步瞭解 `role=text` 屬性](https://dequeuniversity.com/rules/axe/4.7/aria-text)。"
|
|
130
|
+
},
|
|
131
|
+
"core/audits/accessibility/aria-text.js | failureTitle": {
|
|
132
|
+
"message": "具有 `role=text` 屬性的元素具有可聚焦子系。"
|
|
133
|
+
},
|
|
134
|
+
"core/audits/accessibility/aria-text.js | title": {
|
|
135
|
+
"message": "具有 `role=text` 屬性的元素缺少可聚焦子系。"
|
|
136
|
+
},
|
|
110
137
|
"core/audits/accessibility/aria-toggle-field-name.js | description": {
|
|
111
138
|
"message": "如果沒有可解讀的切換欄位名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個切換欄位的用途。[進一步瞭解切換欄位](https://dequeuniversity.com/rules/axe/4.7/aria-toggle-field-name)。"
|
|
112
139
|
},
|
|
@@ -227,6 +254,15 @@
|
|
|
227
254
|
"core/audits/accessibility/duplicate-id-aria.js | title": {
|
|
228
255
|
"message": "沒有重複的 ARIA ID"
|
|
229
256
|
},
|
|
257
|
+
"core/audits/accessibility/empty-heading.js | description": {
|
|
258
|
+
"message": "如果 heading 缺少內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資訊。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.7/empty-heading)。"
|
|
259
|
+
},
|
|
260
|
+
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
|
261
|
+
"message": "Heading 元素不含任何內容。"
|
|
262
|
+
},
|
|
263
|
+
"core/audits/accessibility/empty-heading.js | title": {
|
|
264
|
+
"message": "所有 heading 元素都含有內容。"
|
|
265
|
+
},
|
|
230
266
|
"core/audits/accessibility/form-field-multiple-labels.js | description": {
|
|
231
267
|
"message": "如果表單欄位含有多個標籤,可能會造成螢幕閱讀器等輔助技術無法判斷該讀出第一個、最後一個或所有標籤。[瞭解如何使用表單標籤](https://dequeuniversity.com/rules/axe/4.7/form-field-multiple-labels)。"
|
|
232
268
|
},
|
|
@@ -281,6 +317,15 @@
|
|
|
281
317
|
"core/audits/accessibility/html-xml-lang-mismatch.js | title": {
|
|
282
318
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與 `[lang]` 屬性的基本語言相同。"
|
|
283
319
|
},
|
|
320
|
+
"core/audits/accessibility/identical-links-same-purpose.js | description": {
|
|
321
|
+
"message": "具有相同目的地的連結應提供相同的說明,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.7/identical-links-same-purpose)。"
|
|
322
|
+
},
|
|
323
|
+
"core/audits/accessibility/identical-links-same-purpose.js | failureTitle": {
|
|
324
|
+
"message": "相同連結的用途不同。"
|
|
325
|
+
},
|
|
326
|
+
"core/audits/accessibility/identical-links-same-purpose.js | title": {
|
|
327
|
+
"message": "相同的連結用途相同。"
|
|
328
|
+
},
|
|
284
329
|
"core/audits/accessibility/image-alt.js | description": {
|
|
285
330
|
"message": "說明元素應提供簡短貼切的替代文字。如果是裝飾元素,只要將 alt 屬性留空,系統即會忽略該元素。[進一步瞭解 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.7/image-alt)。"
|
|
286
331
|
},
|
|
@@ -290,6 +335,15 @@
|
|
|
290
335
|
"core/audits/accessibility/image-alt.js | title": {
|
|
291
336
|
"message": "圖片元素具有 `[alt]` 屬性"
|
|
292
337
|
},
|
|
338
|
+
"core/audits/accessibility/image-redundant-alt.js | description": {
|
|
339
|
+
"message": "Informative elements should aim for short, descriptive alternative text. Alternative text that is exactly the same as the text adjacent to the link or image is potentially confusing for screen reader users, because the text will be read twice. [Learn more about the `alt` attribute](https://dequeuniversity.com/rules/axe/4.7/image-redundant-alt)."
|
|
340
|
+
},
|
|
341
|
+
"core/audits/accessibility/image-redundant-alt.js | failureTitle": {
|
|
342
|
+
"message": "Image elements have `[alt]` attributes that are redundant text."
|
|
343
|
+
},
|
|
344
|
+
"core/audits/accessibility/image-redundant-alt.js | title": {
|
|
345
|
+
"message": "Image elements do not have `[alt]` attributes that are redundant text."
|
|
346
|
+
},
|
|
293
347
|
"core/audits/accessibility/input-button-name.js | description": {
|
|
294
348
|
"message": "你可以為輸入按鈕加上容易識讀的說明文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.7/input-button-name)。"
|
|
295
349
|
},
|
|
@@ -308,6 +362,15 @@
|
|
|
308
362
|
"core/audits/accessibility/input-image-alt.js | title": {
|
|
309
363
|
"message": "`<input type=\"image\">` 元素具有 `[alt]` 文字"
|
|
310
364
|
},
|
|
365
|
+
"core/audits/accessibility/label-content-name-mismatch.js | description": {
|
|
366
|
+
"message": "Visible text labels that do not match the accessible name can result in a confusing experience for screen reader users. [Learn more about accessible names](https://dequeuniversity.com/rules/axe/4.7/label-content-name-mismatch)."
|
|
367
|
+
},
|
|
368
|
+
"core/audits/accessibility/label-content-name-mismatch.js | failureTitle": {
|
|
369
|
+
"message": "Elements with visible text labels do not have matching accessible names."
|
|
370
|
+
},
|
|
371
|
+
"core/audits/accessibility/label-content-name-mismatch.js | title": {
|
|
372
|
+
"message": "Elements with visible text labels have matching accessible names."
|
|
373
|
+
},
|
|
311
374
|
"core/audits/accessibility/label.js | description": {
|
|
312
375
|
"message": "標籤可確保輔助技術 (例如螢幕閱讀器) 正確朗讀表單控制項。[進一步瞭解表單元素標籤](https://dequeuniversity.com/rules/axe/4.7/label)。"
|
|
313
376
|
},
|
|
@@ -317,6 +380,24 @@
|
|
|
317
380
|
"core/audits/accessibility/label.js | title": {
|
|
318
381
|
"message": "表單元素具有相關聯的標籤"
|
|
319
382
|
},
|
|
383
|
+
"core/audits/accessibility/landmark-one-main.js | description": {
|
|
384
|
+
"message": "主要位置標記可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解位置標記](https://dequeuniversity.com/rules/axe/4.7/landmark-one-main)。"
|
|
385
|
+
},
|
|
386
|
+
"core/audits/accessibility/landmark-one-main.js | failureTitle": {
|
|
387
|
+
"message": "文件缺少主要位置標記。"
|
|
388
|
+
},
|
|
389
|
+
"core/audits/accessibility/landmark-one-main.js | title": {
|
|
390
|
+
"message": "文件設有主要位置標記。"
|
|
391
|
+
},
|
|
392
|
+
"core/audits/accessibility/link-in-text-block.js | description": {
|
|
393
|
+
"message": "低對比度的文字對許多讀者來說難以閱讀或無法閱讀。可辨別的連結文字有助於改善低視能讀者的使用者體驗。[瞭解如何設定可明確區別的連結](https://dequeuniversity.com/rules/axe/4.7/link-in-text-block)。"
|
|
394
|
+
},
|
|
395
|
+
"core/audits/accessibility/link-in-text-block.js | failureTitle": {
|
|
396
|
+
"message": "連結必須依賴顏色區別。"
|
|
397
|
+
},
|
|
398
|
+
"core/audits/accessibility/link-in-text-block.js | title": {
|
|
399
|
+
"message": "就算不依賴顏色,也可以明確區別連結。"
|
|
400
|
+
},
|
|
320
401
|
"core/audits/accessibility/link-name.js | description": {
|
|
321
402
|
"message": "使用可辨別、未重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助於改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結易於存取](https://dequeuniversity.com/rules/axe/4.7/link-name)。"
|
|
322
403
|
},
|
|
@@ -371,6 +452,24 @@
|
|
|
371
452
|
"core/audits/accessibility/object-alt.js | title": {
|
|
372
453
|
"message": "`<object>` 元素具有替代文字"
|
|
373
454
|
},
|
|
455
|
+
"core/audits/accessibility/select-name.js | description": {
|
|
456
|
+
"message": "如果 Form 元素沒有有效的標籤,螢幕閱讀器使用者可能會感到困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.7/select-name)。"
|
|
457
|
+
},
|
|
458
|
+
"core/audits/accessibility/select-name.js | failureTitle": {
|
|
459
|
+
"message": "Select 元素沒有相關聯的 label 元素。"
|
|
460
|
+
},
|
|
461
|
+
"core/audits/accessibility/select-name.js | title": {
|
|
462
|
+
"message": "Select 元素具有相關聯的 label 元素。"
|
|
463
|
+
},
|
|
464
|
+
"core/audits/accessibility/skip-link.js | description": {
|
|
465
|
+
"message": "Including a skip link can help users skip to the main content to save time. [Learn more about skip links](https://dequeuniversity.com/rules/axe/4.7/skip-link)."
|
|
466
|
+
},
|
|
467
|
+
"core/audits/accessibility/skip-link.js | failureTitle": {
|
|
468
|
+
"message": "Skip links are not focusable."
|
|
469
|
+
},
|
|
470
|
+
"core/audits/accessibility/skip-link.js | title": {
|
|
471
|
+
"message": "Skip links are focusable."
|
|
472
|
+
},
|
|
374
473
|
"core/audits/accessibility/tabindex.js | description": {
|
|
375
474
|
"message": "如果值大於 0,表示採用的是明確的瀏覽排序。雖然這在技術上可行,但經常會對仰賴輔助技術的使用者造成困擾。[進一步瞭解 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.7/tabindex)。"
|
|
376
475
|
},
|
|
@@ -380,6 +479,15 @@
|
|
|
380
479
|
"core/audits/accessibility/tabindex.js | title": {
|
|
381
480
|
"message": "所有元素的 `[tabindex]` 值皆未超過 0"
|
|
382
481
|
},
|
|
482
|
+
"core/audits/accessibility/table-duplicate-name.js | description": {
|
|
483
|
+
"message": "The summary attribute should describe the table structure, while `<caption>` should have the onscreen title. Accurate table mark-up helps users of screen readers. [Learn more about summary and caption](https://dequeuniversity.com/rules/axe/4.7/table-duplicate-name)."
|
|
484
|
+
},
|
|
485
|
+
"core/audits/accessibility/table-duplicate-name.js | failureTitle": {
|
|
486
|
+
"message": "Tables have the same content in the summary attribute and `<caption>.`"
|
|
487
|
+
},
|
|
488
|
+
"core/audits/accessibility/table-duplicate-name.js | title": {
|
|
489
|
+
"message": "Tables have different content in the summary attribute and `<caption>`."
|
|
490
|
+
},
|
|
383
491
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
|
384
492
|
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.7/table-fake-caption)。"
|
|
385
493
|
},
|
|
@@ -389,6 +497,15 @@
|
|
|
389
497
|
"core/audits/accessibility/table-fake-caption.js | title": {
|
|
390
498
|
"message": "表格使用 `<caption>` 屬性表示標題,而非使用含有 `[colspan]` 屬性的儲存格。"
|
|
391
499
|
},
|
|
500
|
+
"core/audits/accessibility/target-size.js | description": {
|
|
501
|
+
"message": "Touch targets with sufficient size and spacing help users who may have difficulty targeting small controls to activate the targets. [Learn more about touch targets](https://dequeuniversity.com/rules/axe/4.7/target-size)."
|
|
502
|
+
},
|
|
503
|
+
"core/audits/accessibility/target-size.js | failureTitle": {
|
|
504
|
+
"message": "觸控目標的大小或間距不足。"
|
|
505
|
+
},
|
|
506
|
+
"core/audits/accessibility/target-size.js | title": {
|
|
507
|
+
"message": "觸控目標的大小和間距充足。"
|
|
508
|
+
},
|
|
392
509
|
"core/audits/accessibility/td-has-header.js | description": {
|
|
393
510
|
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個以上儲存格) 中的 `<td>` 元素使用相關聯的表格標頭,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解表格標頭](https://dequeuniversity.com/rules/axe/4.7/td-has-header)。"
|
|
394
511
|
},
|
|
@@ -938,9 +1055,6 @@
|
|
|
938
1055
|
"core/audits/installable-manifest.js | no-manifest": {
|
|
939
1056
|
"message": "網頁沒有資訊清單 <link> 網址"
|
|
940
1057
|
},
|
|
941
|
-
"core/audits/installable-manifest.js | no-matching-service-worker": {
|
|
942
|
-
"message": "未偵測到相符的 Service Worker。你可能需要重新載入網頁,或是檢查目前網頁的 Service Worker 範圍是否涵蓋資訊清單的範圍和開始網址。"
|
|
943
|
-
},
|
|
944
1058
|
"core/audits/installable-manifest.js | no-url-for-service-worker": {
|
|
945
1059
|
"message": "資訊清單中沒有「start_url」欄位,因此無法檢查 Service Worker"
|
|
946
1060
|
},
|
|
@@ -969,7 +1083,7 @@
|
|
|
969
1083
|
"message": "prefer_related_applications 僅適用於 Android 上的 Chrome Beta 版和穩定版。"
|
|
970
1084
|
},
|
|
971
1085
|
"core/audits/installable-manifest.js | protocol-timeout": {
|
|
972
|
-
"message": "Lighthouse
|
|
1086
|
+
"message": "Lighthouse could not determine if the page is installable. Please try with a newer version of Chrome."
|
|
973
1087
|
},
|
|
974
1088
|
"core/audits/installable-manifest.js | scheme-not-supported-for-webapk": {
|
|
975
1089
|
"message": "Android 不支援資訊清單網址架構 ({scheme})。"
|
|
@@ -1112,15 +1226,15 @@
|
|
|
1112
1226
|
"core/audits/metrics/cumulative-layout-shift.js | description": {
|
|
1113
1227
|
"message": "「累計版面配置轉移」指標是用於測量可見元素在可視區域內的移動情形。[進一步瞭解「累計版面配置位移」指標](https://web.dev/cls/)。"
|
|
1114
1228
|
},
|
|
1115
|
-
"core/audits/metrics/experimental-interaction-to-next-paint.js | description": {
|
|
1116
|
-
"message": "「與下一個顯示的內容互動」指標的用途是測量網頁回應,也就是網頁明顯回應使用者輸入內容所需的時間。[進一步瞭解「與下一個顯示的內容互動」指標](https://web.dev/inp/)。"
|
|
1117
|
-
},
|
|
1118
1229
|
"core/audits/metrics/first-contentful-paint.js | description": {
|
|
1119
1230
|
"message": "首次顯示內容所需時間是指瀏覽器首次顯示文字或圖片的時間。[進一步瞭解「首次顯示內容所需時間」指標](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/)。"
|
|
1120
1231
|
},
|
|
1121
1232
|
"core/audits/metrics/first-meaningful-paint.js | description": {
|
|
1122
1233
|
"message": "畫面首次有效顯示所需時間是指網頁顯示主要內容的時間。[進一步瞭解「畫面首次有效顯示所需時間」指標](https://developer.chrome.com/docs/lighthouse/performance/first-meaningful-paint/)。"
|
|
1123
1234
|
},
|
|
1235
|
+
"core/audits/metrics/interaction-to-next-paint.js | description": {
|
|
1236
|
+
"message": "「與下一個顯示的內容互動」指標的用途是測量網頁回應,也就是網頁明顯回應使用者輸入內容所需的時間。[進一步瞭解「與下一個顯示的內容互動」指標](https://web.dev/inp/)。"
|
|
1237
|
+
},
|
|
1124
1238
|
"core/audits/metrics/interactive.js | description": {
|
|
1125
1239
|
"message": "互動準備時間是網頁進入完整互動狀態前花費的時間。[進一步瞭解「互動準備時間」指標](https://developer.chrome.com/docs/lighthouse/performance/interactive/)。"
|
|
1126
1240
|
},
|
|
@@ -1214,15 +1328,6 @@
|
|
|
1214
1328
|
"core/audits/redirects.js | title": {
|
|
1215
1329
|
"message": "避免進行多次頁面重新導向"
|
|
1216
1330
|
},
|
|
1217
|
-
"core/audits/resource-summary.js | description": {
|
|
1218
|
-
"message": "如要針對網頁資源的數量和大小設定預算,請新增 budget.json 檔案。[進一步瞭解效能預算](https://web.dev/use-lighthouse-for-performance-budgets/)。"
|
|
1219
|
-
},
|
|
1220
|
-
"core/audits/resource-summary.js | displayValue": {
|
|
1221
|
-
"message": "{requestCount,plural, =1{1 個要求 • {byteCount, number, bytes} KiB}other{# 個要求 • {byteCount, number, bytes} KiB}}"
|
|
1222
|
-
},
|
|
1223
|
-
"core/audits/resource-summary.js | title": {
|
|
1224
|
-
"message": "降低要求數量並減少傳輸大小"
|
|
1225
|
-
},
|
|
1226
1331
|
"core/audits/seo/canonical.js | description": {
|
|
1227
1332
|
"message": "標準連結可指出要在搜尋結果中顯示哪個網址。[進一步瞭解標準連結](https://developer.chrome.com/docs/lighthouse/seo/canonical/)。"
|
|
1228
1333
|
},
|
|
@@ -1412,27 +1517,6 @@
|
|
|
1412
1517
|
"core/audits/server-response-time.js | title": {
|
|
1413
1518
|
"message": "初始伺服器回應時間很短"
|
|
1414
1519
|
},
|
|
1415
|
-
"core/audits/service-worker.js | description": {
|
|
1416
|
-
"message": "Service Worker 技術可讓你的應用程式使用許多漸進式網頁應用程式的功能,例如離線存取、新增到主畫面,以及推播通知。[進一步瞭解 Service Worker](https://developer.chrome.com/docs/lighthouse/pwa/service-worker/)。"
|
|
1417
|
-
},
|
|
1418
|
-
"core/audits/service-worker.js | explanationBadManifest": {
|
|
1419
|
-
"message": "此網頁由 Service Worker 所控管,但系統無法將資訊清單剖析為有效的 JSON,因此找不到任何 `start_url`"
|
|
1420
|
-
},
|
|
1421
|
-
"core/audits/service-worker.js | explanationBadStartUrl": {
|
|
1422
|
-
"message": "這個網頁由 Service Worker 所控管,但是 `start_url` ({startUrl}) 不在 Service Worker 的範圍內 ({scopeUrl})"
|
|
1423
|
-
},
|
|
1424
|
-
"core/audits/service-worker.js | explanationNoManifest": {
|
|
1425
|
-
"message": "這個網頁由 Service Worker 所控管,但系統未擷取任何資訊清單,因此找不到任何 `start_url`。"
|
|
1426
|
-
},
|
|
1427
|
-
"core/audits/service-worker.js | explanationOutOfScope": {
|
|
1428
|
-
"message": "此來源包含一個或多個 Service Worker,但該頁面 ({pageUrl}) 不在 Service Worker 的範圍內。"
|
|
1429
|
-
},
|
|
1430
|
-
"core/audits/service-worker.js | failureTitle": {
|
|
1431
|
-
"message": "未註冊可控管網頁和 `start_url` 的 Service Worker"
|
|
1432
|
-
},
|
|
1433
|
-
"core/audits/service-worker.js | title": {
|
|
1434
|
-
"message": "已註冊可控管網頁和 `start_url` 的 Service Worker"
|
|
1435
|
-
},
|
|
1436
1520
|
"core/audits/splash-screen.js | description": {
|
|
1437
1521
|
"message": "透過設定啟動畫面的主題,可確保使用者從主畫面啟動你的應用程式時享有優質體驗。[進一步瞭解啟動畫面](https://developer.chrome.com/docs/lighthouse/pwa/splash-screen/)。"
|
|
1438
1522
|
},
|
|
@@ -1623,7 +1707,7 @@
|
|
|
1623
1707
|
"message": "最佳做法"
|
|
1624
1708
|
},
|
|
1625
1709
|
"core/config/default-config.js | a11yCategoryDescription": {
|
|
1626
|
-
"message": "
|
|
1710
|
+
"message": "These checks highlight opportunities to [improve the accessibility of your web app](https://developer.chrome.com/docs/lighthouse/accessibility/). Automatic detection can only detect a subset of issues and does not guarantee the accessibility of your web app, so [manual testing](https://web.dev/how-to-review/) is also encouraged."
|
|
1627
1711
|
},
|
|
1628
1712
|
"core/config/default-config.js | a11yCategoryManualDescription": {
|
|
1629
1713
|
"message": "這些稽核項目會檢查自動化測試工具未涵蓋的區域。詳情請參閱[無障礙功能審查的執行指南](https://web.dev/how-to-review/)。"
|
|
@@ -2769,7 +2853,7 @@
|
|
|
2769
2853
|
"message": "安裝可以延遲載入圖片的 [Drupal 模組](https://www.drupal.org/project/project_module?f%5B0%5D=&f%5B1%5D=&f%5B2%5D=im_vid_3%3A67&f%5B3%5D=&f%5B4%5D=sm_field_project_type%3Afull&f%5B5%5D=&f%5B6%5D=&text=%22lazy+load%22&solrsort=iss_project_release_usage+desc&op=Search)。這類模組可延遲載入所有畫面外的圖片,進而提升效能。"
|
|
2770
2854
|
},
|
|
2771
2855
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | render-blocking-resources": {
|
|
2772
|
-
"message": "
|
|
2856
|
+
"message": "Consider using a module to inline critical CSS and JavaScript, and use the defer attribute for non-critical CSS or JavaScript."
|
|
2773
2857
|
},
|
|
2774
2858
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | server-response-time": {
|
|
2775
2859
|
"message": "主題、模組和伺服器規格都會影響伺服器回應時間。建議你尋找經過最佳化調整的主題、謹慎選擇最佳化模組,並 (或) 升級伺服器。你的代管伺服器應使用 PHP opcode 快取、記憶體快取來降低資料庫查詢時間 (例如 Redis 或 Memcached),並且使用經過最佳化的應用程式邏輯提升頁面載入的速度。"
|
|
@@ -2778,10 +2862,10 @@
|
|
|
2778
2862
|
"message": "建議你使用[回應式圖片樣式](https://www.drupal.org/docs/8/mobile-guide/responsive-images-in-drupal-8)來縮減頁面上載入圖片的大小。如果你使用 Views 在頁面上顯示多個內容項目,建議你透過分頁來限制特定頁面上顯示的內容項目數量。"
|
|
2779
2863
|
},
|
|
2780
2864
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unminified-css": {
|
|
2781
|
-
"message": "
|
|
2865
|
+
"message": "Ensure you have enabled \"Aggregate CSS files\" in the \"Administration » Configuration » Development\" page. Ensure your Drupal site is running at least Drupal 10.1 for improved asset aggregation support."
|
|
2782
2866
|
},
|
|
2783
2867
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unminified-javascript": {
|
|
2784
|
-
"message": "
|
|
2868
|
+
"message": "Ensure you have enabled \"Aggregate JavaScript files\" in the \"Administration » Configuration » Development\" page. Ensure your Drupal site is running at least Drupal 10.1 for improved asset aggregation support."
|
|
2785
2869
|
},
|
|
2786
2870
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unused-css-rules": {
|
|
2787
2871
|
"message": "建議你移除未使用的 CSS 規則,並僅將必要的 Drupal 程式庫附加至相關頁面或頁面上的元件。詳情請參閱 [Drupal 說明文件連結](https://www.drupal.org/docs/8/creating-custom-modules/adding-stylesheets-css-and-javascript-js-to-a-drupal-8-module#library)。如要找出會新增多餘 CSS 的附加程式庫,請嘗試在 Chrome DevTools 中執行[程式碼涵蓋率](https://developers.google.com/web/updates/2017/04/devtools-release-notes#coverage)功能。你可以在 Drupal 網站上停用 CSS 匯總時,透過樣式表網址找出有問題的主題/模組。請留意在清單中包含許多樣式表,且程式碼涵蓋率中有許多紅色標示的主題/模組。主題/模組只應將網頁實際使用的樣式表加入佇列。"
|
|
@@ -2981,6 +3065,48 @@
|
|
|
2981
3065
|
"node_modules/lighthouse-stack-packs/packs/next.js | uses-text-compression": {
|
|
2982
3066
|
"message": "請為您的 Next.js 伺服器啟用壓縮功能。[瞭解詳情](https://nextjs.org/docs/api-reference/next.config.js/compression)。"
|
|
2983
3067
|
},
|
|
3068
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | dom-size": {
|
|
3069
|
+
"message": "Contact your account manager to enable [`HTML Lazy Load`](https://support.nitropack.io/hc/en-us/articles/17144942904337). Configuring it will prioritize and optimize your page rendering performance."
|
|
3070
|
+
},
|
|
3071
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | font-display": {
|
|
3072
|
+
"message": "Use the [`Override Font Rendering Behavior`](https://support.nitropack.io/hc/en-us/articles/16547358865041) option in NitroPack to set a desired value for the CSS font-display rule."
|
|
3073
|
+
},
|
|
3074
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | modern-image-formats": {
|
|
3075
|
+
"message": "Use [`Image Optimization`](https://support.nitropack.io/hc/en-us/articles/16547237162513) to automatically convert your images to WebP."
|
|
3076
|
+
},
|
|
3077
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | offscreen-images": {
|
|
3078
|
+
"message": "Defer offscreen images by enabling [`Automatic Image Lazy Loading`](https://support.nitropack.io/hc/en-us/articles/12457493524369-NitroPack-Lazy-Loading-Feature-for-Images)."
|
|
3079
|
+
},
|
|
3080
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | render-blocking-resources": {
|
|
3081
|
+
"message": "Enable [`Remove render-blocking resources`](https://support.nitropack.io/hc/en-us/articles/13820893500049-How-to-Deal-with-Render-Blocking-Resources-in-NitroPack) in NitroPack for faster initial load times."
|
|
3082
|
+
},
|
|
3083
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | server-response-time": {
|
|
3084
|
+
"message": "Improve server response time and optimize perceived performance by activating [`Instant Load`](https://support.nitropack.io/hc/en-us/articles/16547340617361)."
|
|
3085
|
+
},
|
|
3086
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | unminified-css": {
|
|
3087
|
+
"message": "Enable [`Minify resources`](https://support.nitropack.io/hc/en-us/articles/360061059394-Minify-Resources) in your Caching settings to reduce the size of your CSS, HTML, and JavaScript files for faster load times."
|
|
3088
|
+
},
|
|
3089
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | unminified-javascript": {
|
|
3090
|
+
"message": "Enable [`Minify resources`](https://support.nitropack.io/hc/en-us/articles/360061059394-Minify-Resources) in your Caching settings to reduce the size of your JS, HTML, and CSS files for faster load times."
|
|
3091
|
+
},
|
|
3092
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | unused-css-rules": {
|
|
3093
|
+
"message": "Enable [`Reduce Unused CSS`](https://support.nitropack.io/hc/en-us/articles/360020418457-Reduce-Unused-CSS) to remove CSS rules that are not applicable to this page."
|
|
3094
|
+
},
|
|
3095
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | unused-javascript": {
|
|
3096
|
+
"message": "Configure [`Delayed Scripts`](https://support.nitropack.io/hc/en-us/articles/1500002600942-Delayed-Scripts) in NitroPack to delay loading of scripts until they are needed."
|
|
3097
|
+
},
|
|
3098
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | uses-long-cache-ttl": {
|
|
3099
|
+
"message": "Go to the [`Improve Server Response Time`](https://support.nitropack.io/hc/en-us/articles/1500002321821-Improve-Server-Response-Time) feature in the `Caching` menu and adjust your page cache expiration time to improve loading times and user experience."
|
|
3100
|
+
},
|
|
3101
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | uses-optimized-images": {
|
|
3102
|
+
"message": "Automatically compress, optimize, and convert your images into WebP by enabling the [`Image Optimization`](https://support.nitropack.io/hc/en-us/articles/14177271695121-How-to-serve-images-in-next-gen-formats-using-NitroPack) setting."
|
|
3103
|
+
},
|
|
3104
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | uses-responsive-images": {
|
|
3105
|
+
"message": "Enable [`Adaptive Image Sizing`](https://support.nitropack.io/hc/en-us/articles/10123833029905-How-to-Enable-Adaptive-Image-Sizing-For-Your-Site) to preemptively optimize your images and make them match the dimensions of the containers they’re displayed in across all devices."
|
|
3106
|
+
},
|
|
3107
|
+
"node_modules/lighthouse-stack-packs/packs/nitropack.js | uses-text-compression": {
|
|
3108
|
+
"message": "Use [`Gzip compression`](https://support.nitropack.io/hc/en-us/articles/13229297479313-Enabling-GZIP-compression) in NitroPack to reduce the size of the files that are sent to the browser."
|
|
3109
|
+
},
|
|
2984
3110
|
"node_modules/lighthouse-stack-packs/packs/nuxt.js | modern-image-formats": {
|
|
2985
3111
|
"message": "請使用 `nuxt/image` 元件並設定 `format=\"webp\"`。[瞭解詳情](https://image.nuxtjs.org/components/nuxt-img#format)。"
|
|
2986
3112
|
},
|
|
@@ -3062,6 +3188,21 @@
|
|
|
3062
3188
|
"node_modules/lighthouse-stack-packs/packs/react.js | user-timings": {
|
|
3063
3189
|
"message": "使用 React DevTools Profiler,這項工具會採用 Profiler API 來測量你的元件轉譯效能。[瞭解詳情](https://reactjs.org/blog/2018/09/10/introducing-the-react-profiler.html)。"
|
|
3064
3190
|
},
|
|
3191
|
+
"node_modules/lighthouse-stack-packs/packs/wix.js | efficient-animated-content": {
|
|
3192
|
+
"message": "將影片置於 `VideoBoxes` 中、使用 `Video Masks` 自訂影片,或新增 `Transparent Videos`。[瞭解詳情](https://support.wix.com/en/article/wix-video-about-wix-video)。"
|
|
3193
|
+
},
|
|
3194
|
+
"node_modules/lighthouse-stack-packs/packs/wix.js | modern-image-formats": {
|
|
3195
|
+
"message": "使用 `Wix Media Manager` 上傳圖片,確保圖片會自動以 WebP 格式提供。瞭解[更多網站媒體最佳化的方式](https://support.wix.com/en/article/site-performance-optimizing-your-media)。"
|
|
3196
|
+
},
|
|
3197
|
+
"node_modules/lighthouse-stack-packs/packs/wix.js | render-blocking-resources": {
|
|
3198
|
+
"message": "在網站資訊主頁的「`Custom Code`」分頁中[新增第三方程式碼](https://support.wix.com/en/article/site-performance-using-third-party-code-on-your-site)時,請務必將其延遲或載入至程式碼主體末端。請盡可能使用 Wix 的[整合](https://support.wix.com/en/article/about-marketing-integrations)功能,將行銷工具嵌入網站。 "
|
|
3199
|
+
},
|
|
3200
|
+
"node_modules/lighthouse-stack-packs/packs/wix.js | server-response-time": {
|
|
3201
|
+
"message": "Wix 會使用 CDN 和快取,盡快為大多數訪客提供回應。建議你為網站[手動啟用快取](https://support.wix.com/en/article/site-performance-caching-pages-to-optimize-loading-speed)功能,特別是使用 `Velo` 時。"
|
|
3202
|
+
},
|
|
3203
|
+
"node_modules/lighthouse-stack-packs/packs/wix.js | unused-javascript": {
|
|
3204
|
+
"message": "在網站資訊主頁的「`Custom Code`」分頁中,查看你在網站上加入的任何第三方程式碼,只保留網站所需的服務。[瞭解詳情](https://support.wix.com/en/article/site-performance-removing-unused-javascript)。"
|
|
3205
|
+
},
|
|
3065
3206
|
"node_modules/lighthouse-stack-packs/packs/wordpress.js | efficient-animated-content": {
|
|
3066
3207
|
"message": "建議您將 GIF 上傳到可將 GIF 做為 HTML5 影片嵌入的服務。"
|
|
3067
3208
|
},
|
|
@@ -3167,6 +3308,9 @@
|
|
|
3167
3308
|
"report/renderer/report-utils.js | dropdownSaveJSON": {
|
|
3168
3309
|
"message": "另存為 JSON"
|
|
3169
3310
|
},
|
|
3311
|
+
"report/renderer/report-utils.js | dropdownViewUnthrottledTrace": {
|
|
3312
|
+
"message": "View Unthrottled Trace"
|
|
3313
|
+
},
|
|
3170
3314
|
"report/renderer/report-utils.js | dropdownViewer": {
|
|
3171
3315
|
"message": "在檢視器中開啟"
|
|
3172
3316
|
},
|
|
@@ -3287,9 +3431,6 @@
|
|
|
3287
3431
|
"report/renderer/report-utils.js | varianceDisclaimer": {
|
|
3288
3432
|
"message": "此為預估值,可能與實際情況有所不同。系統會直接根據這些指標[計算效能分數](https://developer.chrome.com/docs/lighthouse/performance/performance-scoring/)。"
|
|
3289
3433
|
},
|
|
3290
|
-
"report/renderer/report-utils.js | viewOriginalTraceLabel": {
|
|
3291
|
-
"message": "查看原始追蹤記錄"
|
|
3292
|
-
},
|
|
3293
3434
|
"report/renderer/report-utils.js | viewTraceLabel": {
|
|
3294
3435
|
"message": "查看追蹤記錄"
|
|
3295
3436
|
},
|