lighthouse 11.7.0-dev.20240324 → 11.7.0-dev.20240326

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.
Files changed (65) hide show
  1. package/core/audits/accessibility/accesskeys.js +1 -1
  2. package/core/audits/accessibility/aria-allowed-attr.js +1 -1
  3. package/core/audits/accessibility/aria-allowed-role.js +1 -1
  4. package/core/audits/accessibility/aria-command-name.js +1 -1
  5. package/core/audits/accessibility/aria-dialog-name.js +1 -1
  6. package/core/audits/accessibility/aria-hidden-body.js +1 -1
  7. package/core/audits/accessibility/aria-hidden-focus.js +1 -1
  8. package/core/audits/accessibility/aria-input-field-name.js +1 -1
  9. package/core/audits/accessibility/aria-meter-name.js +1 -1
  10. package/core/audits/accessibility/aria-progressbar-name.js +1 -1
  11. package/core/audits/accessibility/aria-required-attr.js +1 -1
  12. package/core/audits/accessibility/aria-required-children.js +1 -1
  13. package/core/audits/accessibility/aria-required-parent.js +1 -1
  14. package/core/audits/accessibility/aria-roles.js +1 -1
  15. package/core/audits/accessibility/aria-text.js +1 -1
  16. package/core/audits/accessibility/aria-toggle-field-name.js +1 -1
  17. package/core/audits/accessibility/aria-tooltip-name.js +1 -1
  18. package/core/audits/accessibility/aria-treeitem-name.js +1 -1
  19. package/core/audits/accessibility/aria-valid-attr-value.js +1 -1
  20. package/core/audits/accessibility/aria-valid-attr.js +1 -1
  21. package/core/audits/accessibility/button-name.js +1 -1
  22. package/core/audits/accessibility/bypass.js +1 -1
  23. package/core/audits/accessibility/color-contrast.js +1 -1
  24. package/core/audits/accessibility/definition-list.js +1 -1
  25. package/core/audits/accessibility/dlitem.js +1 -1
  26. package/core/audits/accessibility/document-title.js +1 -1
  27. package/core/audits/accessibility/duplicate-id-active.js +1 -1
  28. package/core/audits/accessibility/duplicate-id-aria.js +1 -1
  29. package/core/audits/accessibility/empty-heading.js +1 -1
  30. package/core/audits/accessibility/form-field-multiple-labels.js +1 -1
  31. package/core/audits/accessibility/frame-title.js +1 -1
  32. package/core/audits/accessibility/heading-order.js +1 -1
  33. package/core/audits/accessibility/html-has-lang.js +1 -1
  34. package/core/audits/accessibility/html-lang-valid.js +1 -1
  35. package/core/audits/accessibility/html-xml-lang-mismatch.js +1 -1
  36. package/core/audits/accessibility/identical-links-same-purpose.js +1 -1
  37. package/core/audits/accessibility/image-alt.js +1 -1
  38. package/core/audits/accessibility/image-redundant-alt.js +1 -1
  39. package/core/audits/accessibility/input-button-name.js +1 -1
  40. package/core/audits/accessibility/input-image-alt.js +1 -1
  41. package/core/audits/accessibility/label-content-name-mismatch.js +1 -1
  42. package/core/audits/accessibility/label.js +1 -1
  43. package/core/audits/accessibility/landmark-one-main.js +1 -1
  44. package/core/audits/accessibility/link-in-text-block.js +1 -1
  45. package/core/audits/accessibility/link-name.js +1 -1
  46. package/core/audits/accessibility/list.js +1 -1
  47. package/core/audits/accessibility/listitem.js +1 -1
  48. package/core/audits/accessibility/meta-refresh.js +1 -1
  49. package/core/audits/accessibility/meta-viewport.js +1 -1
  50. package/core/audits/accessibility/object-alt.js +1 -1
  51. package/core/audits/accessibility/select-name.js +1 -1
  52. package/core/audits/accessibility/skip-link.js +1 -1
  53. package/core/audits/accessibility/tabindex.js +1 -1
  54. package/core/audits/accessibility/table-duplicate-name.js +1 -1
  55. package/core/audits/accessibility/table-fake-caption.js +1 -1
  56. package/core/audits/accessibility/target-size.js +1 -1
  57. package/core/audits/accessibility/td-has-header.js +1 -1
  58. package/core/audits/accessibility/td-headers-attr.js +1 -1
  59. package/core/audits/accessibility/th-has-data-cells.js +1 -1
  60. package/core/audits/accessibility/valid-lang.js +1 -1
  61. package/core/audits/accessibility/video-caption.js +1 -1
  62. package/core/lib/network-request.js +1 -1
  63. package/package.json +2 -2
  64. package/shared/localization/locales/en-US.json +61 -61
  65. package/shared/localization/locales/en-XL.json +61 -61
