From 924e1f11bd6b31f3a105185a8d667143770f3c65 Mon Sep 17 00:00:00 2001 From: Kayce Basques Date: Thu, 20 Jul 2017 11:03:10 -0700 Subject: [PATCH] link all a11y audits to 2.2 aXe docs (#2709) --- lighthouse-core/audits/accessibility/accesskeys.js | 2 +- lighthouse-core/audits/accessibility/aria-allowed-attr.js | 2 +- lighthouse-core/audits/accessibility/aria-required-attr.js | 2 +- lighthouse-core/audits/accessibility/aria-required-children.js | 2 +- lighthouse-core/audits/accessibility/aria-required-parent.js | 2 +- lighthouse-core/audits/accessibility/aria-roles.js | 2 +- lighthouse-core/audits/accessibility/aria-valid-attr-value.js | 2 +- lighthouse-core/audits/accessibility/aria-valid-attr.js | 2 +- lighthouse-core/audits/accessibility/audio-caption.js | 2 +- lighthouse-core/audits/accessibility/button-name.js | 2 +- lighthouse-core/audits/accessibility/bypass.js | 2 +- lighthouse-core/audits/accessibility/color-contrast.js | 2 +- lighthouse-core/audits/accessibility/definition-list.js | 2 +- lighthouse-core/audits/accessibility/dlitem.js | 2 +- lighthouse-core/audits/accessibility/document-title.js | 2 +- lighthouse-core/audits/accessibility/duplicate-id.js | 2 +- lighthouse-core/audits/accessibility/frame-title.js | 2 +- lighthouse-core/audits/accessibility/html-has-lang.js | 2 +- lighthouse-core/audits/accessibility/html-lang-valid.js | 2 +- lighthouse-core/audits/accessibility/image-alt.js | 2 +- lighthouse-core/audits/accessibility/input-image-alt.js | 2 +- lighthouse-core/audits/accessibility/label.js | 2 +- lighthouse-core/audits/accessibility/layout-table.js | 2 +- lighthouse-core/audits/accessibility/link-name.js | 2 +- lighthouse-core/audits/accessibility/list.js | 2 +- lighthouse-core/audits/accessibility/listitem.js | 2 +- lighthouse-core/audits/accessibility/meta-refresh.js | 2 +- lighthouse-core/audits/accessibility/meta-viewport.js | 2 +- lighthouse-core/audits/accessibility/object-alt.js | 2 +- lighthouse-core/audits/accessibility/tabindex.js | 2 +- lighthouse-core/audits/accessibility/td-headers-attr.js | 2 +- lighthouse-core/audits/accessibility/th-has-data-cells.js | 2 +- lighthouse-core/audits/accessibility/valid-lang.js | 2 +- lighthouse-core/audits/accessibility/video-caption.js | 2 +- lighthouse-core/audits/accessibility/video-description.js | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/lighthouse-core/audits/accessibility/accesskeys.js b/lighthouse-core/audits/accessibility/accesskeys.js index b843bf4506f1..8fc68a6bbec7 100644 --- a/lighthouse-core/audits/accessibility/accesskeys.js +++ b/lighthouse-core/audits/accessibility/accesskeys.js @@ -24,7 +24,7 @@ class Accesskeys extends AxeAudit { failureDescription: '`[accesskey]` values are not unique.', helpText: 'Access keys let users quickly focus a part of the page. For proper ' + 'navigation, each access key must be unique. ' + - '[Learn more](https://dequeuniversity.com/rules/axe/1.1/accesskeys).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/accesskeys).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-allowed-attr.js b/lighthouse-core/audits/accessibility/aria-allowed-attr.js index 4a1f7e1452ad..33f1cfd0fc2c 100644 --- a/lighthouse-core/audits/accessibility/aria-allowed-attr.js +++ b/lighthouse-core/audits/accessibility/aria-allowed-attr.js @@ -24,7 +24,7 @@ class ARIAAllowedAttr extends AxeAudit { failureDescription: '`[aria-*]` attributes do not match their roles.', helpText: 'Each ARIA `role` supports a specific subset of `aria-*` attributes. ' + 'Mismatching these invalidates the `aria-*` attributes. [Learn ' + - 'more](https://developers.google.com/web/tools/lighthouse/audits/aria-allowed-attributes).', + 'more](https://dequeuniversity.com/rules/axe/2.2/aria-allowed-attr).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-required-attr.js b/lighthouse-core/audits/accessibility/aria-required-attr.js index 8bd463a993d3..77b08b69eb96 100644 --- a/lighthouse-core/audits/accessibility/aria-required-attr.js +++ b/lighthouse-core/audits/accessibility/aria-required-attr.js @@ -23,7 +23,7 @@ class ARIARequiredAttr extends AxeAudit { description: '`[role]`s have all required `[aria-*]` attributes.', failureDescription: '`[role]`s do not have all required `[aria-*]` attributes.', helpText: 'Some ARIA roles have required attributes that describe the state ' + - 'of the element to screen readers. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/required-aria-attributes).', + 'of the element to screen readers. [Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-required-attr).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-required-children.js b/lighthouse-core/audits/accessibility/aria-required-children.js index 0de501aaaaac..1fc20abfa2e5 100644 --- a/lighthouse-core/audits/accessibility/aria-required-children.js +++ b/lighthouse-core/audits/accessibility/aria-required-children.js @@ -26,7 +26,7 @@ class AriaRequiredChildren extends AxeAudit { 'are missing.', helpText: 'Some ARIA parent roles must contain specific child roles to perform ' + 'their intended accessibility functions. ' + - '[Learn more](https://dequeuniversity.com/rules/axe/1.1/aria-required-children).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-required-children).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-required-parent.js b/lighthouse-core/audits/accessibility/aria-required-parent.js index 2b1a8f6ccd90..762256c80df9 100644 --- a/lighthouse-core/audits/accessibility/aria-required-parent.js +++ b/lighthouse-core/audits/accessibility/aria-required-parent.js @@ -25,7 +25,7 @@ class AriaRequiredParent extends AxeAudit { failureDescription: '`[role]`s are not contained by their required parent element.', helpText: 'Some ARIA child roles must be contained by specific parent roles to ' + 'properly perform their intended accessibility functions. ' + - '[Learn more](https://dequeuniversity.com/rules/worldspace/2.1/aria-required-parent).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-required-parent).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-roles.js b/lighthouse-core/audits/accessibility/aria-roles.js index 42e0f34dd315..12325d6d0d29 100644 --- a/lighthouse-core/audits/accessibility/aria-roles.js +++ b/lighthouse-core/audits/accessibility/aria-roles.js @@ -24,7 +24,7 @@ class AriaRoles extends AxeAudit { failureDescription: '`[role]` values are not valid.', helpText: 'ARIA roles must have valid values in order to perform their ' + 'intended accessibility functions. ' + - '[Learn more](https://dequeuniversity.com/rules/axe/1.1/aria-roles).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-roles).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-valid-attr-value.js b/lighthouse-core/audits/accessibility/aria-valid-attr-value.js index 800babafba08..17357941d2a6 100644 --- a/lighthouse-core/audits/accessibility/aria-valid-attr-value.js +++ b/lighthouse-core/audits/accessibility/aria-valid-attr-value.js @@ -24,7 +24,7 @@ class ARIAValidAttr extends AxeAudit { failureDescription: '`[aria-*]` attributes do not have valid values.', helpText: 'Assistive technologies, like screen readers, can\'t interpret ARIA ' + 'attributes with invalid values. [Learn ' + - 'more](https://developers.google.com/web/tools/lighthouse/audits/valid-aria-values).', + 'more](https://dequeuniversity.com/rules/axe/2.2/aria-valid-attr-value).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/aria-valid-attr.js b/lighthouse-core/audits/accessibility/aria-valid-attr.js index 8aa3ea516680..45bc7e0e8792 100644 --- a/lighthouse-core/audits/accessibility/aria-valid-attr.js +++ b/lighthouse-core/audits/accessibility/aria-valid-attr.js @@ -24,7 +24,7 @@ class ARIAValidAttr extends AxeAudit { failureDescription: '`[aria-*]` attributes are not valid or misspelled.', helpText: 'Assistive technologies, like screen readers, can\'t interpret ARIA ' + 'attributes with invalid names. [Learn ' + - 'more](https://developers.google.com/web/tools/lighthouse/audits/valid-aria-attributes).', + 'more](https://dequeuniversity.com/rules/axe/2.2/aria-valid-attr).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/audio-caption.js b/lighthouse-core/audits/accessibility/audio-caption.js index b02b215dde72..3eda60ce44dd 100644 --- a/lighthouse-core/audits/accessibility/audio-caption.js +++ b/lighthouse-core/audits/accessibility/audio-caption.js @@ -26,7 +26,7 @@ class AudioCaption extends AxeAudit { helpText: 'Captions make audio elements usable for deaf or hearing-impaired users, ' + 'providing critical information such as who is talking, what they\'re saying, ' + 'and other non-speech information. ' + - '[Learn more](https://dequeuniversity.com/rules/axe/1.1/audio-caption).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/audio-caption).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/button-name.js b/lighthouse-core/audits/accessibility/button-name.js index 8a1ed9a4f7da..8ae9914057f2 100644 --- a/lighthouse-core/audits/accessibility/button-name.js +++ b/lighthouse-core/audits/accessibility/button-name.js @@ -24,7 +24,7 @@ class ButtonName extends AxeAudit { failureDescription: 'Buttons do not have an accessible name.', helpText: '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 more](https://developers.google.com/web/tools/lighthouse/audits/button-name).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/button-name).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/bypass.js b/lighthouse-core/audits/accessibility/bypass.js index b838461f4f4a..c8511cd37d99 100644 --- a/lighthouse-core/audits/accessibility/bypass.js +++ b/lighthouse-core/audits/accessibility/bypass.js @@ -25,7 +25,7 @@ class Bypass extends AxeAudit { failureDescription: 'The page does not contain a heading, skip link, or landmark region.', helpText: 'Adding ways to bypass repetitive content lets keyboard users navigate the page ' + 'more efficiently. ' + - '[Learn more](https://dequeuniversity.com/rules/axe/1.1/bypass).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/bypass).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/color-contrast.js b/lighthouse-core/audits/accessibility/color-contrast.js index 304b78c93ae2..917d50447bd5 100644 --- a/lighthouse-core/audits/accessibility/color-contrast.js +++ b/lighthouse-core/audits/accessibility/color-contrast.js @@ -25,7 +25,7 @@ class ColorContrast extends AxeAudit { failureDescription: 'Background and foreground colors do not have a ' + 'sufficient contrast ratio.', helpText: 'Low-contrast text is difficult or impossible for many users to read. ' + - '[Learn more](https://developers.google.com/web/tools/lighthouse/audits/contrast-ratio).', + '[Learn more](https://dequeuniversity.com/rules/axe/2.2/color-contrast).', requiredArtifacts: ['Accessibility'] }; } diff --git a/lighthouse-core/audits/accessibility/definition-list.js b/lighthouse-core/audits/accessibility/definition-list.js index d82e17592861..f82637294333 100644 --- a/lighthouse-core/audits/accessibility/definition-list.js +++ b/lighthouse-core/audits/accessibility/definition-list.js @@ -26,7 +26,7 @@ class DefinitionList extends AxeAudit { 'groups, `