Ensures Attributes That Begin with aria- Are Valid ARIA Attributes

Photo of Researcher
Yotam Flohr
Researcher
Blind Low vision Hearing Mobility
WCAG 2.1 Level A

Written and researched for humans by humans

Photo of Researcher
Yotam Flohr
Researcher
Photo of Expert
Ritvik Shrivastava
Expertly reviewed by
Comments: 0
Your entire domain
Get detailed instructions on how to resolve every accessibility issue on your website

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.

Why It Matters

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. 

Fixing the Issue

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:

Test Cases

For more examples, visit W3C’s GitHub’s ATC Rules library