ARIA Role Reference

Search any WAI-ARIA role to see its required properties, allowed attributes, permitted HTML elements, and a code example.

Select a role from the list to see its details.

Summary

Search any WAI-ARIA role to see its required properties, allowed attributes, permitted HTML elements, and a code example.

How it works

  1. Type a role name or keyword into the search box to filter the role list.
  2. Click any role card to expand its full detail panel.
  3. Review required properties that must be present for the role to be valid.
  4. Check supported attributes for optional states you can set.
  5. Copy the provided code snippet directly into your HTML or component.

Use cases

  • Look up which aria-* attributes are required for a custom combobox.
  • Verify permitted HTML host elements before choosing a role.
  • Find the correct role for a custom UI widget (slider, tree, grid, etc.).
  • Review abstract roles to understand the ARIA inheritance hierarchy.
  • Share a quick reference link with teammates reviewing a PR.
  • Double-check role constraints while writing accessibility tests.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu