🏷️ ARIA Language
Master vocabulary for ARIA roles, states, properties, and landmark navigation. Intermediate
0 / 5 completed
1 / 5
The component uses role="dialog" and aria-modal="true".
What does the ARIA role attribute communicate?
ARIA role communicates element semantics to assistive technologies. role="dialog" signals a modal dialog to screen readers:
| ARIA role type | Examples |
|---|---|
| Landmark roles | banner, navigation, main, complementary, contentinfo |
| Widget roles | dialog, button, tab, tabpanel, listbox, combobox |
| Document structure roles | article, list, heading, img, presentation |
First rule of ARIA: don't use ARIA if native HTML provides the same semantics — use <button> not <div role="button">. Key vocabulary: "landmark role", "widget role", "aria-modal", "focus trapping in dialogs".