chrome-devtools-frontend 1.0.1380117 → 1.0.1386602
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/.stylelintrc.json +2 -1
- package/config/gni/devtools_grd_files.gni +25 -4
- package/config/gni/devtools_image_files.gni +2 -0
- package/docs/README.md +4 -0
- package/docs/contributing/issues.md +13 -10
- package/docs/get_the_code.md +4 -1
- package/docs/policy/README.md +6 -0
- package/docs/policy/slow-close.md +52 -0
- package/docs/styleguide/ux/README.md +1 -0
- package/docs/styleguide/ux/numbers.md +106 -0
- package/front_end/Images/src/cookie_off.svg +3 -0
- package/front_end/Images/src/domain.svg +3 -0
- package/front_end/core/common/Color.ts +3 -3
- package/front_end/core/common/SettingRegistration.ts +7 -0
- package/front_end/core/host/AidaClient.ts +3 -3
- package/front_end/core/host/InspectorFrontendHostAPI.ts +0 -1
- package/front_end/core/host/UserMetrics.ts +0 -8
- package/front_end/core/i18n/locales/af.json +1031 -887
- package/front_end/core/i18n/locales/am.json +1036 -892
- package/front_end/core/i18n/locales/ar.json +1039 -895
- package/front_end/core/i18n/locales/as.json +1032 -888
- package/front_end/core/i18n/locales/az.json +1034 -890
- package/front_end/core/i18n/locales/be.json +1031 -887
- package/front_end/core/i18n/locales/bg.json +1031 -887
- package/front_end/core/i18n/locales/bn.json +1033 -889
- package/front_end/core/i18n/locales/bs.json +1036 -892
- package/front_end/core/i18n/locales/ca.json +1031 -887
- package/front_end/core/i18n/locales/cs.json +1030 -886
- package/front_end/core/i18n/locales/cy.json +1032 -888
- package/front_end/core/i18n/locales/da.json +1031 -887
- package/front_end/core/i18n/locales/de.json +1033 -889
- package/front_end/core/i18n/locales/el.json +1031 -887
- package/front_end/core/i18n/locales/en-GB.json +1033 -889
- package/front_end/core/i18n/locales/es-419.json +1029 -885
- package/front_end/core/i18n/locales/es.json +1032 -888
- package/front_end/core/i18n/locales/et.json +1033 -889
- package/front_end/core/i18n/locales/eu.json +1031 -887
- package/front_end/core/i18n/locales/fa.json +1035 -891
- package/front_end/core/i18n/locales/fi.json +1035 -891
- package/front_end/core/i18n/locales/fil.json +1034 -890
- package/front_end/core/i18n/locales/fr-CA.json +1031 -887
- package/front_end/core/i18n/locales/fr.json +1049 -905
- package/front_end/core/i18n/locales/gl.json +1032 -888
- package/front_end/core/i18n/locales/gu.json +1035 -891
- package/front_end/core/i18n/locales/he.json +1031 -887
- package/front_end/core/i18n/locales/hi.json +1034 -890
- package/front_end/core/i18n/locales/hr.json +1031 -887
- package/front_end/core/i18n/locales/hu.json +1033 -889
- package/front_end/core/i18n/locales/hy.json +1046 -902
- package/front_end/core/i18n/locales/id.json +1023 -879
- package/front_end/core/i18n/locales/is.json +1032 -888
- package/front_end/core/i18n/locales/it.json +1031 -887
- package/front_end/core/i18n/locales/ja.json +1042 -898
- package/front_end/core/i18n/locales/ka.json +1034 -890
- package/front_end/core/i18n/locales/kk.json +1035 -891
- package/front_end/core/i18n/locales/km.json +1035 -891
- package/front_end/core/i18n/locales/kn.json +1036 -892
- package/front_end/core/i18n/locales/ko.json +1031 -887
- package/front_end/core/i18n/locales/ky.json +1032 -888
- package/front_end/core/i18n/locales/lo.json +1030 -886
- package/front_end/core/i18n/locales/lt.json +1032 -888
- package/front_end/core/i18n/locales/lv.json +1032 -888
- package/front_end/core/i18n/locales/mk.json +1032 -888
- package/front_end/core/i18n/locales/ml.json +1033 -889
- package/front_end/core/i18n/locales/mn.json +1034 -890
- package/front_end/core/i18n/locales/mr.json +1035 -891
- package/front_end/core/i18n/locales/ms.json +1033 -889
- package/front_end/core/i18n/locales/my.json +1033 -889
- package/front_end/core/i18n/locales/ne.json +1036 -892
- package/front_end/core/i18n/locales/nl.json +1033 -889
- package/front_end/core/i18n/locales/no.json +1036 -892
- package/front_end/core/i18n/locales/or.json +1043 -899
- package/front_end/core/i18n/locales/pa.json +1030 -886
- package/front_end/core/i18n/locales/pl.json +1032 -888
- package/front_end/core/i18n/locales/pt-PT.json +1033 -889
- package/front_end/core/i18n/locales/pt.json +1033 -889
- package/front_end/core/i18n/locales/ro.json +1029 -885
- package/front_end/core/i18n/locales/ru.json +1026 -882
- package/front_end/core/i18n/locales/si.json +1031 -887
- package/front_end/core/i18n/locales/sk.json +1033 -889
- package/front_end/core/i18n/locales/sl.json +1031 -887
- package/front_end/core/i18n/locales/sq.json +1061 -917
- package/front_end/core/i18n/locales/sr-Latn.json +1033 -889
- package/front_end/core/i18n/locales/sr.json +1033 -889
- package/front_end/core/i18n/locales/sv.json +1031 -887
- package/front_end/core/i18n/locales/sw.json +1033 -889
- package/front_end/core/i18n/locales/ta.json +1058 -914
- package/front_end/core/i18n/locales/te.json +1037 -893
- package/front_end/core/i18n/locales/th.json +1032 -888
- package/front_end/core/i18n/locales/tr.json +1031 -887
- package/front_end/core/i18n/locales/uk.json +1030 -886
- package/front_end/core/i18n/locales/ur.json +1031 -887
- package/front_end/core/i18n/locales/uz.json +1023 -879
- package/front_end/core/i18n/locales/vi.json +1032 -888
- package/front_end/core/i18n/locales/zh-HK.json +1032 -888
- package/front_end/core/i18n/locales/zh-TW.json +1032 -888
- package/front_end/core/i18n/locales/zh.json +1033 -889
- package/front_end/core/i18n/locales/zu.json +1032 -888
- package/front_end/core/root/Runtime.ts +0 -1
- package/front_end/core/sdk/NetworkManager.test.ts +50 -0
- package/front_end/core/sdk/NetworkManager.ts +6 -4
- package/front_end/core/sdk/SourceMap.test.ts +5 -5
- package/front_end/core/sdk/SourceMapScopeChainEntry.test.ts +7 -2
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +2 -2
- package/front_end/core/sdk/SourceMapScopes.test.ts +112 -45
- package/front_end/core/sdk/SourceMapScopes.ts +39 -14
- package/front_end/core/sdk/SourceMapScopesInfo.test.ts +51 -50
- package/front_end/core/sdk/SourceMapScopesInfo.ts +1 -1
- package/front_end/core/sdk/sdk-meta.ts +27 -0
- package/front_end/devtools_compatibility.js +0 -1
- package/front_end/entrypoints/devtools_app/devtools_app.ts +1 -0
- package/front_end/entrypoints/inspector_main/renderingOptions.css +1 -1
- package/front_end/entrypoints/main/ExecutionContextSelector.test.ts +13 -3
- package/front_end/entrypoints/main/ExecutionContextSelector.ts +23 -1
- package/front_end/entrypoints/main/MainImpl.ts +0 -5
- package/front_end/generated/Deprecation.ts +0 -15
- package/front_end/generated/InspectorBackendCommands.js +1 -1
- package/front_end/generated/SupportedCSSProperties.js +0 -40
- package/front_end/generated/protocol.ts +1 -0
- package/front_end/models/bindings/IgnoreListManager.ts +25 -2
- package/front_end/models/crux-manager/CrUXManager.test.ts +25 -6
- package/front_end/models/crux-manager/CrUXManager.ts +23 -4
- package/front_end/models/extensions/ExtensionServer.test.ts +14 -0
- package/front_end/models/extensions/ExtensionServer.ts +28 -15
- package/front_end/models/issues_manager/CookieIssue.ts +79 -2
- package/front_end/models/issues_manager/IssuesManager.ts +1 -1
- package/front_end/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/front_end/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/front_end/models/javascript_metadata/NativeFunctions.js +14 -4
- package/front_end/models/persistence/EditFileSystemView.ts +2 -2
- package/front_end/models/persistence/editFileSystemView.css +6 -3
- package/front_end/models/persistence/workspaceSettingsTab.css +2 -2
- package/front_end/models/trace/extras/Metadata.test.ts +35 -2
- package/front_end/models/trace/extras/Metadata.ts +24 -5
- package/front_end/models/trace/extras/TraceTree.ts +28 -18
- package/front_end/models/trace/extras/URLForEntry.ts +6 -5
- package/front_end/models/trace/handlers/ImagePaintingHandler.ts +12 -0
- package/front_end/models/trace/helpers/Timing.ts +8 -0
- package/front_end/models/trace/insights/CLSCulprits.ts +11 -3
- package/front_end/models/trace/insights/DocumentLatency.ts +16 -3
- package/front_end/models/trace/insights/FontDisplay.ts +10 -3
- package/front_end/models/trace/insights/ImageDelivery.test.ts +98 -0
- package/front_end/models/trace/insights/ImageDelivery.ts +183 -0
- package/front_end/models/trace/insights/InteractionToNextPaint.ts +9 -3
- package/front_end/models/trace/insights/LCPDiscovery.ts +24 -3
- package/front_end/models/trace/insights/LCPPhases.ts +25 -3
- package/front_end/models/trace/insights/Models.ts +1 -0
- package/front_end/models/trace/insights/RenderBlocking.ts +10 -2
- package/front_end/models/trace/insights/SlowCSSSelector.ts +10 -3
- package/front_end/models/trace/insights/ThirdParties.ts +11 -3
- package/front_end/models/trace/insights/Viewport.ts +16 -3
- package/front_end/models/trace/insights/types.ts +13 -2
- package/front_end/models/trace/types/File.ts +7 -0
- package/front_end/models/trace/types/TraceEvents.ts +9 -2
- package/front_end/panels/animation/AnimationTimeline.ts +2 -4
- package/front_end/panels/application/ApplicationPanelSidebar.test.ts +0 -5
- package/front_end/panels/application/ApplicationPanelSidebar.ts +15 -21
- package/front_end/panels/application/IndexedDBViews.ts +4 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +4 -1
- package/front_end/panels/application/StorageView.test.ts +1 -1
- package/front_end/panels/application/resourcesSidebar.css +1 -1
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +1 -1
- package/front_end/panels/console/ConsoleViewMessage.test.ts +25 -0
- package/front_end/panels/console/ConsoleViewMessage.ts +23 -0
- package/front_end/panels/coverage/CoverageListView.ts +1 -1
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
- package/front_end/panels/elements/ClassesPaneWidget.ts +1 -1
- package/front_end/panels/elements/ElementStatePaneWidget.test.ts +3 -2
- package/front_end/panels/elements/ElementStatePaneWidget.ts +7 -2
- package/front_end/panels/elements/ElementsSidebarPane.ts +3 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +1 -0
- package/front_end/panels/elements/LayersWidget.ts +1 -1
- package/front_end/panels/elements/PropertyMatchers.test.ts +7 -0
- package/front_end/panels/elements/PropertyMatchers.ts +3 -0
- package/front_end/panels/elements/classesPaneWidget.css +1 -1
- package/front_end/panels/emulation/DeviceModeView.ts +1 -1
- package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +1 -1
- package/front_end/panels/freestyler/AiAgent.test.ts +319 -50
- package/front_end/panels/freestyler/AiAgent.ts +193 -141
- package/front_end/panels/freestyler/AiHistoryStorage.test.ts +159 -0
- package/front_end/panels/freestyler/AiHistoryStorage.ts +73 -0
- package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +14 -15
- package/front_end/panels/freestyler/DrJonesFileAgent.ts +3 -14
- package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +14 -13
- package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +3 -3
- package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +38 -36
- package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +3 -14
- package/front_end/panels/freestyler/FreestylerAgent.test.ts +195 -14
- package/front_end/panels/freestyler/FreestylerAgent.ts +13 -18
- package/front_end/panels/freestyler/FreestylerPanel.test.ts +71 -0
- package/front_end/panels/freestyler/FreestylerPanel.ts +99 -74
- package/front_end/panels/freestyler/components/FreestylerChatUi.ts +128 -29
- package/front_end/panels/freestyler/components/UserActionRow.ts +1 -0
- package/front_end/panels/freestyler/components/freestylerChatUi.css +21 -1
- package/front_end/panels/freestyler/components/userActionRow.css +2 -1
- package/front_end/panels/freestyler/freestyler.ts +1 -0
- package/front_end/panels/issues/IssueAggregator.test.ts +50 -0
- package/front_end/panels/issues/IssueAggregator.ts +10 -10
- package/front_end/panels/issues/issuesTree.css +1 -1
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +1 -1
- package/front_end/panels/layer_viewer/Layers3DView.ts +1 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +1 -1
- package/front_end/panels/layers/LayersPanel.ts +1 -1
- package/front_end/panels/lighthouse/lighthouseStartView.css +1 -1
- package/front_end/panels/media/TickingFlameChart.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +1 -1
- package/front_end/panels/network/BlockedURLsPane.ts +1 -1
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -0
- package/front_end/panels/network/NetworkLogView.test.ts +1 -1
- package/front_end/panels/network/NetworkPanel.ts +40 -32
- package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -1
- package/front_end/panels/profiler/HeapProfileView.ts +9 -9
- package/front_end/panels/profiler/HeapTimelineOverview.ts +1 -1
- package/front_end/panels/profiler/IsolateSelector.ts +1 -1
- package/front_end/panels/profiler/LiveHeapProfileView.ts +3 -1
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +3 -3
- package/front_end/panels/profiler/ProfileView.ts +2 -2
- package/front_end/panels/profiler/profileLauncherView.css +1 -1
- package/front_end/panels/profiler/profilesSidebarTree.css +1 -1
- package/front_end/panels/recorder/recorderController.css +1 -1
- package/front_end/panels/security/CookieControlsTreeElement.ts +18 -0
- package/front_end/panels/security/CookieControlsView.test.ts +29 -0
- package/front_end/panels/security/CookieControlsView.ts +265 -0
- package/front_end/panels/security/CookieReportView.test.ts +157 -0
- package/front_end/panels/security/CookieReportView.ts +208 -12
- package/front_end/panels/security/SecurityPanel.ts +5 -3
- package/front_end/panels/security/SecurityPanelSidebar.ts +6 -1
- package/front_end/panels/security/cookieControlsView.css +101 -0
- package/front_end/panels/security/cookieReportView.css +26 -3
- package/front_end/panels/security/security.ts +4 -0
- package/front_end/panels/security/sidebar.css +1 -1
- package/front_end/panels/settings/KeybindsSettingsTab.ts +3 -2
- package/front_end/panels/settings/SettingsScreen.ts +5 -1
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +1 -1
- package/front_end/panels/settings/keybindsSettingsTab.css +6 -1
- package/front_end/panels/settings/settings-meta.ts +3 -1
- package/front_end/panels/settings/settingsScreen.css +10 -0
- package/front_end/panels/sources/CallStackSidebarPane.ts +2 -2
- package/front_end/panels/sources/NavigatorView.ts +1 -0
- package/front_end/panels/sources/navigatorTree.css +1 -1
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -7
- package/front_end/panels/timeline/AppenderUtils.ts +1 -1
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +38 -41
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +4 -13
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +3 -4
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -12
- package/front_end/panels/timeline/ServerTimingsTrackAppender.ts +1 -10
- package/front_end/panels/timeline/ThreadAppender.ts +9 -12
- package/front_end/panels/timeline/TimelineController.ts +1 -1
- package/front_end/panels/timeline/TimelineDetailsView.test.ts +3 -2
- package/front_end/panels/timeline/TimelineDetailsView.ts +18 -17
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +55 -36
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +33 -14
- package/front_end/panels/timeline/TimelineHistoryManager.test.ts +20 -15
- package/front_end/panels/timeline/TimelineHistoryManager.ts +46 -58
- package/front_end/panels/timeline/TimelineLayersView.ts +1 -1
- package/front_end/panels/timeline/TimelineLoader.ts +16 -0
- package/front_end/panels/timeline/TimelineMiniMap.ts +2 -2
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +145 -28
- package/front_end/panels/timeline/TimelineTreeView.ts +65 -16
- package/front_end/panels/timeline/TimelineUIUtils.ts +44 -0
- package/front_end/panels/timeline/TimingsTrackAppender.ts +6 -13
- package/front_end/panels/timeline/components/FieldSettingsDialog.test.ts +1 -0
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +6 -1
- package/front_end/panels/timeline/components/LiveMetricsView.test.ts +12 -0
- package/front_end/panels/timeline/components/LiveMetricsView.ts +13 -18
- package/front_end/panels/timeline/components/Sidebar.ts +1 -4
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.test.ts +1 -1
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +1 -1
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +21 -35
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +16 -9
- package/front_end/panels/timeline/components/TimelineSummary.test.ts +75 -0
- package/front_end/panels/timeline/components/TimelineSummary.ts +101 -0
- package/front_end/panels/timeline/components/Utils.test.ts +49 -0
- package/front_end/panels/timeline/components/Utils.ts +2 -2
- package/front_end/panels/timeline/components/components.ts +2 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.test.ts +84 -0
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +291 -0
- package/front_end/panels/timeline/components/insights/CLSCulprits.ts +17 -41
- package/front_end/panels/timeline/components/insights/DocumentLatency.ts +28 -46
- package/front_end/panels/timeline/components/insights/EventRef.ts +70 -2
- package/front_end/panels/timeline/components/insights/FontDisplay.ts +28 -46
- package/front_end/panels/timeline/components/insights/Helpers.ts +5 -208
- package/front_end/panels/timeline/components/insights/ImageDelivery.ts +142 -0
- package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +30 -53
- package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +36 -75
- package/front_end/panels/timeline/components/insights/LCPPhases.ts +15 -49
- package/front_end/panels/timeline/components/insights/RenderBlocking.ts +27 -44
- package/front_end/panels/timeline/components/insights/SidebarInsight.ts +3 -197
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +51 -74
- package/front_end/panels/timeline/components/insights/Table.ts +6 -5
- package/front_end/panels/timeline/components/insights/ThirdParties.ts +41 -61
- package/front_end/panels/timeline/components/insights/Viewport.ts +20 -31
- package/front_end/panels/timeline/components/insights/{sidebarInsight.css → baseInsightComponent.css} +9 -9
- package/front_end/panels/timeline/components/insights/insights.ts +4 -0
- package/front_end/panels/timeline/components/insights/types.ts +0 -7
- package/front_end/panels/timeline/components/liveMetricsView.css +5 -5
- package/front_end/panels/timeline/components/timelineSummary.css +67 -0
- package/front_end/panels/timeline/docs/flame_chart_migration.md +1 -1
- package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
- package/front_end/panels/timeline/fixtures/traces/image-delivery.json.gz +0 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +22 -0
- package/front_end/panels/timeline/timeline-meta.ts +1 -1
- package/front_end/panels/timeline/timelineFlamechartPopover.css +14 -4
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -3
- package/front_end/panels/timeline/timelinePanel.css +0 -1
- package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +5 -5
- package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +5 -6
- package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +11 -2
- package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +0 -9
- package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +37 -44
- package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +44 -30
- package/front_end/panels/timeline/utils/EntryName.ts +1 -2
- package/front_end/panels/timeline/utils/Helpers.ts +19 -0
- package/front_end/panels/timeline/utils/IgnoreList.test.ts +52 -0
- package/front_end/panels/timeline/utils/IgnoreList.ts +68 -7
- package/front_end/panels/timeline/utils/SourceMapsResolver.ts +2 -0
- package/front_end/panels/webauthn/webauthnPane.css +1 -1
- package/front_end/panels/whats_new/ReleaseNote.test.ts +90 -0
- package/front_end/panels/whats_new/ReleaseNoteText.ts +52 -0
- package/front_end/panels/whats_new/ReleaseNoteView.ts +157 -0
- package/front_end/panels/whats_new/WhatsNewImpl.ts +102 -0
- package/front_end/panels/whats_new/releaseNoteView.css +121 -0
- package/front_end/panels/whats_new/resources/WNDT.md +6 -0
- package/front_end/panels/whats_new/resources/whatsnew.avif +0 -0
- package/front_end/panels/whats_new/whats_new-meta.ts +142 -0
- package/front_end/panels/whats_new/whats_new.ts +13 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +4 -3
- package/front_end/testing/EnvironmentHelpers.ts +1 -2
- package/front_end/testing/SourceMapEncoder.ts +27 -11
- package/front_end/testing/TraceHelpers.ts +2 -1
- package/front_end/testing/TraceLoader.ts +6 -2
- package/front_end/third_party/lighthouse/README.chromium +2 -2
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1380 -1369
- package/front_end/third_party/lighthouse/locales/ar-XB.json +88 -85
- package/front_end/third_party/lighthouse/locales/ar.json +98 -95
- package/front_end/third_party/lighthouse/locales/bg.json +88 -85
- package/front_end/third_party/lighthouse/locales/ca.json +91 -88
- package/front_end/third_party/lighthouse/locales/cs.json +91 -88
- package/front_end/third_party/lighthouse/locales/da.json +94 -91
- package/front_end/third_party/lighthouse/locales/de.json +92 -89
- package/front_end/third_party/lighthouse/locales/el.json +92 -89
- package/front_end/third_party/lighthouse/locales/en-GB.json +89 -86
- package/front_end/third_party/lighthouse/locales/en-US.json +23 -20
- package/front_end/third_party/lighthouse/locales/en-XA.json +88 -85
- package/front_end/third_party/lighthouse/locales/en-XL.json +23 -20
- package/front_end/third_party/lighthouse/locales/es-419.json +92 -89
- package/front_end/third_party/lighthouse/locales/es.json +91 -88
- package/front_end/third_party/lighthouse/locales/fi.json +92 -89
- package/front_end/third_party/lighthouse/locales/fil.json +93 -90
- package/front_end/third_party/lighthouse/locales/fr.json +94 -91
- package/front_end/third_party/lighthouse/locales/he.json +97 -94
- package/front_end/third_party/lighthouse/locales/hi.json +92 -89
- package/front_end/third_party/lighthouse/locales/hr.json +90 -87
- package/front_end/third_party/lighthouse/locales/hu.json +90 -87
- package/front_end/third_party/lighthouse/locales/id.json +91 -88
- package/front_end/third_party/lighthouse/locales/it.json +90 -87
- package/front_end/third_party/lighthouse/locales/ja.json +90 -87
- package/front_end/third_party/lighthouse/locales/ko.json +90 -87
- package/front_end/third_party/lighthouse/locales/lt.json +90 -87
- package/front_end/third_party/lighthouse/locales/lv.json +91 -88
- package/front_end/third_party/lighthouse/locales/nl.json +90 -87
- package/front_end/third_party/lighthouse/locales/no.json +92 -89
- package/front_end/third_party/lighthouse/locales/pl.json +90 -87
- package/front_end/third_party/lighthouse/locales/pt-PT.json +111 -108
- package/front_end/third_party/lighthouse/locales/pt.json +97 -94
- package/front_end/third_party/lighthouse/locales/ro.json +94 -91
- package/front_end/third_party/lighthouse/locales/ru.json +93 -90
- package/front_end/third_party/lighthouse/locales/sk.json +93 -90
- package/front_end/third_party/lighthouse/locales/sl.json +91 -88
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +91 -88
- package/front_end/third_party/lighthouse/locales/sr.json +91 -88
- package/front_end/third_party/lighthouse/locales/sv.json +92 -89
- package/front_end/third_party/lighthouse/locales/ta.json +101 -98
- package/front_end/third_party/lighthouse/locales/te.json +92 -89
- package/front_end/third_party/lighthouse/locales/th.json +95 -92
- package/front_end/third_party/lighthouse/locales/tr.json +91 -88
- package/front_end/third_party/lighthouse/locales/uk.json +93 -90
- package/front_end/third_party/lighthouse/locales/vi.json +95 -92
- package/front_end/third_party/lighthouse/locales/zh-HK.json +92 -89
- package/front_end/third_party/lighthouse/locales/zh-TW.json +98 -95
- package/front_end/third_party/lighthouse/locales/zh.json +96 -93
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js +8 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +49 -0
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +118 -88
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +8 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +3 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +3 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js +10 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +4 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +24 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts +30 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DownloadBehavior.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +49 -0
- package/front_end/third_party/puppeteer/package/package.json +3 -3
- package/front_end/third_party/puppeteer/package/src/api/Browser.ts +8 -0
- package/front_end/third_party/puppeteer/package/src/api/Frame.ts +3 -1
- package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +11 -3
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +3 -5
- package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +34 -17
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +5 -0
- package/front_end/third_party/puppeteer/package/src/common/DownloadBehavior.ts +31 -0
- package/front_end/third_party/puppeteer/package/src/common/common.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +2 -0
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +1 -0
- package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +4 -1
- package/front_end/ui/components/dialogs/ButtonDialog.test.ts +78 -0
- package/front_end/ui/components/dialogs/ButtonDialog.ts +131 -0
- package/front_end/ui/components/dialogs/Dialog.test.ts +43 -0
- package/front_end/ui/components/dialogs/Dialog.ts +64 -2
- package/front_end/ui/components/dialogs/ShortcutDialog.test.ts +15 -1
- package/front_end/ui/components/dialogs/ShortcutDialog.ts +28 -20
- package/front_end/ui/components/dialogs/buttonDialog.css +9 -0
- package/front_end/ui/components/dialogs/dialog.css +15 -0
- package/front_end/ui/components/dialogs/dialogs.ts +2 -0
- package/front_end/ui/components/dialogs/shortcutDialog.css +34 -6
- package/front_end/ui/components/docs/dialog/button_dialog.html +28 -0
- package/front_end/ui/components/docs/dialog/button_dialog.ts +29 -0
- package/front_end/ui/components/docs/performance_panel/basic.ts +1 -1
- package/front_end/ui/components/docs/performance_panel/timeline_history_manager.ts +6 -4
- package/front_end/ui/components/floating_button/FloatingButton.ts +3 -2
- package/front_end/ui/components/icon_button/fileSourceIcon.css +7 -3
- package/front_end/ui/components/issue_counter/IssueCounter.ts +15 -2
- package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownView.ts +15 -0
- package/front_end/ui/components/markdown_view/markdownView.css +1 -1
- package/front_end/ui/components/render_coordinator/RenderCoordinator.ts +24 -18
- package/front_end/ui/components/switch/SwitchImpl.ts +2 -2
- package/front_end/ui/legacy/Infobar.ts +6 -0
- package/front_end/ui/legacy/InspectorView.ts +40 -0
- package/front_end/ui/legacy/ListWidget.ts +4 -2
- package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
- package/front_end/ui/legacy/Toolbar.ts +3 -3
- package/front_end/ui/legacy/UIUtils.ts +8 -6
- package/front_end/ui/legacy/Widget.ts +32 -0
- package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +6 -9
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +35 -34
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +32 -25
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewCalculator.ts +18 -4
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +80 -39
- package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +4 -4
- package/front_end/ui/legacy/components/utils/jsUtils.css +8 -0
- package/front_end/ui/legacy/filter.css +1 -1
- package/front_end/ui/legacy/inspectorCommon.css +1 -1
- package/front_end/ui/legacy/listWidget.css +4 -1
- package/front_end/ui/legacy/reportView.css +1 -1
- package/front_end/ui/legacy/toolbar.css +3 -6
- package/front_end/ui/legacy/treeoutline.css +3 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +12 -1
- package/front_end/ui/visual_logging/LoggingDriver.test.ts +27 -1
- package/front_end/ui/visual_logging/LoggingDriver.ts +7 -4
- package/package.json +2 -3
- package/scripts/build/wasm-as.py +1 -1
- package/scripts/freestyler/auto_freestyler.js +12 -4
- package/scripts/freestyler/to_tsv.mjs +40 -0
- package/scripts/tools/update_goldens.py +11 -13
- package/front_end/panels/timeline/components/insights/SidebarInsight.test.ts +0 -72
- package/front_end/ui/components/docs/two_states_counter/basic.html +0 -27
- package/front_end/ui/components/docs/two_states_counter/basic.ts +0 -45
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.test.ts +0 -73
- package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -104
- package/front_end/ui/components/two_states_counter/twoStatesCounter.css +0 -37
- package/front_end/ui/components/two_states_counter/two_states_counter.ts +0 -9
@@ -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.10/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.10/aria-allowed-attr)。"
|
13
13
|
},
|
14
14
|
"core/audits/accessibility/aria-allowed-attr.js | failureTitle": {
|
15
15
|
"message": "`[aria-*]` 屬性與其角色不符"
|
@@ -18,16 +18,16 @@
|
|
18
18
|
"message": "`[aria-*]` 屬性與其角色相符"
|
19
19
|
},
|
20
20
|
"core/audits/accessibility/aria-allowed-role.js | description": {
|
21
|
-
"message": "
|
21
|
+
"message": "許多 HTML 元素只能接受指派特定的 ARIA 角色。如果使用禁用的 ARIA 角色,可能會影響網頁的無障礙功能。[進一步瞭解 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role)。"
|
22
22
|
},
|
23
23
|
"core/audits/accessibility/aria-allowed-role.js | failureTitle": {
|
24
|
-
"message": "
|
24
|
+
"message": "有不相容的元素使用 ARIA 角色"
|
25
25
|
},
|
26
26
|
"core/audits/accessibility/aria-allowed-role.js | title": {
|
27
|
-
"message": "
|
27
|
+
"message": "使用 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.10/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-conditional-attr.js | description": {
|
39
|
-
"message": "元素的某些 ARIA 屬性只能在特定條件下使用。[進一步瞭解條件式 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.
|
39
|
+
"message": "元素的某些 ARIA 屬性只能在特定條件下使用。[進一步瞭解條件式 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.10/aria-conditional-attr)。"
|
40
40
|
},
|
41
41
|
"core/audits/accessibility/aria-conditional-attr.js | failureTitle": {
|
42
42
|
"message": "未按照指定方式在元素角色中使用 ARIA 屬性"
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"message": "已按照指定方式在元素角色中使用 ARIA 屬性"
|
46
46
|
},
|
47
47
|
"core/audits/accessibility/aria-deprecated-role.js | description": {
|
48
|
-
"message": "輔助技術可能無法正確處理已淘汰的 ARIA 角色。[進一步瞭解已淘汰的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
48
|
+
"message": "輔助技術可能無法正確處理已淘汰的 ARIA 角色。[進一步瞭解已淘汰的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-deprecated-role)。"
|
49
49
|
},
|
50
50
|
"core/audits/accessibility/aria-deprecated-role.js | failureTitle": {
|
51
51
|
"message": "使用已淘汰的 ARIA 角色"
|
@@ -54,7 +54,7 @@
|
|
54
54
|
"message": "未使用已淘汰的 ARIA 角色"
|
55
55
|
},
|
56
56
|
"core/audits/accessibility/aria-dialog-name.js | description": {
|
57
|
-
"message": "如果 ARIA 對話方塊元素缺少無障礙元素名稱,螢幕閱讀器使用者就可能無法分辨這些元素的用途。[瞭解如何讓 ARIA 對話方塊元素更易於存取](https://dequeuniversity.com/rules/axe/4.
|
57
|
+
"message": "如果 ARIA 對話方塊元素缺少無障礙元素名稱,螢幕閱讀器使用者就可能無法分辨這些元素的用途。[瞭解如何讓 ARIA 對話方塊元素更易於存取](https://dequeuniversity.com/rules/axe/4.10/aria-dialog-name)。"
|
58
58
|
},
|
59
59
|
"core/audits/accessibility/aria-dialog-name.js | failureTitle": {
|
60
60
|
"message": "含有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素缺少無障礙元素名稱。"
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"message": "含有 `role=\"dialog\"` 或 `role=\"alertdialog\"` 的元素具有無障礙元素名稱。"
|
64
64
|
},
|
65
65
|
"core/audits/accessibility/aria-hidden-body.js | description": {
|
66
|
-
"message": "在 `<body>` 文件上設定 `aria-hidden=\"true\"` 時,輔助技術 (例如螢幕閱讀器) 無法一致地進行作業。[瞭解 `aria-hidden` 對文件內文的影響](https://dequeuniversity.com/rules/axe/4.
|
66
|
+
"message": "在 `<body>` 文件上設定 `aria-hidden=\"true\"` 時,輔助技術 (例如螢幕閱讀器) 無法一致地進行作業。[瞭解 `aria-hidden` 對文件內文的影響](https://dequeuniversity.com/rules/axe/4.10/aria-hidden-body)。"
|
67
67
|
},
|
68
68
|
"core/audits/accessibility/aria-hidden-body.js | failureTitle": {
|
69
69
|
"message": "`<body>` 文件中出現 `[aria-hidden=\"true\"]`"
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"message": "`<body>` 文件中並未出現 `[aria-hidden=\"true\"]`"
|
73
73
|
},
|
74
74
|
"core/audits/accessibility/aria-hidden-focus.js | description": {
|
75
|
-
"message": "`[aria-hidden=\"true\"]` 元素中的可聚焦子系會禁止輔助技術 (例如螢幕閱讀器) 的使用者存取這些互動元素。[瞭解 `aria-hidden` 對可聚焦元素的影響](https://dequeuniversity.com/rules/axe/4.
|
75
|
+
"message": "`[aria-hidden=\"true\"]` 元素中的可聚焦子系會禁止輔助技術 (例如螢幕閱讀器) 的使用者存取這些互動元素。[瞭解 `aria-hidden` 對可聚焦元素的影響](https://dequeuniversity.com/rules/axe/4.10/aria-hidden-focus)。"
|
76
76
|
},
|
77
77
|
"core/audits/accessibility/aria-hidden-focus.js | failureTitle": {
|
78
78
|
"message": "`[aria-hidden=\"true\"]` 元素包含可聚焦的子系"
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"message": "`[aria-hidden=\"true\"]` 元素不包含可聚焦的子系"
|
82
82
|
},
|
83
83
|
"core/audits/accessibility/aria-input-field-name.js | description": {
|
84
|
-
"message": "如果沒有可解讀的輸入欄位名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個輸入欄位的用途。[進一步瞭解輸入欄位標籤](https://dequeuniversity.com/rules/axe/4.
|
84
|
+
"message": "如果沒有可解讀的輸入欄位名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個輸入欄位的用途。[進一步瞭解輸入欄位標籤](https://dequeuniversity.com/rules/axe/4.10/aria-input-field-name)。"
|
85
85
|
},
|
86
86
|
"core/audits/accessibility/aria-input-field-name.js | failureTitle": {
|
87
87
|
"message": "ARIA 輸入欄位沒有可解讀的名稱"
|
@@ -90,7 +90,7 @@
|
|
90
90
|
"message": "ARIA 輸入欄位具有可解讀的名稱"
|
91
91
|
},
|
92
92
|
"core/audits/accessibility/aria-meter-name.js | description": {
|
93
|
-
"message": "如果 meter 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法瞭解這個元素的用途與用法。[瞭解如何命名 `meter` 元素](https://dequeuniversity.com/rules/axe/4.
|
93
|
+
"message": "如果 meter 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法瞭解這個元素的用途與用法。[瞭解如何命名 `meter` 元素](https://dequeuniversity.com/rules/axe/4.10/aria-meter-name)。"
|
94
94
|
},
|
95
95
|
"core/audits/accessibility/aria-meter-name.js | failureTitle": {
|
96
96
|
"message": "ARIA `meter` 元素沒有可解讀的名稱。"
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"message": "ARIA `meter` 元素具有可解讀的名稱"
|
100
100
|
},
|
101
101
|
"core/audits/accessibility/aria-progressbar-name.js | description": {
|
102
|
-
"message": "如果 `progressbar` 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個元素的用途。[瞭解如何為 `progressbar` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.
|
102
|
+
"message": "如果 `progressbar` 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個元素的用途。[瞭解如何為 `progressbar` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.10/aria-progressbar-name)。"
|
103
103
|
},
|
104
104
|
"core/audits/accessibility/aria-progressbar-name.js | failureTitle": {
|
105
105
|
"message": "ARIA `progressbar` 元素沒有可解讀的名稱。"
|
@@ -108,7 +108,7 @@
|
|
108
108
|
"message": "ARIA `progressbar` 元素具有可解讀的名稱"
|
109
109
|
},
|
110
110
|
"core/audits/accessibility/aria-prohibited-attr.js | description": {
|
111
|
-
"message": "如果在禁止使用 ARIA 屬性的角色中使用這些屬性,可能會導致輔助技術使用者無法取得重要資訊。[進一步瞭解禁止使用的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
111
|
+
"message": "如果在禁止使用 ARIA 屬性的角色中使用這些屬性,可能會導致輔助技術使用者無法取得重要資訊。[進一步瞭解禁止使用的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr)。"
|
112
112
|
},
|
113
113
|
"core/audits/accessibility/aria-prohibited-attr.js | failureTitle": {
|
114
114
|
"message": "多項元素使用禁用的 ARIA 屬性"
|
@@ -117,7 +117,7 @@
|
|
117
117
|
"message": "元素僅使用允許的 ARIA 屬性"
|
118
118
|
},
|
119
119
|
"core/audits/accessibility/aria-required-attr.js | description": {
|
120
|
-
"message": "部分 ARIA 角色的必要屬性會向螢幕閱讀器的使用者說明元素狀態。[進一步瞭解角色和必要屬性](https://dequeuniversity.com/rules/axe/4.
|
120
|
+
"message": "部分 ARIA 角色的必要屬性會向螢幕閱讀器的使用者說明元素狀態。[進一步瞭解角色和必要屬性](https://dequeuniversity.com/rules/axe/4.10/aria-required-attr)。"
|
121
121
|
},
|
122
122
|
"core/audits/accessibility/aria-required-attr.js | failureTitle": {
|
123
123
|
"message": "`[role]` 未具備所有必要的 `[aria-*]` 屬性"
|
@@ -126,7 +126,7 @@
|
|
126
126
|
"message": "`[role]` 具備所有必要的 `[aria-*]` 屬性"
|
127
127
|
},
|
128
128
|
"core/audits/accessibility/aria-required-children.js | description": {
|
129
|
-
"message": "部分 ARIA 父項角色必須包含特定的子項角色,才能正確執行無障礙功能。[進一步瞭解角色和必要的子項元素](https://dequeuniversity.com/rules/axe/4.
|
129
|
+
"message": "部分 ARIA 父項角色必須包含特定的子項角色,才能正確執行無障礙功能。[進一步瞭解角色和必要的子項元素](https://dequeuniversity.com/rules/axe/4.10/aria-required-children)。"
|
130
130
|
},
|
131
131
|
"core/audits/accessibility/aria-required-children.js | failureTitle": {
|
132
132
|
"message": "有些元素具備 ARIA `[role]` 且要求子項包含特定 `[role]`,這些元素缺少部分或全部的必要子項。"
|
@@ -135,7 +135,7 @@
|
|
135
135
|
"message": "具備 ARIA `[role]` 且要求子項包含特定 `[role]` 的元素具有全部的必要子項。"
|
136
136
|
},
|
137
137
|
"core/audits/accessibility/aria-required-parent.js | description": {
|
138
|
-
"message": "部分 ARIA 子項角色必須包含在特定的父項角色中,才能正確執行其無障礙功能。[進一步瞭解 ARIA 角色和必要的父項元素](https://dequeuniversity.com/rules/axe/4.
|
138
|
+
"message": "部分 ARIA 子項角色必須包含在特定的父項角色中,才能正確執行其無障礙功能。[進一步瞭解 ARIA 角色和必要的父項元素](https://dequeuniversity.com/rules/axe/4.10/aria-required-parent)。"
|
139
139
|
},
|
140
140
|
"core/audits/accessibility/aria-required-parent.js | failureTitle": {
|
141
141
|
"message": "`[role]` 未包含在必要的父項元素中"
|
@@ -144,7 +144,7 @@
|
|
144
144
|
"message": "`[role]` 包含在必要的父項元素中"
|
145
145
|
},
|
146
146
|
"core/audits/accessibility/aria-roles.js | description": {
|
147
|
-
"message": "ARIA 角色必須具備有效的值,才能執行其無障礙功能。[進一步瞭解有效的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
147
|
+
"message": "ARIA 角色必須具備有效的值,才能執行其無障礙功能。[進一步瞭解有效的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.10/aria-roles)。"
|
148
148
|
},
|
149
149
|
"core/audits/accessibility/aria-roles.js | failureTitle": {
|
150
150
|
"message": "`[role]` 不具備有效的值"
|
@@ -153,7 +153,7 @@
|
|
153
153
|
"message": "`[role]` 具備有效的值"
|
154
154
|
},
|
155
155
|
"core/audits/accessibility/aria-text.js | description": {
|
156
|
-
"message": "在由標記分割的文字節點前後新增 `role=text`,VoiceOver 就會將其視為一個詞組,但系統不會通知該元素的可聚焦子系。[進一步瞭解 `role=text` 屬性](https://dequeuniversity.com/rules/axe/4.
|
156
|
+
"message": "在由標記分割的文字節點前後新增 `role=text`,VoiceOver 就會將其視為一個詞組,但系統不會通知該元素的可聚焦子系。[進一步瞭解 `role=text` 屬性](https://dequeuniversity.com/rules/axe/4.10/aria-text)。"
|
157
157
|
},
|
158
158
|
"core/audits/accessibility/aria-text.js | failureTitle": {
|
159
159
|
"message": "具有 `role=text` 屬性的元素具有可聚焦子系。"
|
@@ -162,7 +162,7 @@
|
|
162
162
|
"message": "具有 `role=text` 屬性的元素缺少可聚焦子系。"
|
163
163
|
},
|
164
164
|
"core/audits/accessibility/aria-toggle-field-name.js | description": {
|
165
|
-
"message": "如果沒有可解讀的切換欄位名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個切換欄位的用途。[進一步瞭解切換欄位](https://dequeuniversity.com/rules/axe/4.
|
165
|
+
"message": "如果沒有可解讀的切換欄位名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個切換欄位的用途。[進一步瞭解切換欄位](https://dequeuniversity.com/rules/axe/4.10/aria-toggle-field-name)。"
|
166
166
|
},
|
167
167
|
"core/audits/accessibility/aria-toggle-field-name.js | failureTitle": {
|
168
168
|
"message": "ARIA 切換欄位沒有可解讀的名稱"
|
@@ -171,7 +171,7 @@
|
|
171
171
|
"message": "ARIA 切換欄位具有可解讀的名稱"
|
172
172
|
},
|
173
173
|
"core/audits/accessibility/aria-tooltip-name.js | description": {
|
174
|
-
"message": "如果 tooltip 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法瞭解這個元素的用途與用法。[瞭解如何命名 `tooltip` 元素](https://dequeuniversity.com/rules/axe/4.
|
174
|
+
"message": "如果 tooltip 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法瞭解這個元素的用途與用法。[瞭解如何命名 `tooltip` 元素](https://dequeuniversity.com/rules/axe/4.10/aria-tooltip-name)。"
|
175
175
|
},
|
176
176
|
"core/audits/accessibility/aria-tooltip-name.js | failureTitle": {
|
177
177
|
"message": "ARIA `tooltip` 元素沒有可解讀的名稱。"
|
@@ -180,7 +180,7 @@
|
|
180
180
|
"message": "ARIA `tooltip` 元素具有可解讀的名稱"
|
181
181
|
},
|
182
182
|
"core/audits/accessibility/aria-treeitem-name.js | description": {
|
183
|
-
"message": "如果 `treeitem` 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個元素的用途。[進一步瞭解如何為 `treeitem` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.
|
183
|
+
"message": "如果 `treeitem` 元素沒有無障礙元素名稱,螢幕閱讀器只會讀出通用名稱,這樣仰賴螢幕閱讀器的使用者就無法知道這個元素的用途。[進一步瞭解如何為 `treeitem` 元素加上標籤](https://dequeuniversity.com/rules/axe/4.10/aria-treeitem-name)。"
|
184
184
|
},
|
185
185
|
"core/audits/accessibility/aria-treeitem-name.js | failureTitle": {
|
186
186
|
"message": "ARIA `treeitem` 元素沒有可解讀的名稱。"
|
@@ -189,7 +189,7 @@
|
|
189
189
|
"message": "ARIA `treeitem` 元素具有可解讀的名稱"
|
190
190
|
},
|
191
191
|
"core/audits/accessibility/aria-valid-attr-value.js | description": {
|
192
|
-
"message": "輔助技術 (例如螢幕閱讀器) 無法解讀數值無效的 ARIA 屬性。[進一步瞭解 ARIA 屬性的有效值](https://dequeuniversity.com/rules/axe/4.
|
192
|
+
"message": "輔助技術 (例如螢幕閱讀器) 無法解讀數值無效的 ARIA 屬性。[進一步瞭解 ARIA 屬性的有效值](https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr-value)。"
|
193
193
|
},
|
194
194
|
"core/audits/accessibility/aria-valid-attr-value.js | failureTitle": {
|
195
195
|
"message": "`[aria-*]` 屬性缺少有效的值"
|
@@ -198,7 +198,7 @@
|
|
198
198
|
"message": "`[aria-*]` 屬性具備有效的值"
|
199
199
|
},
|
200
200
|
"core/audits/accessibility/aria-valid-attr.js | description": {
|
201
|
-
"message": "輔助技術 (例如螢幕閱讀器) 無法解讀包含無效名稱的 ARIA 屬性。[進一步瞭解有效的 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.
|
201
|
+
"message": "輔助技術 (例如螢幕閱讀器) 無法解讀包含無效名稱的 ARIA 屬性。[進一步瞭解有效的 ARIA 屬性](https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr)。"
|
202
202
|
},
|
203
203
|
"core/audits/accessibility/aria-valid-attr.js | failureTitle": {
|
204
204
|
"message": "`[aria-*]` 屬性無效或有錯字"
|
@@ -210,7 +210,7 @@
|
|
210
210
|
"message": "未通過稽核的元素"
|
211
211
|
},
|
212
212
|
"core/audits/accessibility/button-name.js | description": {
|
213
|
-
"message": "如果沒有可解讀的按鈕名稱,螢幕閱讀器只會讀出「按鈕」,這樣仰賴螢幕閱讀器的使用者就無法知道這個按鈕的用途。[瞭解如何讓使用者更容易使用按鈕](https://dequeuniversity.com/rules/axe/4.
|
213
|
+
"message": "如果沒有可解讀的按鈕名稱,螢幕閱讀器只會讀出「按鈕」,這樣仰賴螢幕閱讀器的使用者就無法知道這個按鈕的用途。[瞭解如何讓使用者更容易使用按鈕](https://dequeuniversity.com/rules/axe/4.10/button-name)。"
|
214
214
|
},
|
215
215
|
"core/audits/accessibility/button-name.js | failureTitle": {
|
216
216
|
"message": "按鈕沒有可存取的名稱"
|
@@ -219,7 +219,7 @@
|
|
219
219
|
"message": "按鈕具有可解讀的名稱"
|
220
220
|
},
|
221
221
|
"core/audits/accessibility/bypass.js | description": {
|
222
|
-
"message": "針對重複的內容增設略過選項,可提高鍵盤使用者的網頁瀏覽效率。[進一步瞭解略過模塊](https://dequeuniversity.com/rules/axe/4.
|
222
|
+
"message": "針對重複的內容增設略過選項,可提高鍵盤使用者的網頁瀏覽效率。[進一步瞭解略過模塊](https://dequeuniversity.com/rules/axe/4.10/bypass)。"
|
223
223
|
},
|
224
224
|
"core/audits/accessibility/bypass.js | failureTitle": {
|
225
225
|
"message": "這個網頁中沒有標題、略過連結或標記區域"
|
@@ -228,7 +228,7 @@
|
|
228
228
|
"message": "這個網頁包含標題、略過連結或標記區域"
|
229
229
|
},
|
230
230
|
"core/audits/accessibility/color-contrast.js | description": {
|
231
|
-
"message": "低對比度的文字對許多讀者來說難以閱讀或無法閱讀。[瞭解如何提供充足的色彩對比](https://dequeuniversity.com/rules/axe/4.
|
231
|
+
"message": "低對比度的文字對許多讀者來說難以閱讀或無法閱讀。[瞭解如何提供充足的色彩對比](https://dequeuniversity.com/rules/axe/4.10/color-contrast)。"
|
232
232
|
},
|
233
233
|
"core/audits/accessibility/color-contrast.js | failureTitle": {
|
234
234
|
"message": "背景和前景顏色沒有足夠的對比度。"
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"message": "背景和前景顏色具有足夠的對比度"
|
238
238
|
},
|
239
239
|
"core/audits/accessibility/definition-list.js | description": {
|
240
|
-
"message": "如果定義清單的標記不正確,螢幕閱讀器可能會輸出令人混淆或不正確的內容。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.
|
240
|
+
"message": "如果定義清單的標記不正確,螢幕閱讀器可能會輸出令人混淆或不正確的內容。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.10/definition-list)。"
|
241
241
|
},
|
242
242
|
"core/audits/accessibility/definition-list.js | failureTitle": {
|
243
243
|
"message": "`<dl>` 並非只包含排序正確的 `<dt>` 和 `<dd>` 群組,以及 `<script>`、`<template>` 或 `<div>` 元素。"
|
@@ -246,7 +246,7 @@
|
|
246
246
|
"message": "`<dl>` 只包含排序正確的 `<dt>` 和 `<dd>` 群組,以及 `<script>`、`<template>` 或 `<div>` 元素。"
|
247
247
|
},
|
248
248
|
"core/audits/accessibility/dlitem.js | description": {
|
249
|
-
"message": "定義清單項目 (`<dt>` 和 `<dd>`) 必須納入在父項 `<dl>` 元素中,才能確保螢幕閱讀器正確朗讀這些項目。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.
|
249
|
+
"message": "定義清單項目 (`<dt>` 和 `<dd>`) 必須納入在父項 `<dl>` 元素中,才能確保螢幕閱讀器正確朗讀這些項目。[瞭解如何正確建構定義清單](https://dequeuniversity.com/rules/axe/4.10/dlitem)。"
|
250
250
|
},
|
251
251
|
"core/audits/accessibility/dlitem.js | failureTitle": {
|
252
252
|
"message": "定義清單項目未納入在 `<dl>` 元素中"
|
@@ -255,7 +255,7 @@
|
|
255
255
|
"message": "定義清單項目已納入在 `<dl>` 元素中"
|
256
256
|
},
|
257
257
|
"core/audits/accessibility/document-title.js | description": {
|
258
|
-
"message": "標題可讓螢幕閱讀器使用者概略瞭解網頁內容;搜尋引擎使用者經常需要使用這項資訊,以判斷網頁內容是否與他們的搜尋項目有關。[進一步瞭解文件標題](https://dequeuniversity.com/rules/axe/4.
|
258
|
+
"message": "標題可讓螢幕閱讀器使用者概略瞭解網頁內容;搜尋引擎使用者經常需要使用這項資訊,以判斷網頁內容是否與他們的搜尋項目有關。[進一步瞭解文件標題](https://dequeuniversity.com/rules/axe/4.10/document-title)。"
|
259
259
|
},
|
260
260
|
"core/audits/accessibility/document-title.js | failureTitle": {
|
261
261
|
"message": "文件缺少 `<title>` 元素"
|
@@ -264,7 +264,7 @@
|
|
264
264
|
"message": "文件具有 `<title>` 元素"
|
265
265
|
},
|
266
266
|
"core/audits/accessibility/duplicate-id-aria.js | description": {
|
267
|
-
"message": "ARIA ID 的值不得重複,以免輔助技術忽略其他重複的執行個體。[瞭解如何修正重複的 ARIA ID](https://dequeuniversity.com/rules/axe/4.
|
267
|
+
"message": "ARIA ID 的值不得重複,以免輔助技術忽略其他重複的執行個體。[瞭解如何修正重複的 ARIA ID](https://dequeuniversity.com/rules/axe/4.10/duplicate-id-aria)。"
|
268
268
|
},
|
269
269
|
"core/audits/accessibility/duplicate-id-aria.js | failureTitle": {
|
270
270
|
"message": "ARIA ID 重複"
|
@@ -273,7 +273,7 @@
|
|
273
273
|
"message": "沒有重複的 ARIA ID"
|
274
274
|
},
|
275
275
|
"core/audits/accessibility/empty-heading.js | description": {
|
276
|
-
"message": "如果 heading 缺少內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資訊。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.
|
276
|
+
"message": "如果 heading 缺少內容或無障礙設計的文字,螢幕閱讀器使用者就無法存取網頁結構中的資訊。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.10/empty-heading)。"
|
277
277
|
},
|
278
278
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
279
279
|
"message": "Heading 元素不含任何內容。"
|
@@ -282,7 +282,7 @@
|
|
282
282
|
"message": "所有 heading 元素都含有內容。"
|
283
283
|
},
|
284
284
|
"core/audits/accessibility/form-field-multiple-labels.js | description": {
|
285
|
-
"message": "如果表單欄位含有多個標籤,可能會造成螢幕閱讀器等輔助技術無法判斷該讀出第一個、最後一個或所有標籤。[瞭解如何使用表單標籤](https://dequeuniversity.com/rules/axe/4.
|
285
|
+
"message": "如果表單欄位含有多個標籤,可能會造成螢幕閱讀器等輔助技術無法判斷該讀出第一個、最後一個或所有標籤。[瞭解如何使用表單標籤](https://dequeuniversity.com/rules/axe/4.10/form-field-multiple-labels)。"
|
286
286
|
},
|
287
287
|
"core/audits/accessibility/form-field-multiple-labels.js | failureTitle": {
|
288
288
|
"message": "表單欄位包含多個標籤"
|
@@ -291,7 +291,7 @@
|
|
291
291
|
"message": "沒有任何表單欄位包含多個標籤"
|
292
292
|
},
|
293
293
|
"core/audits/accessibility/frame-title.js | description": {
|
294
|
-
"message": "螢幕閱讀器需使用頁框標題才能說明頁框內容。[進一步瞭解頁框標題](https://dequeuniversity.com/rules/axe/4.
|
294
|
+
"message": "螢幕閱讀器需使用頁框標題才能說明頁框內容。[進一步瞭解頁框標題](https://dequeuniversity.com/rules/axe/4.10/frame-title)。"
|
295
295
|
},
|
296
296
|
"core/audits/accessibility/frame-title.js | failureTitle": {
|
297
297
|
"message": "`<frame>` 或 `<iframe>` 元素缺少名稱"
|
@@ -300,7 +300,7 @@
|
|
300
300
|
"message": "`<frame>` 或 `<iframe>` 元素包含名稱"
|
301
301
|
},
|
302
302
|
"core/audits/accessibility/heading-order.js | description": {
|
303
|
-
"message": "排序正確且未略過層級的標頭可傳達網頁的語意結構,讓使用者在運用輔助技術時更容易瀏覽及理解。[進一步瞭解標頭順序](https://dequeuniversity.com/rules/axe/4.
|
303
|
+
"message": "排序正確且未略過層級的標頭可傳達網頁的語意結構,讓使用者在運用輔助技術時更容易瀏覽及理解。[進一步瞭解標頭順序](https://dequeuniversity.com/rules/axe/4.10/heading-order)。"
|
304
304
|
},
|
305
305
|
"core/audits/accessibility/heading-order.js | failureTitle": {
|
306
306
|
"message": "標題元素未依遞減順序顯示"
|
@@ -309,7 +309,7 @@
|
|
309
309
|
"message": "標題元素已依遞減順序顯示"
|
310
310
|
},
|
311
311
|
"core/audits/accessibility/html-has-lang.js | description": {
|
312
|
-
"message": "如果網頁未指定 `lang` 屬性,螢幕閱讀器會假設網頁採用的是使用者在設定螢幕閱讀器時所選擇的預設語言。如果網頁實際採用的語言並非預設語言,那麼螢幕閱讀器可能無法正確朗讀網頁文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
312
|
+
"message": "如果網頁未指定 `lang` 屬性,螢幕閱讀器會假設網頁採用的是使用者在設定螢幕閱讀器時所選擇的預設語言。如果網頁實際採用的語言並非預設語言,那麼螢幕閱讀器可能無法正確朗讀網頁文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/html-has-lang)。"
|
313
313
|
},
|
314
314
|
"core/audits/accessibility/html-has-lang.js | failureTitle": {
|
315
315
|
"message": "`<html>` 元素缺少 `[lang]` 屬性"
|
@@ -318,7 +318,7 @@
|
|
318
318
|
"message": "`<html>` 元素具備 `[lang]` 屬性"
|
319
319
|
},
|
320
320
|
"core/audits/accessibility/html-lang-valid.js | description": {
|
321
|
-
"message": "指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
321
|
+
"message": "指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/html-lang-valid)。"
|
322
322
|
},
|
323
323
|
"core/audits/accessibility/html-lang-valid.js | failureTitle": {
|
324
324
|
"message": "`<html>` 元素的 `[lang]` 屬性缺少有效的值。"
|
@@ -327,7 +327,7 @@
|
|
327
327
|
"message": "`<html>` 元素的 `[lang]` 屬性具備有效的值"
|
328
328
|
},
|
329
329
|
"core/audits/accessibility/html-xml-lang-mismatch.js | description": {
|
330
|
-
"message": "如果網頁指定的語言不一致,螢幕閱讀器可能無法正確朗讀頁面上的文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
330
|
+
"message": "如果網頁指定的語言不一致,螢幕閱讀器可能無法正確朗讀頁面上的文字。[進一步瞭解 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/html-xml-lang-mismatch)。"
|
331
331
|
},
|
332
332
|
"core/audits/accessibility/html-xml-lang-mismatch.js | failureTitle": {
|
333
333
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與`[lang]` 屬性中的基本語言不同。"
|
@@ -336,7 +336,7 @@
|
|
336
336
|
"message": "`<html>` 元素的 `[xml:lang]` 屬性與 `[lang]` 屬性的基本語言相同。"
|
337
337
|
},
|
338
338
|
"core/audits/accessibility/identical-links-same-purpose.js | description": {
|
339
|
-
"message": "具有相同目的地的連結應提供相同的說明,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.
|
339
|
+
"message": "具有相同目的地的連結應提供相同的說明,協助使用者瞭解連結的用途,並決定是否前往。[進一步瞭解相同連結](https://dequeuniversity.com/rules/axe/4.10/identical-links-same-purpose)。"
|
340
340
|
},
|
341
341
|
"core/audits/accessibility/identical-links-same-purpose.js | failureTitle": {
|
342
342
|
"message": "相同連結的用途不同。"
|
@@ -345,7 +345,7 @@
|
|
345
345
|
"message": "相同的連結用途相同。"
|
346
346
|
},
|
347
347
|
"core/audits/accessibility/image-alt.js | description": {
|
348
|
-
"message": "說明元素應提供簡短貼切的替代文字。如果是裝飾元素,只要將 alt 屬性留空,系統即會忽略該元素。[進一步瞭解 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.
|
348
|
+
"message": "說明元素應提供簡短貼切的替代文字。如果是裝飾元素,只要將 alt 屬性留空,系統即會忽略該元素。[進一步瞭解 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.10/image-alt)。"
|
349
349
|
},
|
350
350
|
"core/audits/accessibility/image-alt.js | failureTitle": {
|
351
351
|
"message": "圖片元素缺少 `[alt]` 屬性"
|
@@ -354,7 +354,7 @@
|
|
354
354
|
"message": "圖片元素具有 `[alt]` 屬性"
|
355
355
|
},
|
356
356
|
"core/audits/accessibility/image-redundant-alt.js | description": {
|
357
|
-
"message": "說明元素應提供簡短貼切的替代文字。替代文字如果與連結或圖片旁的文字完全相同,可能會對螢幕閱讀器使用者造成困擾,因為系統會朗讀同樣的文字兩次。[進一步瞭解 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.
|
357
|
+
"message": "說明元素應提供簡短貼切的替代文字。替代文字如果與連結或圖片旁的文字完全相同,可能會對螢幕閱讀器使用者造成困擾,因為系統會朗讀同樣的文字兩次。[進一步瞭解 `alt` 屬性](https://dequeuniversity.com/rules/axe/4.10/image-redundant-alt)。"
|
358
358
|
},
|
359
359
|
"core/audits/accessibility/image-redundant-alt.js | failureTitle": {
|
360
360
|
"message": "圖片元素所含「`[alt]`」屬性有多餘的文字。"
|
@@ -363,7 +363,7 @@
|
|
363
363
|
"message": "圖片元素所含「`[alt]`」屬性沒有多餘的文字。"
|
364
364
|
},
|
365
365
|
"core/audits/accessibility/input-button-name.js | description": {
|
366
|
-
"message": "你可以為輸入按鈕加上容易識讀的說明文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.
|
366
|
+
"message": "你可以為輸入按鈕加上容易識讀的說明文字,協助螢幕閱讀器使用者瞭解輸入按鈕的用途。[進一步瞭解輸入按鈕](https://dequeuniversity.com/rules/axe/4.10/input-button-name)。"
|
367
367
|
},
|
368
368
|
"core/audits/accessibility/input-button-name.js | failureTitle": {
|
369
369
|
"message": "輸入按鈕的文字不易辨識。"
|
@@ -372,7 +372,7 @@
|
|
372
372
|
"message": "輸入按鈕的文字容易辨識。"
|
373
373
|
},
|
374
374
|
"core/audits/accessibility/input-image-alt.js | description": {
|
375
|
-
"message": "如果 `<input>` 按鈕是以圖片呈現,提供替代文字可協助螢幕閱讀器使用者瞭解該按鈕的用途。[瞭解輸入圖片替代文字](https://dequeuniversity.com/rules/axe/4.
|
375
|
+
"message": "如果 `<input>` 按鈕是以圖片呈現,提供替代文字可協助螢幕閱讀器使用者瞭解該按鈕的用途。[瞭解輸入圖片替代文字](https://dequeuniversity.com/rules/axe/4.10/input-image-alt)。"
|
376
376
|
},
|
377
377
|
"core/audits/accessibility/input-image-alt.js | failureTitle": {
|
378
378
|
"message": "`<input type=\"image\">` 元素沒有 `[alt]` 文字"
|
@@ -381,7 +381,7 @@
|
|
381
381
|
"message": "`<input type=\"image\">` 元素具有 `[alt]` 文字"
|
382
382
|
},
|
383
383
|
"core/audits/accessibility/label-content-name-mismatch.js | description": {
|
384
|
-
"message": "如果顯示的文字標籤與無障礙元素名稱不符,可能對螢幕閱讀器使用者造成困惑。[進一步瞭解無障礙元素名稱](https://dequeuniversity.com/rules/axe/4.
|
384
|
+
"message": "如果顯示的文字標籤與無障礙元素名稱不符,可能對螢幕閱讀器使用者造成困惑。[進一步瞭解無障礙元素名稱](https://dequeuniversity.com/rules/axe/4.10/label-content-name-mismatch)。"
|
385
385
|
},
|
386
386
|
"core/audits/accessibility/label-content-name-mismatch.js | failureTitle": {
|
387
387
|
"message": "含有可見文字標籤的元素沒有相符的無障礙元素名稱。"
|
@@ -390,7 +390,7 @@
|
|
390
390
|
"message": "含有可見文字標籤的元素有相符的無障礙元素名稱。"
|
391
391
|
},
|
392
392
|
"core/audits/accessibility/label.js | description": {
|
393
|
-
"message": "標籤可確保輔助技術 (例如螢幕閱讀器) 正確朗讀表單控制項。[進一步瞭解表單元素標籤](https://dequeuniversity.com/rules/axe/4.
|
393
|
+
"message": "標籤可確保輔助技術 (例如螢幕閱讀器) 正確朗讀表單控制項。[進一步瞭解表單元素標籤](https://dequeuniversity.com/rules/axe/4.10/label)。"
|
394
394
|
},
|
395
395
|
"core/audits/accessibility/label.js | failureTitle": {
|
396
396
|
"message": "表單元素沒有相關聯的標籤"
|
@@ -399,7 +399,7 @@
|
|
399
399
|
"message": "表單元素具有相關聯的標籤"
|
400
400
|
},
|
401
401
|
"core/audits/accessibility/landmark-one-main.js | description": {
|
402
|
-
"message": "主要位置標記可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解位置標記](https://dequeuniversity.com/rules/axe/4.
|
402
|
+
"message": "主要位置標記可協助螢幕閱讀器使用者瀏覽網頁。[進一步瞭解位置標記](https://dequeuniversity.com/rules/axe/4.10/landmark-one-main)。"
|
403
403
|
},
|
404
404
|
"core/audits/accessibility/landmark-one-main.js | failureTitle": {
|
405
405
|
"message": "文件缺少主要位置標記。"
|
@@ -408,7 +408,7 @@
|
|
408
408
|
"message": "文件設有主要位置標記。"
|
409
409
|
},
|
410
410
|
"core/audits/accessibility/link-in-text-block.js | description": {
|
411
|
-
"message": "低對比度的文字對許多讀者來說難以閱讀或無法閱讀。可辨別的連結文字有助於改善低視能讀者的使用者體驗。[瞭解如何設定可明確區別的連結](https://dequeuniversity.com/rules/axe/4.
|
411
|
+
"message": "低對比度的文字對許多讀者來說難以閱讀或無法閱讀。可辨別的連結文字有助於改善低視能讀者的使用者體驗。[瞭解如何設定可明確區別的連結](https://dequeuniversity.com/rules/axe/4.10/link-in-text-block)。"
|
412
412
|
},
|
413
413
|
"core/audits/accessibility/link-in-text-block.js | failureTitle": {
|
414
414
|
"message": "連結必須依賴顏色區別。"
|
@@ -417,7 +417,7 @@
|
|
417
417
|
"message": "就算不依賴顏色,也可以明確區別連結。"
|
418
418
|
},
|
419
419
|
"core/audits/accessibility/link-name.js | description": {
|
420
|
-
"message": "使用可辨別、未重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助於改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結易於存取](https://dequeuniversity.com/rules/axe/4.
|
420
|
+
"message": "使用可辨別、未重複且可聚焦的連結文字 (以及連結圖片的替代文字),有助於改善螢幕閱讀器使用者的瀏覽體驗。[瞭解如何讓連結易於存取](https://dequeuniversity.com/rules/axe/4.10/link-name)。"
|
421
421
|
},
|
422
422
|
"core/audits/accessibility/link-name.js | failureTitle": {
|
423
423
|
"message": "連結缺少可辨別的名稱"
|
@@ -426,7 +426,7 @@
|
|
426
426
|
"message": "連結具有可辨別的名稱"
|
427
427
|
},
|
428
428
|
"core/audits/accessibility/list.js | description": {
|
429
|
-
"message": "螢幕閱讀器會以特定方式朗讀清單。請務必採用正確的清單結構,這樣螢幕閱讀器才能順利讀出畫面上的內容。[進一步瞭解適當的清單結構](https://dequeuniversity.com/rules/axe/4.
|
429
|
+
"message": "螢幕閱讀器會以特定方式朗讀清單。請務必採用正確的清單結構,這樣螢幕閱讀器才能順利讀出畫面上的內容。[進一步瞭解適當的清單結構](https://dequeuniversity.com/rules/axe/4.10/list)。"
|
430
430
|
},
|
431
431
|
"core/audits/accessibility/list.js | failureTitle": {
|
432
432
|
"message": "清單中並非只包含 `<li>` 元素和指令碼支援元素 (`<script>` 和 `<template>`)。"
|
@@ -435,7 +435,7 @@
|
|
435
435
|
"message": "清單只包含 `<li>` 元素和指令碼支援元素 (`<script>` 和 `<template>`)。"
|
436
436
|
},
|
437
437
|
"core/audits/accessibility/listitem.js | description": {
|
438
|
-
"message": "清單項目 (`<li>`) 必須包含在父項元素 `<ul>`、`<ol>` 或 `<menu>` 中,螢幕閱讀器才能正確朗讀這些項目。[進一步瞭解適當的清單結構](https://dequeuniversity.com/rules/axe/4.
|
438
|
+
"message": "清單項目 (`<li>`) 必須包含在父項元素 `<ul>`、`<ol>` 或 `<menu>` 中,螢幕閱讀器才能正確朗讀這些項目。[進一步瞭解適當的清單結構](https://dequeuniversity.com/rules/axe/4.10/listitem)。"
|
439
439
|
},
|
440
440
|
"core/audits/accessibility/listitem.js | failureTitle": {
|
441
441
|
"message": "清單項目 (`<li>`) 未包含在 `<ul>`、`<ol>` 或 `<menu>` 父項元素中。"
|
@@ -444,7 +444,7 @@
|
|
444
444
|
"message": "清單項目 (`<li>`) 已包含在 `<ul>`、`<ol>` 或 `<menu>` 父項元素中"
|
445
445
|
},
|
446
446
|
"core/audits/accessibility/meta-refresh.js | description": {
|
447
|
-
"message": "使用者不會預期系統自動重新整理網頁,而且這麼做會將焦點移回網頁頂端。這可能會對使用者造成困擾或混淆。[進一步瞭解重新整理中繼標記](https://dequeuniversity.com/rules/axe/4.
|
447
|
+
"message": "使用者不會預期系統自動重新整理網頁,而且這麼做會將焦點移回網頁頂端。這可能會對使用者造成困擾或混淆。[進一步瞭解重新整理中繼標記](https://dequeuniversity.com/rules/axe/4.10/meta-refresh)。"
|
448
448
|
},
|
449
449
|
"core/audits/accessibility/meta-refresh.js | failureTitle": {
|
450
450
|
"message": "這個文件使用 `<meta http-equiv=\"refresh\">`"
|
@@ -453,7 +453,7 @@
|
|
453
453
|
"message": "這個文件未使用 `<meta http-equiv=\"refresh\">`"
|
454
454
|
},
|
455
455
|
"core/audits/accessibility/meta-viewport.js | description": {
|
456
|
-
"message": "停用縮放功能會對低視能使用者造成困擾,他們需要使用螢幕放大功能才能清楚看見網頁內容。[進一步瞭解可視區域中繼標記](https://dequeuniversity.com/rules/axe/4.
|
456
|
+
"message": "停用縮放功能會對低視能使用者造成困擾,他們需要使用螢幕放大功能才能清楚看見網頁內容。[進一步瞭解可視區域中繼標記](https://dequeuniversity.com/rules/axe/4.10/meta-viewport)。"
|
457
457
|
},
|
458
458
|
"core/audits/accessibility/meta-viewport.js | failureTitle": {
|
459
459
|
"message": "`<meta name=\"viewport\">` 元素中使用了 `[user-scalable=\"no\"]`,或是 `[maximum-scale]` 屬性小於 5。"
|
@@ -462,7 +462,7 @@
|
|
462
462
|
"message": "`<meta name=\"viewport\">` 元素中未使用 `[user-scalable=\"no\"]`,而且 `[maximum-scale]` 屬性大於或等於 5。"
|
463
463
|
},
|
464
464
|
"core/audits/accessibility/object-alt.js | description": {
|
465
|
-
"message": "螢幕閱讀器無法解讀非文字內容。為 `<object>` 元素新增替代文字,可協助螢幕閱讀器向使用者傳達該元素的意義。[進一步瞭解 `object` 元素的替代文字](https://dequeuniversity.com/rules/axe/4.
|
465
|
+
"message": "螢幕閱讀器無法解讀非文字內容。為 `<object>` 元素新增替代文字,可協助螢幕閱讀器向使用者傳達該元素的意義。[進一步瞭解 `object` 元素的替代文字](https://dequeuniversity.com/rules/axe/4.10/object-alt)。"
|
466
466
|
},
|
467
467
|
"core/audits/accessibility/object-alt.js | failureTitle": {
|
468
468
|
"message": "`<object>` 元素沒有替代文字"
|
@@ -471,7 +471,7 @@
|
|
471
471
|
"message": "`<object>` 元素具有替代文字"
|
472
472
|
},
|
473
473
|
"core/audits/accessibility/select-name.js | description": {
|
474
|
-
"message": "如果 Form 元素沒有有效的標籤,螢幕閱讀器使用者可能會感到困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
474
|
+
"message": "如果 Form 元素沒有有效的標籤,螢幕閱讀器使用者可能會感到困擾。[進一步瞭解 `select` 元素](https://dequeuniversity.com/rules/axe/4.10/select-name)。"
|
475
475
|
},
|
476
476
|
"core/audits/accessibility/select-name.js | failureTitle": {
|
477
477
|
"message": "Select 元素沒有相關聯的 label 元素。"
|
@@ -480,7 +480,7 @@
|
|
480
480
|
"message": "Select 元素具有相關聯的 label 元素。"
|
481
481
|
},
|
482
482
|
"core/audits/accessibility/skip-link.js | description": {
|
483
|
-
"message": "加入跳轉連結可協助使用者直接前往主要內容,以節省時間。[進一步瞭解跳轉連結](https://dequeuniversity.com/rules/axe/4.
|
483
|
+
"message": "加入跳轉連結可協助使用者直接前往主要內容,以節省時間。[進一步瞭解跳轉連結](https://dequeuniversity.com/rules/axe/4.10/skip-link)。"
|
484
484
|
},
|
485
485
|
"core/audits/accessibility/skip-link.js | failureTitle": {
|
486
486
|
"message": "跳轉連結無法聚焦。"
|
@@ -489,7 +489,7 @@
|
|
489
489
|
"message": "跳轉連結可聚焦。"
|
490
490
|
},
|
491
491
|
"core/audits/accessibility/tabindex.js | description": {
|
492
|
-
"message": "如果值大於 0,表示採用的是明確的瀏覽排序。雖然這在技術上可行,但經常會對仰賴輔助技術的使用者造成困擾。[進一步瞭解 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.
|
492
|
+
"message": "如果值大於 0,表示採用的是明確的瀏覽排序。雖然這在技術上可行,但經常會對仰賴輔助技術的使用者造成困擾。[進一步瞭解 `tabindex` 屬性](https://dequeuniversity.com/rules/axe/4.10/tabindex)。"
|
493
493
|
},
|
494
494
|
"core/audits/accessibility/tabindex.js | failureTitle": {
|
495
495
|
"message": "部分元素的 `[tabindex]` 值大於 0"
|
@@ -498,7 +498,7 @@
|
|
498
498
|
"message": "所有元素的 `[tabindex]` 值皆未超過 0"
|
499
499
|
},
|
500
500
|
"core/audits/accessibility/table-duplicate-name.js | description": {
|
501
|
-
"message": "摘要屬性應說明表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.
|
501
|
+
"message": "摘要屬性應說明表格結構,而「`<caption>`」應含有顯示在螢幕上的標題。提供準確的表格標記,對螢幕閱讀器使用者有幫助。[進一步瞭解摘要和說明文字](https://dequeuniversity.com/rules/axe/4.10/table-duplicate-name)。"
|
502
502
|
},
|
503
503
|
"core/audits/accessibility/table-duplicate-name.js | failureTitle": {
|
504
504
|
"message": "表格內容與摘要屬性和「`<caption>.`」相同"
|
@@ -507,7 +507,7 @@
|
|
507
507
|
"message": "表格內容與摘要屬性和「`<caption>`」不同"
|
508
508
|
},
|
509
509
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
510
|
-
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.
|
510
|
+
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果表格使用實際的標題元素,而非含有 `[colspan]` 屬性的儲存格,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解標題](https://dequeuniversity.com/rules/axe/4.10/table-fake-caption)。"
|
511
511
|
},
|
512
512
|
"core/audits/accessibility/table-fake-caption.js | failureTitle": {
|
513
513
|
"message": "表格使用含有 `[colspan]` 屬性的儲存格表示標題,而非使用 `<caption>` 屬性。"
|
@@ -516,7 +516,7 @@
|
|
516
516
|
"message": "表格使用 `<caption>` 屬性表示標題,而非使用含有 `[colspan]` 屬性的儲存格。"
|
517
517
|
},
|
518
518
|
"core/audits/accessibility/target-size.js | description": {
|
519
|
-
"message": "只要觸控目標提供足夠的大小和間距,就能協助難以點按小型控制項的使用者啟動目標。[進一步瞭解觸控目標](https://dequeuniversity.com/rules/axe/4.
|
519
|
+
"message": "只要觸控目標提供足夠的大小和間距,就能協助難以點按小型控制項的使用者啟動目標。[進一步瞭解觸控目標](https://dequeuniversity.com/rules/axe/4.10/target-size)。"
|
520
520
|
},
|
521
521
|
"core/audits/accessibility/target-size.js | failureTitle": {
|
522
522
|
"message": "觸控目標的大小或間距不足。"
|
@@ -525,7 +525,7 @@
|
|
525
525
|
"message": "觸控目標的大小和間距充足。"
|
526
526
|
},
|
527
527
|
"core/audits/accessibility/td-has-header.js | description": {
|
528
|
-
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個以上儲存格) 中的 `<td>` 元素使用相關聯的表格標頭,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解表格標頭](https://dequeuniversity.com/rules/axe/4.
|
528
|
+
"message": "使用者可運用螢幕閱讀器的功能輕鬆瀏覽表格。如果大型表格 (寬度和高度為 3 個以上儲存格) 中的 `<td>` 元素使用相關聯的表格標頭,或許可以提升螢幕閱讀器的使用體驗。[進一步瞭解表格標頭](https://dequeuniversity.com/rules/axe/4.10/td-has-header)。"
|
529
529
|
},
|
530
530
|
"core/audits/accessibility/td-has-header.js | failureTitle": {
|
531
531
|
"message": "大型 `<table>` 中的 `<td>` 元素沒有表格標頭。"
|
@@ -534,7 +534,7 @@
|
|
534
534
|
"message": "大型 `<table>` 中的 `<td>` 元素有一或多個表格標頭。"
|
535
535
|
},
|
536
536
|
"core/audits/accessibility/td-headers-attr.js | description": {
|
537
|
-
"message": "螢幕閱讀器的功能可讓使用者輕鬆瀏覽表格。請確保使用 `[headers]` 屬性的 `<td>` 儲存格只參照同一表格中的其他儲存格,這樣可改善螢幕閱讀器的使用體驗。[進一步瞭解 `headers` 屬性](https://dequeuniversity.com/rules/axe/4.
|
537
|
+
"message": "螢幕閱讀器的功能可讓使用者輕鬆瀏覽表格。請確保使用 `[headers]` 屬性的 `<td>` 儲存格只參照同一表格中的其他儲存格,這樣可改善螢幕閱讀器的使用體驗。[進一步瞭解 `headers` 屬性](https://dequeuniversity.com/rules/axe/4.10/td-headers-attr)。"
|
538
538
|
},
|
539
539
|
"core/audits/accessibility/td-headers-attr.js | failureTitle": {
|
540
540
|
"message": "在 `<table>` 元素中使用 `[headers]` 屬性的儲存格參照了元素 `id`,系統無法在相同表格中找到這個元素。"
|
@@ -543,7 +543,7 @@
|
|
543
543
|
"message": "在 `<table>` 元素中使用 `[headers]` 屬性的儲存格參照了同一表格中的表格儲存格。"
|
544
544
|
},
|
545
545
|
"core/audits/accessibility/th-has-data-cells.js | description": {
|
546
|
-
"message": "螢幕閱讀器的功能可讓使用者輕鬆瀏覽表格。如果能確保表格標頭一律參照特定一組儲存格,或許能讓螢幕閱讀器的使用體驗更上一層樓。[進一步瞭解表格標頭](https://dequeuniversity.com/rules/axe/4.
|
546
|
+
"message": "螢幕閱讀器的功能可讓使用者輕鬆瀏覽表格。如果能確保表格標頭一律參照特定一組儲存格,或許能讓螢幕閱讀器的使用體驗更上一層樓。[進一步瞭解表格標頭](https://dequeuniversity.com/rules/axe/4.10/th-has-data-cells)。"
|
547
547
|
},
|
548
548
|
"core/audits/accessibility/th-has-data-cells.js | failureTitle": {
|
549
549
|
"message": "`<th>` 元素和具有 `[role=\"columnheader\"/\"rowheader\"]` 的元素不包含所描述的資料儲存格。"
|
@@ -552,7 +552,7 @@
|
|
552
552
|
"message": "`<th>` 元素和帶有 `[role=\"columnheader\"/\"rowheader\"]` 的元素具有其所描述的資料儲存格。"
|
553
553
|
},
|
554
554
|
"core/audits/accessibility/valid-lang.js | description": {
|
555
|
-
"message": "為元素指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助確保螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.
|
555
|
+
"message": "為元素指定有效的 [BCP 47 語言](https://www.w3.org/International/questions/qa-choosing-language-tags#question),可協助確保螢幕閱讀器正確朗讀文字。[瞭解如何使用 `lang` 屬性](https://dequeuniversity.com/rules/axe/4.10/valid-lang)。"
|
556
556
|
},
|
557
557
|
"core/audits/accessibility/valid-lang.js | failureTitle": {
|
558
558
|
"message": "`[lang]` 屬性缺少有效的值"
|
@@ -561,7 +561,7 @@
|
|
561
561
|
"message": "`[lang]` 屬性具備有效的值"
|
562
562
|
},
|
563
563
|
"core/audits/accessibility/video-caption.js | description": {
|
564
|
-
"message": "如果在影片中提供字幕,將有助於失聰或聽障使用者瞭解影片資訊。[進一步瞭解影片字幕](https://dequeuniversity.com/rules/axe/4.
|
564
|
+
"message": "如果在影片中提供字幕,將有助於失聰或聽障使用者瞭解影片資訊。[進一步瞭解影片字幕](https://dequeuniversity.com/rules/axe/4.10/video-caption)。"
|
565
565
|
},
|
566
566
|
"core/audits/accessibility/video-caption.js | failureTitle": {
|
567
567
|
"message": "`<video>` 元素不含任何帶有 `[kind=\"captions\"]` 的 `<track>` 元素。"
|
@@ -1101,13 +1101,13 @@
|
|
1101
1101
|
"message": "未延遲載入最大內容繪製圖片"
|
1102
1102
|
},
|
1103
1103
|
"core/audits/long-tasks.js | description": {
|
1104
|
-
"message": "
|
1104
|
+
"message": "列出主執行緒上執行時間最長的工作,這項資訊有助於找出造成輸入延遲的主因。[瞭解如何避免冗長的主執行緒工作](https://web.dev/articles/optimize-long-tasks)"
|
1105
1105
|
},
|
1106
1106
|
"core/audits/long-tasks.js | displayValue": {
|
1107
1107
|
"message": "{itemCount,plural, =1{找到 # 項長時間執行的工作}other{找到 # 項長時間執行的工作}}"
|
1108
1108
|
},
|
1109
1109
|
"core/audits/long-tasks.js | title": {
|
1110
|
-
"message": "
|
1110
|
+
"message": "避免長時間在主執行緒上執行的工作"
|
1111
1111
|
},
|
1112
1112
|
"core/audits/mainthread-work-breakdown.js | columnCategory": {
|
1113
1113
|
"message": "類別"
|
@@ -1116,10 +1116,10 @@
|
|
1116
1116
|
"message": "建議你縮短剖析、編譯及執行 JavaScript 所耗費的時間。提供較小的 JavaScript 酬載可能會有幫助。[瞭解如何盡量減少主執行緒作業](https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/)"
|
1117
1117
|
},
|
1118
1118
|
"core/audits/mainthread-work-breakdown.js | failureTitle": {
|
1119
|
-
"message": "
|
1119
|
+
"message": "將主執行緒的工作降到最低"
|
1120
1120
|
},
|
1121
1121
|
"core/audits/mainthread-work-breakdown.js | title": {
|
1122
|
-
"message": "
|
1122
|
+
"message": "將主執行緒的工作降到最低"
|
1123
1123
|
},
|
1124
1124
|
"core/audits/metrics/cumulative-layout-shift.js | description": {
|
1125
1125
|
"message": "「累計版面配置轉移」指標是用於測量可見元素在可視區域內的移動情形。[進一步瞭解「累計版面配置位移」指標](https://web.dev/articles/cls)。"
|
@@ -1377,7 +1377,7 @@
|
|
1377
1377
|
"message": "初始伺服器回應時間很短"
|
1378
1378
|
},
|
1379
1379
|
"core/audits/third-party-cookies.js | description": {
|
1380
|
-
"message": "
|
1380
|
+
"message": "在 Chrome 中瀏覽網頁時,將可選擇不用第三方 Cookie。[進一步瞭解第三方 Cookie](https://developers.google.com/privacy-sandbox/cookies)。"
|
1381
1381
|
},
|
1382
1382
|
"core/audits/third-party-cookies.js | displayValue": {
|
1383
1383
|
"message": "{itemCount,plural, =1{找到 1 個 Cookie}other{找到 # 個 Cookie}}"
|
@@ -1422,7 +1422,7 @@
|
|
1422
1422
|
"message": "第三方程式碼可能會嚴重影響載入效能。請盡量減少不必要的第三方供應商,並在網頁的主要內容載入完畢後,再載入第三方程式碼。[瞭解如何盡量減少第三方程式碼的影響](https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/loading-third-party-javascript/)。"
|
1423
1423
|
},
|
1424
1424
|
"core/audits/third-party-summary.js | displayValue": {
|
1425
|
-
"message": "
|
1425
|
+
"message": "第三方程式碼將主執行緒封鎖了 {timeInMs, number, milliseconds} 毫秒"
|
1426
1426
|
},
|
1427
1427
|
"core/audits/third-party-summary.js | failureTitle": {
|
1428
1428
|
"message": "降低第三方程式碼的影響"
|
@@ -1665,7 +1665,7 @@
|
|
1665
1665
|
"message": "瀏覽器快取清除作業逾時,建議你再次稽核這個網頁。如果問題仍未解決,請回報錯誤。"
|
1666
1666
|
},
|
1667
1667
|
"core/gather/driver/storage.js | warningData": {
|
1668
|
-
"message": "{locationCount,plural, =1{
|
1668
|
+
"message": "{locationCount,plural, =1{下列位置儲存的資料可能會影響載入效能:{locations}。使用無痕視窗審核這個頁面,可避免這些資源影響你的分數。}other{下列位置儲存的資料可能會影響載入效能:{locations}。使用無痕視窗審核這個頁面,可避免這些資源影響你的分數。}}"
|
1669
1669
|
},
|
1670
1670
|
"core/gather/driver/storage.js | warningOriginDataTimeout": {
|
1671
1671
|
"message": "原始資料清除作業逾時,建議你再次稽核這個網頁。如果問題仍未解決,請回報錯誤。"
|
@@ -1674,7 +1674,7 @@
|
|
1674
1674
|
"message": "剖析`link`標頭 ({error}) 時發生錯誤:`{header}`"
|
1675
1675
|
},
|
1676
1676
|
"core/gather/timespan-runner.js | warningNavigationDetected": {
|
1677
|
-
"message": "
|
1677
|
+
"message": "系統在執行期間偵測到網頁瀏覽活動。我們不建議使用時間範圍模式稽核網頁瀏覽活動。請使用導覽模式稽核網頁瀏覽活動,提升第三方歸因和主執行緒偵測的效能。"
|
1678
1678
|
},
|
1679
1679
|
"core/lib/bf-cache-strings.js | HTTPMethodNotGET": {
|
1680
1680
|
"message": "只有透過 GET 要求載入的網頁才適用往返快取。"
|
@@ -2265,13 +2265,13 @@
|
|
2265
2265
|
"message": "`XMLHttpRequest` 中的 JSON 回應不支援 UTF-16"
|
2266
2266
|
},
|
2267
2267
|
"core/lib/deprecations-strings.js | XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload": {
|
2268
|
-
"message": "
|
2268
|
+
"message": "主執行緒上的同步 `XMLHttpRequest` 對使用者體驗有負面影響,因此已淘汰。如需更多說明,請前往 https://xhr.spec.whatwg.org/。"
|
2269
2269
|
},
|
2270
2270
|
"core/lib/deprecations-strings.js | XRSupportsSession": {
|
2271
2271
|
"message": "`supportsSession()` 已淘汰。請改用 `isSessionSupported()` 並查看解析的布林值。"
|
2272
2272
|
},
|
2273
2273
|
"core/lib/i18n/i18n.js | columnBlockingTime": {
|
2274
|
-
"message": "
|
2274
|
+
"message": "主執行緒封鎖時間"
|
2275
2275
|
},
|
2276
2276
|
"core/lib/i18n/i18n.js | columnCacheTTL": {
|
2277
2277
|
"message": "快取 TTL"
|
@@ -2658,49 +2658,55 @@
|
|
2658
2658
|
"message": "建議你使用元件開發套件 (CDK) 中的 `BreakpointObserver` 公用程式來管理圖片中斷點。[瞭解詳情](https://material.angular.io/cdk/layout/overview)。"
|
2659
2659
|
},
|
2660
2660
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | efficient-animated-content": {
|
2661
|
-
"message": "
|
2662
|
-
},
|
2663
|
-
"node_modules/lighthouse-stack-packs/packs/drupal.js | font-display": {
|
2664
|
-
"message": "在主題中定義自訂字型時,指定 `@font-display`。"
|
2661
|
+
"message": "Consider uploading your `GIF` to a service which will make it available to embed as an HTML5 video."
|
2665
2662
|
},
|
2666
2663
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | modern-image-formats": {
|
2667
2664
|
"message": "請考慮在網站上設定[含有 Convert 圖片樣式的 WebP 圖片格式](https://www.drupal.org/docs/core-modules-and-themes/core-modules/image-module/working-with-images#styles)。"
|
2668
2665
|
},
|
2669
2666
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | offscreen-images": {
|
2670
|
-
"message": "
|
2667
|
+
"message": "Consider configuring lazy load images in `Drupal`. The field formatters for images support `lazy` or `eager`."
|
2668
|
+
},
|
2669
|
+
"node_modules/lighthouse-stack-packs/packs/drupal.js | prioritize-lcp-image": {
|
2670
|
+
"message": "If the LCP element is dynamically added to the page, you should optimize the image in order to improve LCP. [Learn more](https://www.smashingmagazine.com/2023/08/methods-improving-drupal-largest-contentful-paint-core-web-vital/)."
|
2671
|
+
},
|
2672
|
+
"node_modules/lighthouse-stack-packs/packs/drupal.js | redirects": {
|
2673
|
+
"message": "Redirects introduce additional delays before the page can be loaded. If the [Redirect](https://www.drupal.org/project/redirect) module is installed, review if unnecessary redirects can be removed. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/redirects)."
|
2671
2674
|
},
|
2672
2675
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | render-blocking-resources": {
|
2673
|
-
"message": "
|
2676
|
+
"message": "Consider using [a module](https://www.drupal.org/project/critical_css) to inline critical CSS and JavaScript, and use the defer attribute for non-critical CSS or JavaScript."
|
2674
2677
|
},
|
2675
2678
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | server-response-time": {
|
2676
|
-
"message": "
|
2679
|
+
"message": "Offload traffic with one or more `Drupal` caching modules such as `Internal Page Cache`, `Internal Dynamic Page Cache`, and `BigPipe`. Couple these with a CDN to further improve response time. Your hosting servers should make use of PHP OPcache. Consider using memory-caching such as Redis or Memcached to reduce database query times. Lastly use performant themes, modules, and faster servers to lower server response time."
|
2677
2680
|
},
|
2678
2681
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | total-byte-weight": {
|
2679
|
-
"message": "
|
2682
|
+
"message": "Consider using [Responsive Image Styles](https://www.drupal.org/documentation/modules/responsive_image) to reduce the size of images loaded on your page. If you are using `Views` to show multiple content items on a page, consider implementing pagination to limit the number of content items shown on a given page."
|
2680
2683
|
},
|
2681
2684
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unminified-css": {
|
2682
|
-
"message": "
|
2685
|
+
"message": "Ensure you have enabled \"Aggregate CSS files\" in the \"Administration » Configuration » Development\" page."
|
2683
2686
|
},
|
2684
2687
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unminified-javascript": {
|
2685
|
-
"message": "
|
2688
|
+
"message": "Ensure you have enabled \"Aggregate JavaScript files\" in the \"Administration » Configuration » Development\" page."
|
2686
2689
|
},
|
2687
2690
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unused-css-rules": {
|
2688
|
-
"message": "
|
2691
|
+
"message": "Consider removing unused CSS rules and only attach the needed `Drupal` libraries to the relevant page or component in a page. See the [`Drupal` documentation](https://www.drupal.org/docs/develop/theming-drupal/adding-assets-css-js-to-a-drupal-theme-via-librariesyml#define) for details. To identify attached libraries that are adding extraneous CSS, try running [code coverage](https://developer.chrome.com/docs/devtools/coverage) in Chrome DevTools. You can identify the theme/module responsible from the URL of the stylesheet when CSS aggregation is disabled in your `Drupal` site. Look out for themes/modules that have many stylesheets in the list which have a lot of red in code coverage. A theme/module should only attach a stylesheet library if it is actually used on the page."
|
2689
2692
|
},
|
2690
2693
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | unused-javascript": {
|
2691
|
-
"message": "
|
2694
|
+
"message": "Consider removing unused JavaScript assets and only attach the needed `Drupal` libraries to the relevant page or component in a page. See the [Drupal documentation](https://www.drupal.org/docs/develop/theming-drupal/adding-assets-css-js-to-a-drupal-theme-via-librariesyml#define) for details. To identify attached libraries that are adding extraneous JavaScript, try running [code coverage](https://developer.chrome.com/docs/devtools/coverage) in Chrome DevTools. You can identify the theme/module responsible from the URL of the script when JavaScript aggregation is disabled in your `Drupal` site. Look out for themes/modules that have many scripts in the list which have a lot of red in code coverage. A theme/module should only attach a script library if it is actually used on the page."
|
2692
2695
|
},
|
2693
2696
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-long-cache-ttl": {
|
2694
|
-
"message": "
|
2697
|
+
"message": "Set the \"Browser and proxy cache maximum age\" in the \"Administration » Configuration » Development\" page. Read about [`Drupal` cache and optimizing for performance](https://www.drupal.org/docs/8/api/cache-api/cache-api)."
|
2695
2698
|
},
|
2696
2699
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-optimized-images": {
|
2697
|
-
"message": "
|
2700
|
+
"message": "Consider using [a module](https://www.drupal.org/project/project_module?f%5B0%5D=&f%5B1%5D=&f%5B2%5D=im_vid_3%3A123&f%5B3%5D=&f%5B4%5D=sm_field_project_type%3Afull&f%5B5%5D=&f%5B6%5D=&text=image&solrsort=iss_project_release_usage+desc&op=Search) that automatically optimizes and reduces the size of images uploaded through the site while retaining quality. Also, ensure you are using the native [Responsive Image Styles](https://www.drupal.org/documentation/modules/responsive_image) provided from `Drupal` for all images rendered on the site."
|
2698
2701
|
},
|
2699
2702
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-rel-preconnect": {
|
2700
|
-
"message": "
|
2703
|
+
"message": "`Preconnect` or `dns-prefetch` resource hints can be added by installing and configuring [a module](https://www.drupal.org/project/project_module?f%5B0%5D=&f%5B1%5D=&f%5B2%5D=&f%5B3%5D=&f%5B4%5D=sm_field_project_type%3Afull&f%5B5%5D=&f%5B6%5D=&text=Preconnect&solrsort=score+desc&op=Search) that provides facilities for user agent resource hints."
|
2701
2704
|
},
|
2702
2705
|
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-responsive-images": {
|
2703
|
-
"message": "
|
2706
|
+
"message": "Ensure that you are using the native [Responsive Image Styles](https://www.drupal.org/documentation/modules/responsive_image) provided from `Drupal`. Use the Responsive Image Styles when rendering image fields through view modes, views, or images uploaded through the WYSIWYG editor."
|
2707
|
+
},
|
2708
|
+
"node_modules/lighthouse-stack-packs/packs/drupal.js | uses-text-compression": {
|
2709
|
+
"message": "Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. Consider using a CDN that natively supports this, or configure the web server to perform this operation. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/text-compression)."
|
2704
2710
|
},
|
2705
2711
|
"node_modules/lighthouse-stack-packs/packs/ezoic.js | font-display": {
|
2706
2712
|
"message": "使用 [Ezoic Leap](https://pubdash.ezoic.com/speed) 並啟用 `Optimize Fonts` 以自動利用 `font-display` CSS 功能,確保系統在載入網站字型時使用者可以到文字。"
|
@@ -2897,9 +2903,6 @@
|
|
2897
2903
|
"node_modules/lighthouse-stack-packs/packs/nitropack.js | render-blocking-resources": {
|
2898
2904
|
"message": "在 NitroPack 中啟用「[`Remove render-blocking resources`](https://support.nitropack.io/hc/en-us/articles/13820893500049-How-to-Deal-with-Render-Blocking-Resources-in-NitroPack)」,加快初始載入時間。"
|
2899
2905
|
},
|
2900
|
-
"node_modules/lighthouse-stack-packs/packs/nitropack.js | server-response-time": {
|
2901
|
-
"message": "啟用「[`Instant Load`](https://support.nitropack.io/hc/en-us/articles/16547340617361)」以改善伺服器回應時間,並最佳化使用者感知到的效能。"
|
2902
|
-
},
|
2903
2906
|
"node_modules/lighthouse-stack-packs/packs/nitropack.js | unminified-css": {
|
2904
2907
|
"message": "在「快取」設定中啟用「[`Minify resources`](https://support.nitropack.io/hc/en-us/articles/360061059394-Minify-Resources)」,可縮減 CSS、HTML 和 JavaScript 檔案的大小,以縮短載入時間。"
|
2905
2908
|
},
|
@@ -3033,7 +3036,7 @@
|
|
3033
3036
|
"message": "有些 WordPress 外掛程式能協助你[內嵌重要的素材資源](https://wordpress.org/plugins/search/critical+css/)或[延後載入較不重要的資源](https://wordpress.org/plugins/search/defer+css+javascript/)。請注意,這些外掛程式的最佳化設定可能會對現有主題或外掛程式的功能有不良影響,因此你可能需要變更程式碼。"
|
3034
3037
|
},
|
3035
3038
|
"node_modules/lighthouse-stack-packs/packs/wordpress.js | server-response-time": {
|
3036
|
-
"message": "
|
3039
|
+
"message": "Choose a lightweight theme (ideally a block theme) and implement full-page caching or a static site solution. Disable unnecessary plugins to minimize server overhead. Consider upgrading your hosting to managed or dedicated service."
|
3037
3040
|
},
|
3038
3041
|
"node_modules/lighthouse-stack-packs/packs/wordpress.js | total-byte-weight": {
|
3039
3042
|
"message": "建議你在文章清單中顯示摘錄 (例如加入更多標記)、減少特定頁面顯示的文章數量、將較長的文章分為多個頁面,或使用可延遲載入留言的外掛程式。"
|