diff --git a/docs/rules/accessible-emoji.md b/docs/rules/accessible-emoji.md index 73db0fe5..7803df43 100644 --- a/docs/rules/accessible-emoji.md +++ b/docs/rules/accessible-emoji.md @@ -24,7 +24,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html) +- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG22/Understanding/non-text-content) ### Resources - [LĂ©onie Watson, Accessible Emoji](https://tink.uk/accessible-emoji/) diff --git a/docs/rules/alt-text.md b/docs/rules/alt-text.md index 40c90c77..bd87741f 100644 --- a/docs/rules/alt-text.md +++ b/docs/rules/alt-text.md @@ -158,7 +158,7 @@ function Foo(props) { ## Accessibility guidelines -- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html) +- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG22/Understanding/non-text-content) ### Resources diff --git a/docs/rules/anchor-has-content.md b/docs/rules/anchor-has-content.md index 03082fbb..c125122b 100644 --- a/docs/rules/anchor-has-content.md +++ b/docs/rules/anchor-has-content.md @@ -57,8 +57,8 @@ return ( ``` ## Accessibility guidelines -- [WCAG 2.4.4](https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-in-context) -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 2.4.4](https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [axe-core, link-name](https://dequeuniversity.com/rules/axe/3.2/link-name) diff --git a/docs/rules/anchor-is-valid.md b/docs/rules/anchor-is-valid.md index 77b1965c..dfa711c8 100644 --- a/docs/rules/anchor-is-valid.md +++ b/docs/rules/anchor-is-valid.md @@ -261,7 +261,7 @@ Invalid `href` attribute: ## Accessibility guidelines -- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard) +- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard) ### Resources diff --git a/docs/rules/aria-props.md b/docs/rules/aria-props.md index 2ed051a8..ccbcc11d 100644 --- a/docs/rules/aria-props.md +++ b/docs/rules/aria-props.md @@ -26,4 +26,4 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) diff --git a/docs/rules/aria-proptypes.md b/docs/rules/aria-proptypes.md index c4e596a9..bb916e58 100644 --- a/docs/rules/aria-proptypes.md +++ b/docs/rules/aria-proptypes.md @@ -23,7 +23,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [ARIA Spec, States and Properties](https://www.w3.org/TR/wai-aria/#states_and_properties) diff --git a/docs/rules/aria-role.md b/docs/rules/aria-role.md index b9646dc2..aeed321d 100644 --- a/docs/rules/aria-role.md +++ b/docs/rules/aria-role.md @@ -43,7 +43,7 @@ For the `ignoreNonDOM` option, this determines if developer created components a ``` ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [Chrome Audit Rules, AX_ARIA_01](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_01) diff --git a/docs/rules/aria-unsupported-elements.md b/docs/rules/aria-unsupported-elements.md index a759f008..40416b2f 100644 --- a/docs/rules/aria-unsupported-elements.md +++ b/docs/rules/aria-unsupported-elements.md @@ -23,7 +23,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [Chrome Audit Rules, AX_ARIA_12](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_12) diff --git a/docs/rules/autocomplete-valid.md b/docs/rules/autocomplete-valid.md index 9e29af75..65f53d4c 100644 --- a/docs/rules/autocomplete-valid.md +++ b/docs/rules/autocomplete-valid.md @@ -42,7 +42,7 @@ This rule takes one optional object argument of type object: ``` ## Accessibility guidelines -- [WCAG 1.3.5](https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose) +- [WCAG 1.3.5](https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose) ### Resources - [axe-core, autocomplete-valid](https://dequeuniversity.com/rules/axe/3.2/autocomplete-valid) diff --git a/docs/rules/click-events-have-key-events.md b/docs/rules/click-events-have-key-events.md index 613a099d..5481a63e 100644 --- a/docs/rules/click-events-have-key-events.md +++ b/docs/rules/click-events-have-key-events.md @@ -25,4 +25,4 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard) +- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard) diff --git a/docs/rules/control-has-associated-label.md b/docs/rules/control-has-associated-label.md index d28d1d80..59b503aa 100644 --- a/docs/rules/control-has-associated-label.md +++ b/docs/rules/control-has-associated-label.md @@ -108,6 +108,6 @@ This rule takes one optional object argument of type object: ``` ## Accessibility guidelines -- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships) -- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions) -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships) +- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) diff --git a/docs/rules/html-has-lang.md b/docs/rules/html-has-lang.md index dee57eb3..4f8fd9d6 100644 --- a/docs/rules/html-has-lang.md +++ b/docs/rules/html-has-lang.md @@ -24,7 +24,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG21/Understanding/language-of-page) +- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG22/Understanding/language-of-page) ### Resources - [axe-core, html-has-lang](https://dequeuniversity.com/rules/axe/3.2/html-has-lang) diff --git a/docs/rules/iframe-has-title.md b/docs/rules/iframe-has-title.md index 0015944d..60bdad70 100644 --- a/docs/rules/iframe-has-title.md +++ b/docs/rules/iframe-has-title.md @@ -30,8 +30,8 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 2.4.1](https://www.w3.org/WAI/WCAG21/Understanding/bypass-blocks) -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 2.4.1](https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [axe-core, frame-title](https://dequeuniversity.com/rules/axe/3.2/frame-title) diff --git a/docs/rules/interactive-supports-focus.md b/docs/rules/interactive-supports-focus.md index 2e896b0e..4bd65255 100644 --- a/docs/rules/interactive-supports-focus.md +++ b/docs/rules/interactive-supports-focus.md @@ -146,7 +146,7 @@ The list of possible values includes: ## Accessibility guidelines -- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard) +- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard) ### Resources diff --git a/docs/rules/label-has-associated-control.md b/docs/rules/label-has-associated-control.md index 5a3efa48..3ebd5cbb 100644 --- a/docs/rules/label-has-associated-control.md +++ b/docs/rules/label-has-associated-control.md @@ -143,6 +143,6 @@ function Foo(props) { ``` ## Accessibility guidelines -- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships) -- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions) -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships) +- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) diff --git a/docs/rules/label-has-for.md b/docs/rules/label-has-for.md index 87e6f533..bcd0de08 100644 --- a/docs/rules/label-has-for.md +++ b/docs/rules/label-has-for.md @@ -125,6 +125,6 @@ function Foo(props) { ## Accessibility guidelines -- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships) -- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions) -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships) +- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) diff --git a/docs/rules/lang.md b/docs/rules/lang.md index ace4b235..e2c19045 100644 --- a/docs/rules/lang.md +++ b/docs/rules/lang.md @@ -23,7 +23,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG21/Understanding/language-of-page) +- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG22/Understanding/language-of-page) ### Resources - [axe-core, valid-lang](https://dequeuniversity.com/rules/axe/3.2/valid-lang) diff --git a/docs/rules/media-has-caption.md b/docs/rules/media-has-caption.md index be29a7e5..370c7a84 100644 --- a/docs/rules/media-has-caption.md +++ b/docs/rules/media-has-caption.md @@ -40,8 +40,8 @@ For the `audio`, `video`, and `track` options, these strings determine which JSX ``` ## Accessibility guidelines -- [WCAG 1.2.2](https://www.w3.org/WAI/WCAG21/Understanding/captions-prerecorded.html) -- [WCAG 1.2.3](https://www.w3.org/WAI/WCAG21/Understanding/audio-description-or-media-alternative-prerecorded.html) +- [WCAG 1.2.2](https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded) +- [WCAG 1.2.3](https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded) ### Resources - [axe-core, audio-caption](https://dequeuniversity.com/rules/axe/2.1/audio-caption) diff --git a/docs/rules/mouse-events-have-key-events.md b/docs/rules/mouse-events-have-key-events.md index a8e6ce49..da14f9b3 100644 --- a/docs/rules/mouse-events-have-key-events.md +++ b/docs/rules/mouse-events-have-key-events.md @@ -55,4 +55,4 @@ In example 3 and 4 below, even if otherProps contains onBlur and/or onFocus, thi ``` ## Accessibility guidelines -- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard) +- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard) diff --git a/docs/rules/no-distracting-elements.md b/docs/rules/no-distracting-elements.md index 9e986bd6..0cb9cc2a 100644 --- a/docs/rules/no-distracting-elements.md +++ b/docs/rules/no-distracting-elements.md @@ -34,7 +34,7 @@ For the `elements` option, these strings determine which JSX elements should be ``` ## Accessibility guidelines -- [WCAG 2.2.2](https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide) +- [WCAG 2.2.2](https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide) ### Resources - [axe-core, marquee](https://dequeuniversity.com/rules/axe/3.2/marquee) diff --git a/docs/rules/no-interactive-element-to-noninteractive-role.md b/docs/rules/no-interactive-element-to-noninteractive-role.md index c3cadae6..c0a9e6af 100644 --- a/docs/rules/no-interactive-element-to-noninteractive-role.md +++ b/docs/rules/no-interactive-element-to-noninteractive-role.md @@ -61,7 +61,7 @@ Under the recommended options, the following code is valid. It would be invalid ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources diff --git a/docs/rules/no-noninteractive-element-interactions.md b/docs/rules/no-noninteractive-element-interactions.md index c14f298f..f7705309 100644 --- a/docs/rules/no-noninteractive-element-interactions.md +++ b/docs/rules/no-noninteractive-element-interactions.md @@ -135,7 +135,7 @@ Adjust the list of handler prop names in the handlers array to increase or decre ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources diff --git a/docs/rules/no-noninteractive-element-to-interactive-role.md b/docs/rules/no-noninteractive-element-to-interactive-role.md index c4d5fe81..82965942 100644 --- a/docs/rules/no-noninteractive-element-to-interactive-role.md +++ b/docs/rules/no-noninteractive-element-to-interactive-role.md @@ -66,7 +66,7 @@ Under the recommended options, the following code is valid. It would be invalid ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources diff --git a/docs/rules/no-noninteractive-tabindex.md b/docs/rules/no-noninteractive-tabindex.md index 6c900621..0d69ec09 100644 --- a/docs/rules/no-noninteractive-tabindex.md +++ b/docs/rules/no-noninteractive-tabindex.md @@ -108,7 +108,7 @@ The `allowExpressionValues` option determines whether the `role` attribute is al ## Accessibility guidelines -- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard) +- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard) ### Resources diff --git a/docs/rules/no-onchange.md b/docs/rules/no-onchange.md index bc318f71..0e87e9bd 100644 --- a/docs/rules/no-onchange.md +++ b/docs/rules/no-onchange.md @@ -29,7 +29,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 3.2.2](https://www.w3.org/WAI/WCAG21/Understanding/on-input) +- [WCAG 3.2.2](https://www.w3.org/WAI/WCAG22/Understanding/on-input) ### Resources - [onChange Event Accessibility Issues](https://web.archive.org/web/20191207202425/http://cita.disability.uiuc.edu/html-best-practices/auto/onchange.php) diff --git a/docs/rules/no-static-element-interactions.md b/docs/rules/no-static-element-interactions.md index 147ea1b2..167306dd 100644 --- a/docs/rules/no-static-element-interactions.md +++ b/docs/rules/no-static-element-interactions.md @@ -104,7 +104,7 @@ The `allowExpressionValues` option determines whether the `role` attribute is al ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources diff --git a/docs/rules/role-has-required-aria-props.md b/docs/rules/role-has-required-aria-props.md index 2d153f0b..05678965 100644 --- a/docs/rules/role-has-required-aria-props.md +++ b/docs/rules/role-has-required-aria-props.md @@ -24,7 +24,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [ARIA Spec, Roles](https://www.w3.org/TR/wai-aria/#roles) diff --git a/docs/rules/role-supports-aria-props.md b/docs/rules/role-supports-aria-props.md index 53c08ec4..639da778 100644 --- a/docs/rules/role-supports-aria-props.md +++ b/docs/rules/role-supports-aria-props.md @@ -32,7 +32,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value) +- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ### Resources - [ARIA Spec, States and Properties](https://www.w3.org/TR/wai-aria/#states_and_properties) diff --git a/docs/rules/scope.md b/docs/rules/scope.md index 89df1bb6..3842699a 100644 --- a/docs/rules/scope.md +++ b/docs/rules/scope.md @@ -23,8 +23,8 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships) -- [WCAG 4.1.1](https://www.w3.org/WAI/WCAG21/Understanding/parsing) +- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships) +- [WCAG 4.1.1](https://www.w3.org/WAI/WCAG22/Understanding/parsing) ### Resources - [axe-core, scope-attr-valid](https://dequeuniversity.com/rules/axe/3.5/scope-attr-valid) diff --git a/docs/rules/tabindex-no-positive.md b/docs/rules/tabindex-no-positive.md index 93c387c2..7cffdcaf 100644 --- a/docs/rules/tabindex-no-positive.md +++ b/docs/rules/tabindex-no-positive.md @@ -26,7 +26,7 @@ This rule takes no arguments. ``` ## Accessibility guidelines -- [WCAG 2.4.3](https://www.w3.org/WAI/WCAG21/Understanding/focus-order) +- [WCAG 2.4.3](https://www.w3.org/WAI/WCAG22/Understanding/focus-order) ### Resources - [Chrome Audit Rules, AX_FOCUS_03](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_focus_03)