Skip to main content
Dev Note

ARIA Cheatsheet

Published by Joshua Briley on January 7, 2026

ARIA (Accessible Rich Internet Applications) is a set of HTML attributes that give assistive technology (AT) extra context about your UI. You add them to your markup to help users with disabilities better understand and navigate your app.

This cheatsheet isn't a comprehensive specification. It's a quick reminder of the things you'll reach for regularly: which roles go where, which attributes to add, how users navigate with a keyboard, and what happens when elements are toggled, selected, or activated.

When this page doesn't cover what you need, the WAI-ARIA Authoring Practices Guide has the complete official specification.

WAI-ARIA Patterns and Practices Cheatsheet

PatternRequired RolesARIA AttributesKeyboard BehaviorActive State Behavior
Accordionbutton, regionaria-expanded, aria-controls, aria-labelledbyTab to focus, Enter/Space to toggle, optional Up/Down to navigate headingsaria-expanded="true" when open
AlertalertNone (must be dynamically injected)None (announced immediately by screen readers)Injection triggers assistive technology announcement
Breadcrumbsnavigationaria-label or aria-labelledby, aria-current="page" on current linkTab to move between breadcrumb linksaria-current="page" marks the active crumb
ButtonbuttonOptional aria-pressed (for toggle)Tab to focus, Enter/Space to activatearia-pressed="true" for toggled buttons
Carouselregion, group, buttonaria-roledescription, aria-label, aria-controls, aria-hiddenLeft/Right to navigate slides, Tab through controlsCurrent slide uses aria-hidden="false"
Disclosurebuttonaria-expanded, aria-controlsEnter/Space to togglearia-expanded="true" when content shown
Gridgrid, row, columnheader, cellaria-colindex, aria-rowindex, aria-selectedArrow keys to move, Shift + Arrow for multiselectaria-selected="true" on selected cells
Landmarksbanner, main, nav, etc.aria-label / aria-labelledby (if multiple of same role)Landmarks can be jumped to with assistive techNot applicable
LinklinkOptional aria-current="page"Tab to focus, Enter to follow linkaria-current identifies current page
Listboxlistbox, optionaria-selected, aria-activedescendant, aria-multiselectableUp/Down to navigate, Enter/Space to select, Home/End jumpSelected option has aria-selected="true"
Modaldialog or alertdialogaria-modal, aria-labelledby, aria-describedbyTab trapped within, Escape closesFocus must remain inside, aria-modal="true"
Switchswitch or checkboxaria-checked="true/false"Space to togglearia-checked reflects state
Tabstablist, tab, tabpanelaria-selected, aria-controls, aria-labelledbyLeft/Right to switch tabs, Tab to enter tabpanelActive tab uses aria-selected="true"; active panel shown
Toolbartoolbararia-label, aria-orientationTab to enter, Arrow keys to move between itemsToolbar buttons may use aria-pressed if toggleable
Tooltiptooltiparia-describedby on target pointing to tooltipShown on hover or focusTooltip content shown, referenced from target