From b647117625cf7a6290bc38fa127f0af3122963d7 Mon Sep 17 00:00:00 2001 From: Adam Raine <6752989+adamraine@users.noreply.github.com> Date: Mon, 26 Aug 2024 09:46:41 -0700 Subject: [PATCH] deps: upgrade `axe-core` to 4.10.0 (#16162) --- core/audits/accessibility/accesskeys.js | 2 +- .../audits/accessibility/aria-allowed-attr.js | 2 +- .../audits/accessibility/aria-allowed-role.js | 2 +- .../audits/accessibility/aria-command-name.js | 2 +- .../accessibility/aria-conditional-attr.js | 2 +- .../accessibility/aria-deprecated-role.js | 2 +- core/audits/accessibility/aria-dialog-name.js | 2 +- core/audits/accessibility/aria-hidden-body.js | 2 +- .../audits/accessibility/aria-hidden-focus.js | 2 +- .../accessibility/aria-input-field-name.js | 2 +- core/audits/accessibility/aria-meter-name.js | 2 +- .../accessibility/aria-progressbar-name.js | 2 +- .../accessibility/aria-prohibited-attr.js | 2 +- .../accessibility/aria-required-attr.js | 2 +- .../accessibility/aria-required-children.js | 2 +- .../accessibility/aria-required-parent.js | 2 +- core/audits/accessibility/aria-roles.js | 2 +- core/audits/accessibility/aria-text.js | 2 +- .../accessibility/aria-toggle-field-name.js | 2 +- .../audits/accessibility/aria-tooltip-name.js | 2 +- .../accessibility/aria-treeitem-name.js | 2 +- .../accessibility/aria-valid-attr-value.js | 2 +- core/audits/accessibility/aria-valid-attr.js | 2 +- core/audits/accessibility/button-name.js | 2 +- core/audits/accessibility/bypass.js | 2 +- core/audits/accessibility/color-contrast.js | 2 +- core/audits/accessibility/definition-list.js | 2 +- core/audits/accessibility/dlitem.js | 2 +- core/audits/accessibility/document-title.js | 2 +- .../audits/accessibility/duplicate-id-aria.js | 2 +- core/audits/accessibility/empty-heading.js | 2 +- .../form-field-multiple-labels.js | 2 +- core/audits/accessibility/frame-title.js | 2 +- core/audits/accessibility/heading-order.js | 2 +- core/audits/accessibility/html-has-lang.js | 2 +- core/audits/accessibility/html-lang-valid.js | 2 +- .../accessibility/html-xml-lang-mismatch.js | 2 +- .../identical-links-same-purpose.js | 2 +- core/audits/accessibility/image-alt.js | 2 +- .../accessibility/image-redundant-alt.js | 2 +- .../audits/accessibility/input-button-name.js | 2 +- core/audits/accessibility/input-image-alt.js | 2 +- .../label-content-name-mismatch.js | 2 +- core/audits/accessibility/label.js | 2 +- .../audits/accessibility/landmark-one-main.js | 2 +- .../accessibility/link-in-text-block.js | 2 +- core/audits/accessibility/link-name.js | 2 +- core/audits/accessibility/list.js | 2 +- core/audits/accessibility/listitem.js | 2 +- core/audits/accessibility/meta-refresh.js | 2 +- core/audits/accessibility/meta-viewport.js | 2 +- core/audits/accessibility/object-alt.js | 2 +- core/audits/accessibility/select-name.js | 2 +- core/audits/accessibility/skip-link.js | 2 +- core/audits/accessibility/tabindex.js | 2 +- .../accessibility/table-duplicate-name.js | 2 +- .../accessibility/table-fake-caption.js | 2 +- core/audits/accessibility/target-size.js | 2 +- core/audits/accessibility/td-has-header.js | 2 +- core/audits/accessibility/td-headers-attr.js | 2 +- .../audits/accessibility/th-has-data-cells.js | 2 +- core/audits/accessibility/valid-lang.js | 2 +- core/audits/accessibility/video-caption.js | 2 +- core/gather/gatherers/accessibility.js | 2 + .../reports/sample-flow-result.json | 378 +++++++++--------- core/test/results/sample_v2.json | 126 +++--- package.json | 2 +- shared/localization/locales/en-US.json | 126 +++--- shared/localization/locales/en-XL.json | 126 +++--- yarn.lock | 8 +- 70 files changed, 448 insertions(+), 446 deletions(-) diff --git a/core/audits/accessibility/accesskeys.js b/core/audits/accessibility/accesskeys.js index 11fa7b3ba4fb..93858f0ab764 100644 --- a/core/audits/accessibility/accesskeys.js +++ b/core/audits/accessibility/accesskeys.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Access keys let users quickly focus a part of the page. For proper ' + 'navigation, each access key must be unique. ' + - '[Learn more about access keys](https://dequeuniversity.com/rules/axe/4.9/accesskeys).', + '[Learn more about access keys](https://dequeuniversity.com/rules/axe/4.10/accesskeys).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-allowed-attr.js b/core/audits/accessibility/aria-allowed-attr.js index 2dd73ab511bf..c17004f9ffa5 100644 --- a/core/audits/accessibility/aria-allowed-attr.js +++ b/core/audits/accessibility/aria-allowed-attr.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Each ARIA `role` supports a specific subset of `aria-*` attributes. ' + 'Mismatching these invalidates the `aria-*` attributes. [Learn ' + - 'how to match ARIA attributes to their roles](https://dequeuniversity.com/rules/axe/4.9/aria-allowed-attr).', + 'how to match ARIA attributes to their roles](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-allowed-role.js b/core/audits/accessibility/aria-allowed-role.js index d82258501662..a21962ebd056 100644 --- a/core/audits/accessibility/aria-allowed-role.js +++ b/core/audits/accessibility/aria-allowed-role.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Many HTML elements can only be assigned certain ARIA roles. Using ARIA ' + 'roles where they are not allowed can interfere with the accessibility of the web page. ' + - '[Learn more about ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-allowed-role).', + '[Learn more about ARIA roles](https://dequeuniversity.com/rules/axe/4.10/aria-allowed-role).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-command-name.js b/core/audits/accessibility/aria-command-name.js index af493cca2cf7..33111250af51 100644 --- a/core/audits/accessibility/aria-command-name.js +++ b/core/audits/accessibility/aria-command-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accessibility audit that evaluates if important HTML elements do not have accessible names. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: '`button`, `link`, and `menuitem` elements do not have accessible names.', /** Description of a Lighthouse audit that tells the user *why* they should have accessible names for HTML elements. 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. */ - description: 'When an element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to make command elements more accessible](https://dequeuniversity.com/rules/axe/4.9/aria-command-name).', + description: 'When an element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to make command elements more accessible](https://dequeuniversity.com/rules/axe/4.10/aria-command-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-conditional-attr.js b/core/audits/accessibility/aria-conditional-attr.js index 3eca08d669f8..be011e6fa92b 100644 --- a/core/audits/accessibility/aria-conditional-attr.js +++ b/core/audits/accessibility/aria-conditional-attr.js @@ -19,7 +19,7 @@ const UIStrings = { failureTitle: 'ARIA attributes are not used as specified for the element\'s role', /** 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. */ description: 'Some ARIA attributes are only allowed on an element under certain conditions. ' + - '[Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).', + '[Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.10/aria-conditional-attr).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-deprecated-role.js b/core/audits/accessibility/aria-deprecated-role.js index fc1d5e3cfffd..e98b09d4fc45 100644 --- a/core/audits/accessibility/aria-deprecated-role.js +++ b/core/audits/accessibility/aria-deprecated-role.js @@ -19,7 +19,7 @@ const UIStrings = { failureTitle: 'Deprecated ARIA roles were used', /** 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. */ description: 'Deprecated ARIA roles may not be processed correctly by assistive technology. ' + - '[Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).', + '[Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.10/aria-deprecated-role).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-dialog-name.js b/core/audits/accessibility/aria-dialog-name.js index 1a991d072528..0c77479615fb 100644 --- a/core/audits/accessibility/aria-dialog-name.js +++ b/core/audits/accessibility/aria-dialog-name.js @@ -21,7 +21,7 @@ const UIStrings = { /** Description of a Lighthouse audit that tells the user *why* they should have accessible names for ARIA dialog elements. 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. */ description: 'ARIA dialog elements without accessible names may prevent screen readers users ' + 'from discerning the purpose of these elements. ' + - '[Learn how to make ARIA dialog elements more accessible](https://dequeuniversity.com/rules/axe/4.9/aria-dialog-name).', + '[Learn how to make ARIA dialog elements more accessible](https://dequeuniversity.com/rules/axe/4.10/aria-dialog-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-hidden-body.js b/core/audits/accessibility/aria-hidden-body.js index 1b5d2ca7aab0..90c2fed61fab 100644 --- a/core/audits/accessibility/aria-hidden-body.js +++ b/core/audits/accessibility/aria-hidden-body.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accesibility audit that checks if the html
element does not have an aria-hidden attribute set on it. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: '`[aria-hidden="true"]` is present on the document ``', /** 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. */ - description: 'Assistive technologies, like screen readers, work inconsistently when `aria-hidden="true"` is set on the document ``. [Learn how `aria-hidden` affects the document body](https://dequeuniversity.com/rules/axe/4.9/aria-hidden-body).', + description: 'Assistive technologies, like screen readers, work inconsistently when `aria-hidden="true"` is set on the document ``. [Learn how `aria-hidden` affects the document body](https://dequeuniversity.com/rules/axe/4.10/aria-hidden-body).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-hidden-focus.js b/core/audits/accessibility/aria-hidden-focus.js index e596c377dcab..07975077282e 100644 --- a/core/audits/accessibility/aria-hidden-focus.js +++ b/core/audits/accessibility/aria-hidden-focus.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accesibility audit that checks if all elements that have an aria-hidden attribute do not contain focusable descendent elements. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: '`[aria-hidden="true"]` elements contain focusable descendents', /** 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. */ - description: 'Focusable descendents within an `[aria-hidden="true"]` element prevent those interactive elements from being available to users of assistive technologies like screen readers. [Learn how `aria-hidden` affects focusable elements](https://dequeuniversity.com/rules/axe/4.9/aria-hidden-focus).', + description: 'Focusable descendents within an `[aria-hidden="true"]` element prevent those interactive elements from being available to users of assistive technologies like screen readers. [Learn how `aria-hidden` affects focusable elements](https://dequeuniversity.com/rules/axe/4.10/aria-hidden-focus).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-input-field-name.js b/core/audits/accessibility/aria-input-field-name.js index 6b44df5182d6..24599258d417 100644 --- a/core/audits/accessibility/aria-input-field-name.js +++ b/core/audits/accessibility/aria-input-field-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accesibility audit that checks that all ARIA input fields have an accessible name. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: 'ARIA input fields do not have accessible names', /** 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. */ - description: 'When an input field doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about input field labels](https://dequeuniversity.com/rules/axe/4.9/aria-input-field-name).', + description: 'When an input field doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about input field labels](https://dequeuniversity.com/rules/axe/4.10/aria-input-field-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-meter-name.js b/core/audits/accessibility/aria-meter-name.js index 67a75c79f598..cb0bb366decb 100644 --- a/core/audits/accessibility/aria-meter-name.js +++ b/core/audits/accessibility/aria-meter-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accessibility audit that evaluates if meter HTML elements do not have accessible names. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: 'ARIA `meter` elements do not have accessible names.', /** Description of a Lighthouse audit that tells the user *why* they should have accessible names for HTML 'meter' elements. This is displayed after a user expands the section to see more. No character length limits. 'Learn how...' becomes link text to additional documentation. */ - description: 'When a meter element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to name `meter` elements](https://dequeuniversity.com/rules/axe/4.9/aria-meter-name).', + description: 'When a meter element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to name `meter` elements](https://dequeuniversity.com/rules/axe/4.10/aria-meter-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-progressbar-name.js b/core/audits/accessibility/aria-progressbar-name.js index 4ccd61bea88e..f73e81680c4b 100644 --- a/core/audits/accessibility/aria-progressbar-name.js +++ b/core/audits/accessibility/aria-progressbar-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accessibility audit that evaluates if progressbar HTML elements do not have accessible names. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: 'ARIA `progressbar` elements do not have accessible names.', /** 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. */ - description: 'When a `progressbar` element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to label `progressbar` elements](https://dequeuniversity.com/rules/axe/4.9/aria-progressbar-name).', + description: 'When a `progressbar` element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to label `progressbar` elements](https://dequeuniversity.com/rules/axe/4.10/aria-progressbar-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-prohibited-attr.js b/core/audits/accessibility/aria-prohibited-attr.js index f4f56114b1e1..ef2febef6acd 100644 --- a/core/audits/accessibility/aria-prohibited-attr.js +++ b/core/audits/accessibility/aria-prohibited-attr.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Using ARIA attributes in roles where they are prohibited can mean that important ' + 'information is not communicated to users of assistive technologies. ' + - '[Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).', + '[Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-required-attr.js b/core/audits/accessibility/aria-required-attr.js index a336d193071d..a8f66131ce0c 100644 --- a/core/audits/accessibility/aria-required-attr.js +++ b/core/audits/accessibility/aria-required-attr.js @@ -19,7 +19,7 @@ const UIStrings = { failureTitle: '`[role]`s do not have all required `[aria-*]` attributes', /** 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. */ description: 'Some ARIA roles have required attributes that describe the state ' + - 'of the element to screen readers. [Learn more about roles and required attributes](https://dequeuniversity.com/rules/axe/4.9/aria-required-attr).', + 'of the element to screen readers. [Learn more about roles and required attributes](https://dequeuniversity.com/rules/axe/4.10/aria-required-attr).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-required-children.js b/core/audits/accessibility/aria-required-children.js index 0df1bf04dead..4555cb55cedc 100644 --- a/core/audits/accessibility/aria-required-children.js +++ b/core/audits/accessibility/aria-required-children.js @@ -23,7 +23,7 @@ const UIStrings = { /** 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. */ description: 'Some ARIA parent roles must contain specific child roles to perform ' + 'their intended accessibility functions. ' + - '[Learn more about roles and required children elements](https://dequeuniversity.com/rules/axe/4.9/aria-required-children).', + '[Learn more about roles and required children elements](https://dequeuniversity.com/rules/axe/4.10/aria-required-children).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-required-parent.js b/core/audits/accessibility/aria-required-parent.js index 215101342b1b..56a9ce759ae1 100644 --- a/core/audits/accessibility/aria-required-parent.js +++ b/core/audits/accessibility/aria-required-parent.js @@ -21,7 +21,7 @@ const UIStrings = { /** 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. */ description: 'Some ARIA child roles must be contained by specific parent roles to ' + 'properly perform their intended accessibility functions. ' + - '[Learn more about ARIA roles and required parent element](https://dequeuniversity.com/rules/axe/4.9/aria-required-parent).', + '[Learn more about ARIA roles and required parent element](https://dequeuniversity.com/rules/axe/4.10/aria-required-parent).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-roles.js b/core/audits/accessibility/aria-roles.js index 368d0f8cb926..581683faeb95 100644 --- a/core/audits/accessibility/aria-roles.js +++ b/core/audits/accessibility/aria-roles.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'ARIA roles must have valid values in order to perform their ' + 'intended accessibility functions. ' + - '[Learn more about valid ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-roles).', + '[Learn more about valid ARIA roles](https://dequeuniversity.com/rules/axe/4.10/aria-roles).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-text.js b/core/audits/accessibility/aria-text.js index 751357b725b8..27c97fb1ae15 100644 --- a/core/audits/accessibility/aria-text.js +++ b/core/audits/accessibility/aria-text.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Adding `role=text` around a text node split by markup enables VoiceOver to treat ' + 'it as one phrase, but the element\'s focusable descendents will not be announced. ' + - '[Learn more about the `role=text` attribute](https://dequeuniversity.com/rules/axe/4.9/aria-text).', + '[Learn more about the `role=text` attribute](https://dequeuniversity.com/rules/axe/4.10/aria-text).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-toggle-field-name.js b/core/audits/accessibility/aria-toggle-field-name.js index 51d63460d4e6..565fae03e02c 100644 --- a/core/audits/accessibility/aria-toggle-field-name.js +++ b/core/audits/accessibility/aria-toggle-field-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accesibility audit that checks that all ARIA toggle fields have an accessible name. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: 'ARIA toggle fields do not have accessible names', /** 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. */ - description: 'When a toggle field doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about toggle fields](https://dequeuniversity.com/rules/axe/4.9/aria-toggle-field-name).', + description: 'When a toggle field doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about toggle fields](https://dequeuniversity.com/rules/axe/4.10/aria-toggle-field-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-tooltip-name.js b/core/audits/accessibility/aria-tooltip-name.js index 7662c017c49c..36011cac8f7f 100644 --- a/core/audits/accessibility/aria-tooltip-name.js +++ b/core/audits/accessibility/aria-tooltip-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accessibility audit that evaluates if tooltip HTML elements do not have accessible names. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: 'ARIA `tooltip` elements do not have accessible names.', /** Description of a Lighthouse audit that tells the user *why* they should have accessible names for HTML 'tooltip' elements. This is displayed after a user expands the section to see more. No character length limits. 'Learn how...' becomes link text to additional documentation. */ - description: 'When a tooltip element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to name `tooltip` elements](https://dequeuniversity.com/rules/axe/4.9/aria-tooltip-name).', + description: 'When a tooltip element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to name `tooltip` elements](https://dequeuniversity.com/rules/axe/4.10/aria-tooltip-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-treeitem-name.js b/core/audits/accessibility/aria-treeitem-name.js index e602553680a3..298222d41133 100644 --- a/core/audits/accessibility/aria-treeitem-name.js +++ b/core/audits/accessibility/aria-treeitem-name.js @@ -18,7 +18,7 @@ const UIStrings = { /** Title of an accessibility audit that evaluates if treeitem HTML elements do not have accessible names. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */ failureTitle: 'ARIA `treeitem` elements do not have accessible names.', /** Description of a Lighthouse audit that tells the user *why* they should have accessible names for HTML elements. 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. */ - description: 'When a `treeitem` element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about labeling `treeitem` elements](https://dequeuniversity.com/rules/axe/4.9/aria-treeitem-name).', + description: 'When a `treeitem` element doesn\'t have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about labeling `treeitem` elements](https://dequeuniversity.com/rules/axe/4.10/aria-treeitem-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-valid-attr-value.js b/core/audits/accessibility/aria-valid-attr-value.js index 6b0006f93efb..fcf5b866a009 100644 --- a/core/audits/accessibility/aria-valid-attr-value.js +++ b/core/audits/accessibility/aria-valid-attr-value.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Assistive technologies, like screen readers, can\'t interpret ARIA ' + 'attributes with invalid values. [Learn ' + - 'more about valid values for ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-valid-attr-value).', + 'more about valid values for ARIA attributes](https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr-value).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/aria-valid-attr.js b/core/audits/accessibility/aria-valid-attr.js index 6d8cc27d5cff..ba9e4496045c 100644 --- a/core/audits/accessibility/aria-valid-attr.js +++ b/core/audits/accessibility/aria-valid-attr.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Assistive technologies, like screen readers, can\'t interpret ARIA ' + 'attributes with invalid names. [Learn ' + - 'more about valid ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-valid-attr).', + 'more about valid ARIA attributes](https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/button-name.js b/core/audits/accessibility/button-name.js index 8d6cb2d58b8c..b7180cf1f053 100644 --- a/core/audits/accessibility/button-name.js +++ b/core/audits/accessibility/button-name.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'When a button doesn\'t have an accessible name, screen readers announce it ' + 'as "button", making it unusable for users who rely on screen readers. ' + - '[Learn how to make buttons more accessible](https://dequeuniversity.com/rules/axe/4.9/button-name).', + '[Learn how to make buttons more accessible](https://dequeuniversity.com/rules/axe/4.10/button-name).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/bypass.js b/core/audits/accessibility/bypass.js index b49c67cdf3d6..4f1b92c6073b 100644 --- a/core/audits/accessibility/bypass.js +++ b/core/audits/accessibility/bypass.js @@ -21,7 +21,7 @@ const UIStrings = { /** 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. */ description: 'Adding ways to bypass repetitive content lets keyboard users navigate the ' + 'page more efficiently. ' + - '[Learn more about bypass blocks](https://dequeuniversity.com/rules/axe/4.9/bypass).', + '[Learn more about bypass blocks](https://dequeuniversity.com/rules/axe/4.10/bypass).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/color-contrast.js b/core/audits/accessibility/color-contrast.js index 21e9205e8027..120085193aa6 100644 --- a/core/audits/accessibility/color-contrast.js +++ b/core/audits/accessibility/color-contrast.js @@ -21,7 +21,7 @@ const UIStrings = { 'sufficient contrast ratio.', /** 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. */ description: 'Low-contrast text is difficult or impossible for many users to read. ' + - '[Learn how to provide sufficient color contrast](https://dequeuniversity.com/rules/axe/4.9/color-contrast).', + '[Learn how to provide sufficient color contrast](https://dequeuniversity.com/rules/axe/4.10/color-contrast).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/definition-list.js b/core/audits/accessibility/definition-list.js index 412f7be7eadf..e500adcd59fd 100644 --- a/core/audits/accessibility/definition-list.js +++ b/core/audits/accessibility/definition-list.js @@ -22,7 +22,7 @@ const UIStrings = { /** 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. */ description: 'When definition lists are not properly marked up, screen readers may produce ' + 'confusing or inaccurate output. ' + - '[Learn how to structure definition lists correctly](https://dequeuniversity.com/rules/axe/4.9/definition-list).', + '[Learn how to structure definition lists correctly](https://dequeuniversity.com/rules/axe/4.10/definition-list).', }; const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings); diff --git a/core/audits/accessibility/dlitem.js b/core/audits/accessibility/dlitem.js index ff7c16c83b0a..cb3807503a04 100644 --- a/core/audits/accessibility/dlitem.js +++ b/core/audits/accessibility/dlitem.js @@ -20,7 +20,7 @@ const UIStrings = { /** 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. */ description: 'Definition list items (`