Any ARIA attributes starting with aria- must have valid names. Using attributes that are misspelled or do not exist will result in an invalid attribute and failure to comply with this rule.
When a non-existent or incorrectly spelled ARIA attribute is used, it won’t be able to fulfill the necessary accessibility function.
This means that assistive technology won’t be able to relay important information to users with disabilities and UI elements won’t work as intended.
Developers need to check for the presence of unrecognized ARIA attributes, ensure they are spelled correctly, and that they correspond to valid ARIA attribute meanings.
For example, aria-hidden=”true” would pass, while aria-visible=”rute” would fail.
To ensure you are using recognized attribute names and that they are spelled correctly, refer to the following sections for complete details of each ARIA attribute:
For more examples, visit W3C’s GitHub’s ATC Rules library.