Skip to content

Commit 252f4f6

Browse files
committed
[Docs] Update all WCAG URLs to the equivalent 2.2 location
Fixes #1015 Ensure all URLs are consistent (without trailing HTML) as this is the canonical URL
1 parent 4925ba8 commit 252f4f6

30 files changed

+40
-40
lines changed

docs/rules/accessible-emoji.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This rule takes no arguments.
2424
```
2525

2626
## Accessibility guidelines
27-
- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html)
27+
- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG22/Understanding/non-text-content)
2828

2929
### Resources
3030
- [Léonie Watson, Accessible Emoji](https://tink.uk/accessible-emoji/)

docs/rules/alt-text.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function Foo(props) {
158158

159159
## Accessibility guidelines
160160

161-
- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html)
161+
- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG22/Understanding/non-text-content)
162162

163163
### Resources
164164

docs/rules/anchor-has-content.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ return (
5757
<a><TextWrapper aria-hidden /></a>
5858
```
5959
## Accessibility guidelines
60-
- [WCAG 2.4.4](https://www.w3.org/WAI/WCAG21/Understanding/link-purpose-in-context)
61-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
60+
- [WCAG 2.4.4](https://www.w3.org/WAI/WCAG22/Understanding/link-purpose-in-context)
61+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
6262

6363
### Resources
6464
- [axe-core, link-name](https://dequeuniversity.com/rules/axe/3.2/link-name)

docs/rules/anchor-is-valid.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Invalid `href` attribute:
261261

262262
## Accessibility guidelines
263263

264-
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)
264+
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard)
265265

266266
### Resources
267267

docs/rules/aria-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ This rule takes no arguments.
2626
```
2727

2828
## Accessibility guidelines
29-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
29+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)

docs/rules/aria-proptypes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This rule takes no arguments.
2323
```
2424

2525
## Accessibility guidelines
26-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
26+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
2727

2828
### Resources
2929
- [ARIA Spec, States and Properties](https://www.w3.org/TR/wai-aria/#states_and_properties)

docs/rules/aria-role.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For the `ignoreNonDOM` option, this determines if developer created components a
4343
```
4444

4545
## Accessibility guidelines
46-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
46+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
4747

4848
### Resources
4949
- [Chrome Audit Rules, AX_ARIA_01](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_01)

docs/rules/aria-unsupported-elements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This rule takes no arguments.
2323
```
2424

2525
## Accessibility guidelines
26-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
26+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
2727

2828
### Resources
2929
- [Chrome Audit Rules, AX_ARIA_12](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_12)

docs/rules/autocomplete-valid.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This rule takes one optional object argument of type object:
4242
```
4343

4444
## Accessibility guidelines
45-
- [WCAG 1.3.5](https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose)
45+
- [WCAG 1.3.5](https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose)
4646

4747
### Resources
4848
- [axe-core, autocomplete-valid](https://dequeuniversity.com/rules/axe/3.2/autocomplete-valid)

docs/rules/click-events-have-key-events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ This rule takes no arguments.
2525
```
2626

2727
## Accessibility guidelines
28-
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)
28+
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard)

docs/rules/control-has-associated-label.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ This rule takes one optional object argument of type object:
108108
```
109109

110110
## Accessibility guidelines
111-
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships)
112-
- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions)
113-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
111+
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships)
112+
- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions)
113+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)

docs/rules/html-has-lang.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This rule takes no arguments.
2424
```
2525

2626
## Accessibility guidelines
27-
- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG21/Understanding/language-of-page)
27+
- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG22/Understanding/language-of-page)
2828

2929
### Resources
3030
- [axe-core, html-has-lang](https://dequeuniversity.com/rules/axe/3.2/html-has-lang)

docs/rules/iframe-has-title.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ This rule takes no arguments.
3030
```
3131

3232
## Accessibility guidelines
33-
- [WCAG 2.4.1](https://www.w3.org/WAI/WCAG21/Understanding/bypass-blocks)
34-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
33+
- [WCAG 2.4.1](https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks)
34+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
3535

3636
### Resources
3737
- [axe-core, frame-title](https://dequeuniversity.com/rules/axe/3.2/frame-title)

docs/rules/interactive-supports-focus.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ The list of possible values includes:
146146

147147
## Accessibility guidelines
148148

149-
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)
149+
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard)
150150

151151
### Resources
152152

docs/rules/label-has-associated-control.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ function Foo(props) {
143143
```
144144

145145
## Accessibility guidelines
146-
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships)
147-
- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions)
148-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
146+
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships)
147+
- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions)
148+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)

docs/rules/label-has-for.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@ function Foo(props) {
125125

126126
## Accessibility guidelines
127127

128-
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships)
129-
- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions)
130-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
128+
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships)
129+
- [WCAG 3.3.2](https://www.w3.org/WAI/WCAG22/Understanding/labels-or-instructions)
130+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)

