Accessible Name Calculation
- W3C Accessible Name and Description Computation Specification
- In general only one technique should be used to define an accessible name, if more than on technique is used the following priortiy is used for the calculation.
Accessible Name Techniques
Priority | Technique | Description |
---|---|---|
1 | aria-labelledby |
|
2 | aria-label |
|
3 | Encapsulation using the label elementNew in ARIA 1.2 |
|
4 | The legend element for grouping rolesNew in ARIA 1.2 |
Allows the use of the HTML legend element to define the accessible name for the group and gradiogroup roles.
|
5 | text content |
|
6 | title |
|