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 角色可能会干扰网页的无障碍功能。[详细了解 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 属性可能会导致重要信息无法传达给使用辅助技术的用户。[详细了解被禁止的 ARIA 角色](https://dequeuniversity.com/rules/axe/4.
|
111
|
+
"message": "在禁止使用 ARIA 属性的角色中使用 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": "如果标题元素未包含任何内容或包含无法读取的文本,屏幕阅读器用户将难以获取网页的结构信息。[详细了解标题](https://dequeuniversity.com/rules/axe/4.
|
276
|
+
"message": "如果标题元素未包含任何内容或包含无法读取的文本,屏幕阅读器用户将难以获取网页的结构信息。[详细了解标题](https://dequeuniversity.com/rules/axe/4.10/empty-heading)。"
|
277
277
|
},
|
278
278
|
"core/audits/accessibility/empty-heading.js | failureTitle": {
|
279
279
|
"message": "标题元素未包含任何内容。"
|
@@ -282,7 +282,7 @@
|
|
282
282
|
"message": "所有标题元素均包含内容。"
|
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": "`[user-scalable=\"no\"]` 未用在 `<meta name=\"viewport\">` 元素中,并且 `[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": "如果表单元素缺少有效标签,可能会给屏幕阅读器用户带来糟糕的体验。[详细了解 `select` 元素](https://dequeuniversity.com/rules/axe/4.
|
474
|
+
"message": "如果表单元素缺少有效标签,可能会给屏幕阅读器用户带来糟糕的体验。[详细了解 `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 元素缺少关联的标签元素。"
|
@@ -480,7 +480,7 @@
|
|
480
480
|
"message": "select 元素具有关联的标签元素。"
|
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": "summary 属性应描述表格结构,而 `<caption>` 应含有屏幕上显示的标题。准确的表格标记对屏幕阅读器用户有帮助。[详细了解 summary 和 caption](https://dequeuniversity.com/rules/axe/4.
|
501
|
+
"message": "summary 属性应描述表格结构,而 `<caption>` 应含有屏幕上显示的标题。准确的表格标记对屏幕阅读器用户有帮助。[详细了解 summary 和 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": "表格的 summary 属性和 `<caption>.` 具有相同的内容"
|
@@ -507,7 +507,7 @@
|
|
507
507
|
"message": "相关表格的 summary 属性和 `<caption>` 具有不同的内容。"
|
508
508
|
},
|
509
509
|
"core/audits/accessibility/table-fake-caption.js | description": {
|
510
|
-
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[colspan]` 属性的单元格),这可以提升屏幕阅读器用户的体验。[详细了解表格标题](https://dequeuniversity.com/rules/axe/4.
|
510
|
+
"message": "屏幕阅读器提供了更便于用户浏览表格内容的功能。请务必确保表格实际使用了 <caption> 元素(而非带有 `[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": "表格未使用 `<caption>`(而是使用了带有 `[colspan]` 属性的单元格)来表示表格标题。"
|
@@ -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>` 元素。"
|
@@ -975,7 +975,7 @@
|
|
975
975
|
"message": "在网页字体加载期间,所有文本都保持可见状态"
|
976
976
|
},
|
977
977
|
"core/audits/font-display.js | undeclaredFontOriginWarning": {
|
978
|
-
"message": "{fontCountForOrigin,plural, =1{Lighthouse
|
978
|
+
"message": "{fontCountForOrigin,plural, =1{Lighthouse 无法自动检查源 {fontOrigin} 的 `font-display` 值。}other{Lighthouse 无法自动检查源 {fontOrigin} 的 `font-display` 值。}}"
|
979
979
|
},
|
980
980
|
"core/audits/image-aspect-ratio.js | columnActual": {
|
981
981
|
"message": "宽高比(实际)"
|
@@ -1101,7 +1101,7 @@
|
|
1101
1101
|
"message": "Largest Contentful Paint 所对应的图片未被延迟加载"
|
1102
1102
|
},
|
1103
1103
|
"core/audits/long-tasks.js | description": {
|
1104
|
-
"message": "列出了主线程中运行时间最长的任务,有助于识别出导致输入延迟的最主要原因。[了解如何避免出现长时间运行的主线程任务](https://web.dev/articles/long-tasks
|
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{发现了 # 项长时间运行的任务}}"
|
@@ -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}}"
|
@@ -1665,7 +1665,7 @@
|
|
1665
1665
|
"message": "浏览器缓存清除操作超时。请尝试再次审核此网页。如果问题仍然存在,请报告错误。"
|
1666
1666
|
},
|
1667
1667
|
"core/gather/driver/storage.js | warningData": {
|
1668
|
-
"message": "{locationCount,plural, =1{下列位置可能存储了会影响加载性能的数据:{locations}
|
1668
|
+
"message": "{locationCount,plural, =1{下列位置可能存储了会影响加载性能的数据:{locations}。请在无痕式窗口中审核此页面,以防这些资源影响您的得分。}other{下列位置可能存储了会影响加载性能的数据:{locations}。请在无痕式窗口中审核此页面,以防这些资源影响您的得分。}}"
|
1669
1669
|
},
|
1670
1670
|
"core/gather/driver/storage.js | warningOriginDataTimeout": {
|
1671
1671
|
"message": "原始数据清除操作超时。请尝试再次审核此网页。如果问题仍然存在,请报告错误。"
|
@@ -1770,7 +1770,7 @@
|
|
1770
1770
|
"message": "用户离开网页时,系统显示了应用横幅。"
|
1771
1771
|
},
|
1772
1772
|
"core/lib/bf-cache-strings.js | embedderChromePasswordManagerClientBindCredentialManager": {
|
1773
|
-
"message": "用户离开网页时,系统显示了 Chrome
|
1773
|
+
"message": "用户离开网页时,系统显示了 Chrome 密码管理工具。"
|
1774
1774
|
},
|
1775
1775
|
"core/lib/bf-cache-strings.js | embedderDomDistillerSelfDeletingRequestDelegate": {
|
1776
1776
|
"message": "用户离开网页时,DOM 提取正在进行。"
|
@@ -2553,7 +2553,7 @@
|
|
2553
2553
|
"message": "影响力最大"
|
2554
2554
|
},
|
2555
2555
|
"flow-report/src/i18n/ui-strings.js | informativeAuditCount": {
|
2556
|
-
"message": "{numInformative,plural, =1{{numInformative}
|
2556
|
+
"message": "{numInformative,plural, =1{{numInformative} 项参考性审核}other{{numInformative} 项参考性审核}}"
|
2557
2557
|
},
|
2558
2558
|
"flow-report/src/i18n/ui-strings.js | mobile": {
|
2559
2559
|
"message": "移动版"
|
@@ -2571,10 +2571,10 @@
|
|
2571
2571
|
"message": "{numNavigation,plural, =1{{numNavigation} 份导航报告}other{{numNavigation} 份导航报告}}"
|
2572
2572
|
},
|
2573
2573
|
"flow-report/src/i18n/ui-strings.js | passableAuditCount": {
|
2574
|
-
"message": "{numPassableAudits,plural, =1{{numPassableAudits}
|
2574
|
+
"message": "{numPassableAudits,plural, =1{{numPassableAudits} 项有望通过的审核}other{{numPassableAudits} 项有望通过的审核}}"
|
2575
2575
|
},
|
2576
2576
|
"flow-report/src/i18n/ui-strings.js | passedAuditCount": {
|
2577
|
-
"message": "{numPassed,plural, =1{通过了 {numPassed}
|
2577
|
+
"message": "{numPassed,plural, =1{通过了 {numPassed} 项审核}other{通过了 {numPassed} 项审核}}"
|
2578
2578
|
},
|
2579
2579
|
"flow-report/src/i18n/ui-strings.js | ratingAverage": {
|
2580
2580
|
"message": "一般"
|
@@ -2658,49 +2658,55 @@
|
|
2658
2658
|
"message": "您不妨使用 Component Dev Kit (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": "建议您在博文列表中显示摘录(例如,通过“更多”标签)、减少给定页面上显示的博文的数量、将您的长博文拆分成多个页面或者使用插件延迟加载评论。"
|