Skip to content

Commit 5e82b09

Browse files
authored
Merge branch 'master' into fix-lang-rule
2 parents 42a2016 + a910d83 commit 5e82b09

5 files changed

+5
-4
lines changed

__tests__/src/rules/label-has-associated-control-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const htmlForValid = [
3030
{ code: '<label htmlFor="js_id"><span><span><span>A label</span></span></span></label>', options: [{ depth: 4 }] },
3131
{ code: '<label htmlFor="js_id" aria-label="A label" />' },
3232
{ code: '<label htmlFor="js_id" aria-labelledby="A label" />' },
33+
{ code: '<div><label htmlFor="js_id">A label</label><input id="js_id" /></div>' },
3334
// Custom label component.
3435
{ code: '<CustomLabel htmlFor="js_id" aria-label="A label" />', options: [{ labelComponents: ['CustomLabel'] }] },
3536
{ code: '<CustomLabel htmlFor="js_id" label="A label" />', options: [{ labelAttributes: ['label'], labelComponents: ['CustomLabel'] }] },

docs/rules/aria-activedescendant-has-tabindex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# aria-activedescendant-has-tabindex
22

3-
`aria-activedescendant` is used to manage focus within a [composite widget](https://www.w3.org/TR/wai-aria/roles#composite_header).
3+
`aria-activedescendant` is used to manage focus within a [composite widget](https://www.w3.org/TR/wai-aria/#composite).
44
The element with the attribute `aria-activedescendant` retains the active document
55
focus; it indicates which of its child elements has secondary focus by assigning
66
the ID of that element to the value of `aria-activedescendant`. This pattern is

docs/rules/aria-proptypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ARIA state and property values must be valid.
44

55
#### References
6-
1. [Spec](https://www.w3.org/TR/wai-aria/states_and_properties)
6+
1. [Spec](https://www.w3.org/TR/wai-aria/#states_and_properties)
77
2. [AX_ARIA_04](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_04)
88

99
## Rule details

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Elements with ARIA roles must have all required attributes for that role.
44

55
#### References
6-
1. [Spec](https://www.w3.org/TR/wai-aria/roles)
6+
1. [Spec](https://www.w3.org/TR/wai-aria/#roles)
77
2. [AX_ARIA_03](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_03)
88

99
## Rule details

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Enforce that elements with explicit or implicit roles defined contain only `aria
44

55
#### References
66
1. [AX_ARIA_10](https://github.com/GoogleChrome/accessibility-developer-tools/wiki/Audit-Rules#ax_aria_10)
7-
2. [Supported States & Properties](https://www.w3.org/TR/wai-aria/roles#supportedState)
7+
2. [Supported States & Properties](https://www.w3.org/TR/wai-aria/#states_and_properties)
88

99
## Rule details
1010

0 commit comments

Comments
 (0)