Skip to content

Commit 348f216

Browse files
authored
Editorial corrections to role-attribute-valid-value (#2130)
1 parent 09d15b6 commit 348f216

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_rules/role-attribute-valid-value-674b10.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Each test target has at least one token which is a valid value corresponding to
4242

4343
## Assumptions
4444

45-
This rule assumes that using the `role` attribute for any purpose other than to provide an ARIA [semantic role][] to the elements is invalid. These would fail [WCAG Technique: ARIA4 Using a WAI-ARIA role to expose the role of a user interface component](https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA4).
45+
There are no assumptions.
4646

4747
## Accessibility Support
4848

@@ -54,7 +54,7 @@ Using an invalid role is often the result of a typo or other developer error. Un
5454

5555
The `role` attribute is a set of [space separated tokens][]. Having a [whitespace](#whitespace) separated list of more than one token in the value of the role attribute is used for what is known as _fallback roles_. If the first token is not accessibility supported (or valid), the next one will be used for determining the [semantic role][] of the element, and so forth. The rule applies to attributes containing at least one non-[ASCII whitespace][] character so that there is at least one token in the set.
5656

57-
Not every role should be used on every element. Which ARIA roles may be used on which HTML elements is defined in [ARIA in HTML](https://www.w3.org/TR/html-aria/). Testing this is not part of this rule.
57+
Not every role can be used on every element. Which ARIA roles may be used on which HTML elements is defined in [ARIA in HTML](https://www.w3.org/TR/html-aria/). Testing this is not part of this rule.
5858

5959
### Bibliography
6060

0 commit comments

Comments
 (0)