@@ -20,7 +20,7 @@ const UIStrings = {
20
20
  /** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
21
21
  description: 'The summary attribute should describe the table structure, while `<caption>` ' +
22
22
  'should have the onscreen title. Accurate table mark-up helps users of screen readers. ' +
23
- '[Learn more about summary and caption](https://dequeuniversity.com/rules/axe/4.8/table-duplicate-name).',
23
+ '[Learn more about summary and caption](https://dequeuniversity.com/rules/axe/4.9/table-duplicate-name).',
24
24
  };
25
25
 
26
26
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -23,7 +23,7 @@ const UIStrings = {
23
23
  description: 'Screen readers have features to make navigating tables easier. Ensuring ' +
24
24
  'that tables use the actual caption element instead of cells with the `[colspan]` ' +
25
25
  'attribute may improve the experience for screen reader users. ' +
26
- '[Learn more about captions](https://dequeuniversity.com/rules/axe/4.8/table-fake-caption).',
26
+ '[Learn more about captions](https://dequeuniversity.com/rules/axe/4.9/table-fake-caption).',
27
27
  };
28
28
 
29
29
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -20,7 +20,7 @@ const UIStrings = {
20
20
  /** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
21
21
  description: 'Touch targets with sufficient size and spacing help users who may have ' +
22
22
  'difficulty targeting small controls to activate the targets. ' +
23
- '[Learn more about touch targets](https://dequeuniversity.com/rules/axe/4.8/target-size).',
23
+ '[Learn more about touch targets](https://dequeuniversity.com/rules/axe/4.9/target-size).',
24
24
  };
25
25
 
26
26
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -21,7 +21,7 @@ const UIStrings = {
21
21
  description: 'Screen readers have features to make navigating tables easier. Ensuring ' +
22
22
  'that `<td>` elements in a large table (3 or more cells in width and height) have an ' +
23
23
  'associated table header may improve the experience for screen reader users. ' +
24
- '[Learn more about table headers](https://dequeuniversity.com/rules/axe/4.8/td-has-header).',
24
+ '[Learn more about table headers](https://dequeuniversity.com/rules/axe/4.9/td-has-header).',
25
25
  };
26
26
 
27
27
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -24,7 +24,7 @@ const UIStrings = {
24
24
  description: 'Screen readers have features to make navigating tables easier. Ensuring ' +
25
25
  '`<td>` cells using the `[headers]` attribute only refer to other cells in the same ' +
26
26
  'table may improve the experience for screen reader users. ' +
27
- '[Learn more about the `headers` attribute](https://dequeuniversity.com/rules/axe/4.8/td-headers-attr).',
27
+ '[Learn more about the `headers` attribute](https://dequeuniversity.com/rules/axe/4.9/td-headers-attr).',
28
28
  };
29
29
 
30
30
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -23,7 +23,7 @@ const UIStrings = {
23
23
  description: 'Screen readers have features to make navigating tables easier. Ensuring ' +
24
24
  'table headers always refer to some set of cells may improve the experience for screen ' +
25
25
  'reader users. ' +
26
- '[Learn more about table headers](https://dequeuniversity.com/rules/axe/4.8/th-has-data-cells).',
26
+ '[Learn more about table headers](https://dequeuniversity.com/rules/axe/4.9/th-has-data-cells).',
27
27
  };
28
28
 
29
29
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -20,7 +20,7 @@ const UIStrings = {
20
20
  /** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
21
21
  description: 'Specifying a valid [BCP 47 language](https://www.w3.org/International/questions/qa-choosing-language-tags#question) ' +
22
22
  'on elements helps ensure that text is pronounced correctly by a screen reader. ' +
23
- '[Learn how to use the `lang` attribute](https://dequeuniversity.com/rules/axe/4.8/valid-lang).',
23
+ '[Learn how to use the `lang` attribute](https://dequeuniversity.com/rules/axe/4.9/valid-lang).',
24
24
  };
25
25
 
26
26
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -21,7 +21,7 @@ const UIStrings = {
21
21
  /** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
22
22
  description: 'When a video provides a caption it is easier for deaf and hearing impaired ' +
23
23
  'users to access its information. ' +
24
- '[Learn more about video captions](https://dequeuniversity.com/rules/axe/4.8/video-caption).',
24
+ '[Learn more about video captions](https://dequeuniversity.com/rules/axe/4.9/video-caption).',
25
25
  };
26
26
 
27
27
  const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
@@ -634,7 +634,7 @@ class NetworkRequest {
634
634
  /^content-encoding$/i,
635
635
  /^x-content-encoding-over-network$/i,
636
636
  ];
637
- const compressionTypes = ['gzip', 'br', 'deflate'];
637
+ const compressionTypes = ['gzip', 'br', 'deflate', 'zstd'];
638
638
  return record.responseHeaders.some(header =>
639
639
  patterns.some(p => header.name.match(p)) && compressionTypes.includes(header.value)
640
640
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "11.7.0-dev.20240324",
4
+ "version": "11.7.0-dev.20240326",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {
@@ -181,7 +181,7 @@
181
181
  "dependencies": {
182
182
  "@paulirish/trace_engine": "^0.0.12",
183
183
  "@sentry/node": "^6.17.4",
184
- "axe-core": "^4.8.4",
184
+ "axe-core": "^4.9.0",
185
185
  "chrome-launcher": "^1.1.1",
186
186
  "configstore": "^5.0.1",
187
187
  "csp_evaluator": "1.1.1",