Certain ARIA roles must be contained by particular parents

Log in (Premium content) Request a demo

Rule Description

Certain ARIA roles must be contained by particular parent roles in order to perform the intended accessibility functions.

The Algorithm, in Simple Terms

Checks all elements that contain a WAI-ARIA role to ensure that all required parent roles are present

Why this is Important

For each role, WAI-ARIA explicitly defines which child and parent roles are allowable and/or required. ARIA roles missing required parent roles will not be able to perform the accessibility functions intended by the developer.

How to Fix the Problem

Ensure all ARIA roles are contained by their required parent element, if any.

Compliance Data & User Impact

User Impact: Critical
Disabilities Affected:
  • Blindness
  • Deafblindness
  • Mobility/Dexterity
Issue Type:
  • WCAG 2.0 (A): MUST
  • WCAG 2.1 (A): MUST
WCAG Success Criteria:
  • 1.3.1 Info and Relationships
Section 508 Guidelines:
  • Not applicable

Related Deque University Course Pages

Other Related Resources

Additional Information

Relevant Technologies:
  • HTML 4
  • HTML5
  • ARIA
  • JavaScript
Relevant Custom Widget Type(s):
  • Live Region (ARIA)
Test Reliability: Automated testing is possible, with high accuracy
Rule ID: aria-required-parent