Skip to content

Commit

Permalink
Update all WCAG URLs to the equivalent 2.2 location
Browse files Browse the repository at this point in the history
Fixes #1015
Ensure all URLs are consistent (without trailing HTML) as this is the canonical URL
  • Loading branch information
LB committed Oct 18, 2024
1 parent 4925ba8 commit 198ea61
Show file tree
Hide file tree
Showing 30 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion docs/rules/accessible-emoji.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
2 changes: 1 addition & 1 deletion docs/rules/alt-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/rules/anchor-has-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ return (
<a><TextWrapper aria-hidden /></a>
```
## 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)
2 changes: 1 addition & 1 deletion docs/rules/anchor-is-valid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aria-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/rules/aria-proptypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aria-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/aria-unsupported-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/autocomplete-valid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/click-events-have-key-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 3 additions & 3 deletions docs/rules/control-has-associated-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/rules/html-has-lang.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/iframe-has-title.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/rules/interactive-supports-focus.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/rules/label-has-associated-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 3 additions & 3 deletions docs/rules/label-has-for.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/rules/lang.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/media-has-caption.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/mouse-events-have-key-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/rules/no-distracting-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-noninteractive-element-interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-noninteractive-tabindex.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-onchange.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-static-element-interactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/role-has-required-aria-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/role-supports-aria-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion docs/rules/tabindex-no-positive.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 198ea61

Please sign in to comment.