ARIA Role Check

RuleSets of AccessMonitor - the validator of web accessibility practices

ARIA Role Check

Description

The “ARIA Role Check” evaluates whether all elements using ARIA roles are placed in the correct semantic context.

Example outcome

I noticed that all elements with an explicit semantic role exist inside their required contexts.

Impact

Fixes

To address inapropriate or missing ARIA roles:

  1. Identify the element with the inapropriate or missing ARIA role.
  2. Check the ARIA specification for valid parent or ancestor roles required by that role (e.g., a menuitem must be inside a menu, menubar, or group).
  3. Correct the hierarchy by placing the role-bearing element within the required context.

Resources