docs/rules/lang.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This rule takes no arguments.
2323
```
2424

2525
## Accessibility guidelines
26-
- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG21/Understanding/language-of-page)
26+
- [WCAG 3.1.1](https://www.w3.org/WAI/WCAG22/Understanding/language-of-page)
2727

2828
### Resources
2929
- [axe-core, valid-lang](https://dequeuniversity.com/rules/axe/3.2/valid-lang)

docs/rules/media-has-caption.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ For the `audio`, `video`, and `track` options, these strings determine which JSX
4040
```
4141

4242
## Accessibility guidelines
43-
- [WCAG 1.2.2](https://www.w3.org/WAI/WCAG21/Understanding/captions-prerecorded.html)
44-
- [WCAG 1.2.3](https://www.w3.org/WAI/WCAG21/Understanding/audio-description-or-media-alternative-prerecorded.html)
43+
- [WCAG 1.2.2](https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded)
44+
- [WCAG 1.2.3](https://www.w3.org/WAI/WCAG22/Understanding/audio-description-or-media-alternative-prerecorded)
4545

4646
### Resources
4747
- [axe-core, audio-caption](https://dequeuniversity.com/rules/axe/2.1/audio-caption)

docs/rules/mouse-events-have-key-events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ In example 3 and 4 below, even if otherProps contains onBlur and/or onFocus, thi
5555
```
5656

5757
## Accessibility guidelines
58-
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)
58+
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard)

docs/rules/no-distracting-elements.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For the `elements` option, these strings determine which JSX elements should be
3434
```
3535

3636
## Accessibility guidelines
37-
- [WCAG 2.2.2](https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide)
37+
- [WCAG 2.2.2](https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide)
3838

3939
### Resources
4040
- [axe-core, marquee](https://dequeuniversity.com/rules/axe/3.2/marquee)

docs/rules/no-interactive-element-to-noninteractive-role.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Under the recommended options, the following code is valid. It would be invalid
6161

6262
## Accessibility guidelines
6363

64-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
64+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
6565

6666
### Resources
6767

docs/rules/no-noninteractive-element-interactions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Adjust the list of handler prop names in the handlers array to increase or decre
135135

136136
## Accessibility guidelines
137137

138-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
138+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
139139

140140
### Resources
141141

docs/rules/no-noninteractive-element-to-interactive-role.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Under the recommended options, the following code is valid. It would be invalid
6666

6767
## Accessibility guidelines
6868

69-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
69+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
7070

7171
### Resources
7272

docs/rules/no-noninteractive-tabindex.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The `allowExpressionValues` option determines whether the `role` attribute is al
108108

109109
## Accessibility guidelines
110110

111-
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG21/Understanding/keyboard)
111+
- [WCAG 2.1.1](https://www.w3.org/WAI/WCAG22/Understanding/keyboard)
112112

113113
### Resources
114114

docs/rules/no-onchange.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This rule takes no arguments.
2929
```
3030

3131
## Accessibility guidelines
32-
- [WCAG 3.2.2](https://www.w3.org/WAI/WCAG21/Understanding/on-input)
32+
- [WCAG 3.2.2](https://www.w3.org/WAI/WCAG22/Understanding/on-input)
3333

3434
### Resources
3535
- [onChange Event Accessibility Issues](https://web.archive.org/web/20191207202425/http://cita.disability.uiuc.edu/html-best-practices/auto/onchange.php)

docs/rules/no-static-element-interactions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The `allowExpressionValues` option determines whether the `role` attribute is al
104104

105105
## Accessibility guidelines
106106

107-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
107+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
108108

109109
### Resources
110110

docs/rules/role-has-required-aria-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This rule takes no arguments.
2424
```
2525

2626
## Accessibility guidelines
27-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
27+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
2828

2929
### Resources
3030
- [ARIA Spec, Roles](https://www.w3.org/TR/wai-aria/#roles)

docs/rules/role-supports-aria-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This rule takes no arguments.
3232
```
3333

3434
## Accessibility guidelines
35-
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG21/Understanding/name-role-value)
35+
- [WCAG 4.1.2](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value)
3636

3737
### Resources
3838
- [ARIA Spec, States and Properties](https://www.w3.org/TR/wai-aria/#states_and_properties)

docs/rules/scope.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ This rule takes no arguments.
2323
```
2424

2525
## Accessibility guidelines
26-
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships)
27-
- [WCAG 4.1.1](https://www.w3.org/WAI/WCAG21/Understanding/parsing)
26+
- [WCAG 1.3.1](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships)
27+
- [WCAG 4.1.1](https://www.w3.org/WAI/WCAG22/Understanding/parsing)
2828

2929
### Resources
3030
- [axe-core, scope-attr-valid](https://dequeuniversity.com/rules/axe/3.5/scope-attr-valid)

docs/rules/tabindex-no-positive.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This rule takes no arguments.
2626
```
2727

2828
## Accessibility guidelines
29-
- [WCAG 2.4.3](https://www.w3.org/WAI/WCAG21/Understanding/focus-order)
29+
- [WCAG 2.4.3](https://www.w3.org/WAI/WCAG22/Understanding/focus-order)
3030

3131
### Resources
3232
- [Chrome Audit Rules, AX_FOCUS_03](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_focus_03)

0 commit comments

Comments
 (0)