Elements must only use allowed ARIA attributes
Log in (Premium content) Request a demo
Not all ARIA role-attribute combinations are valid. This Rule checks that each role is supplied with allowed attributes.
The Algorithm, in Simple Terms
Checks that each element with an ARIA role uses only ARIA attributes allowed for that role.
Why this is Important
Using ARIA attributes in roles where they are not allowed can interfere with the accessibility of the web page. Using an invalid role-attribute combination will, at best, result in no effect on the accessibility of the application and, at worst, may trigger behavior that disables accessibility for entire portions of an application.
How to Fix the Problem
WAI-ARIA explicitly defines which attributes are allowed for any given role and for every attribute, where that attribute may be used. The detailed information on each attribute can be found by looking at the documentation for each role and/or each attribute.
- HTML 4