ARIA attributes must conform to valid values
Log in (Premium content) Request a demo
ARIA attributes (i.e. starting with
aria-) must contain valid values. These values must be spelled correctly and correspond to values that make sense for a particular attribute in order to perform the intended accessibility function.
The Algorithm, in Simple Terms
Why this is Important
If the developer uses an incorrect value for an ARIA attribute, the attribute will not be able to perform the accessibility function intended by the developer.
How to Fix the Problem
Ensure the value inside each attribute is spelled correctly and corresponds to a valid value.
aria-hidden="true" would pass, but
aria-hidden="rtue" would fail, as would
- HTML 4
- HTML 5