core(unused-css): change title Defer -> Remove (#7235)
This commit is contained in:
Родитель
429008054d
Коммит
3df08f4518
|
@ -10,10 +10,10 @@ const i18n = require('../../lib/i18n/i18n.js');
|
|||
|
||||
const UIStrings = {
|
||||
/** Imperative title of a Lighthouse audit that tells the user to remove content from their CSS that isn’t needed immediately and instead load that content at a later time. This is displayed in a list of audit titles that Lighthouse generates. */
|
||||
title: 'Defer unused CSS',
|
||||
title: 'Remove unused CSS',
|
||||
/** Description of a Lighthouse audit that tells the user *why* they should defer loading any content in CSS that isn’t needed at page load. This is displayed after a user expands the section to see more. No word length limits. 'Learn More' becomes link text to additional documentation. */
|
||||
description: 'Remove unused rules from stylesheets to reduce unnecessary ' +
|
||||
'bytes consumed by network activity. ' +
|
||||
description: 'Remove dead rules from stylesheets and defer the loading of CSS not used for ' +
|
||||
'above-the-fold content to reduce unnecessary bytes consumed by network activity. ' +
|
||||
'[Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).',
|
||||
};
|
||||
|
||||
|
|
|
@ -504,11 +504,11 @@
|
|||
"description": "Imperative title of a Lighthouse audit that tells the user to minify the page’s JS code to reduce file size. This is displayed in a list of audit titles that Lighthouse generates."
|
||||
},
|
||||
"lighthouse-core/audits/byte-efficiency/unused-css-rules.js | description": {
|
||||
"message": "Remove unused rules from stylesheets to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).",
|
||||
"message": "Remove dead rules from stylesheets and defer the loading of CSS not used for above-the-fold content to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).",
|
||||
"description": "Description of a Lighthouse audit that tells the user *why* they should defer loading any content in CSS that isn’t needed at page load. This is displayed after a user expands the section to see more. No word length limits. 'Learn More' becomes link text to additional documentation."
|
||||
},
|
||||
"lighthouse-core/audits/byte-efficiency/unused-css-rules.js | title": {
|
||||
"message": "Defer unused CSS",
|
||||
"message": "Remove unused CSS",
|
||||
"description": "Imperative title of a Lighthouse audit that tells the user to remove content from their CSS that isn’t needed immediately and instead load that content at a later time. This is displayed in a list of audit titles that Lighthouse generates."
|
||||
},
|
||||
"lighthouse-core/audits/byte-efficiency/unused-javascript.js | description": {
|
||||
|
|
|
@ -2410,8 +2410,8 @@
|
|||
},
|
||||
"unused-css-rules": {
|
||||
"id": "unused-css-rules",
|
||||
"title": "Defer unused CSS",
|
||||
"description": "Remove unused rules from stylesheets to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).",
|
||||
"title": "Remove unused CSS",
|
||||
"description": "Remove dead rules from stylesheets and defer the loading of CSS not used for above-the-fold content to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).",
|
||||
"score": 1,
|
||||
"scoreDisplayMode": "numeric",
|
||||
"rawValue": 0,
|
||||
|
|
|
@ -2533,7 +2533,7 @@
|
|||
"warnings": []
|
||||
},
|
||||
"unused-css-rules": {
|
||||
"description": "Remove unused rules from stylesheets to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).",
|
||||
"description": "Remove dead rules from stylesheets and defer the loading of CSS not used for above-the-fold content to reduce unnecessary bytes consumed by network activity. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/unused-css).",
|
||||
"details": {
|
||||
"headings": [],
|
||||
"items": [],
|
||||
|
@ -2544,7 +2544,7 @@
|
|||
"id": "unused-css-rules",
|
||||
"score": 1.0,
|
||||
"scoreDisplayMode": "numeric",
|
||||
"title": "Defer unused CSS"
|
||||
"title": "Remove unused CSS"
|
||||
},
|
||||
"use-landmarks": {
|
||||
"description": "Landmark elements (<main>, <nav>, etc.) are used to improve the keyboard navigation of the page for assistive technology. [Learn more](https://developers.google.com/web/fundamentals/accessibility/how-to-review#take_advantage_of_headings_and_landmarks).",
|
||||
|
|
Загрузка…
Ссылка в новой задаче