| Title | Inappropriate Role Value Check |
|---|---|
| id | role_02 |
| type | decr |
| elem | all |
| test | roleValidNot |
| score | 3 |
| level | AA |
| trust | 1 |
| top | 1 |
| steps | 1 |
| ref | 674b10 |
| scs | 1.3.4 |
| dis | 43353 |
| result | failed |
The "Inappropriate Role Value Check" evaluates whether there is any invalid role attribute value on HTML elements.
I located 1 role attribute with invalid values.
- Visual Impairments: Elements with invalid roles are ignored or misidentified, affecting context or navigation.
- Motor Impairments: Missed landmarks (e.g.,
main,navigation) break expected keyboard shortcuts. - Cognitive Disabilities: Misleading or missing roles reduce clarity of structure and purpose.
To address role attributes with invalid values:
- Locate the element where the
roleattribute has an invalid value. - Replace its value with a valid one that suits its purpose, according to WAI-ARIA's specification.