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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)

0 commit comments

Comments
 (0)