ARIA roles used must conform to valid values

Log in (Premium content) Request a demo

Rule Description

Values assigned to ARIA roles (role="") must be valid. This means values must be spelled correctly, must correspond to existing ARIA role values, and must not be abstract roles in order to correctly expose the purpose of the element.

The Algorithm, in Simple Terms

Checks all elements that contain the WAI-ARIA role attribute to ensure that the role value is valid

Why this is Important

If an ARIA role is assigned an invalid value, the role will not be able to perform the accessibility function intended by the developer.

How to Fix the Problem

Ensure all values assigned to role="" correspond to valid ARIA roles.

Compliance Data & User Impact

User Impact: Serious
Disabilities Affected:
  • Blindness
  • Deafblindness
  • Mobility/Dexterity
Issue Type:
  • WCAG 2.0 (A): MUST
WCAG Success Criteria:
  • 4.1.1 Parsing
  • 1.3.1 Info and Relationships
  • 4.1.2 Name, Role, Value
Section 508 Guidelines:
  • Not applicable

Related Deque University Course Pages

Related Deque Code Library Examples

Other Related Resources

Additional Information

Relevant Technologies:
  • HTML 4
  • HTML 5
  • ARIA
Test Reliability: Automated testing is possible, with high accuracy
Rule ID: aria-roles