Modal Dialog

Tab · Esc · Click backdrop

A dialog opens from a button. Focus is trapped inside while open. Press Esc or click the backdrop to close. Focus returns to the trigger button on close.

Dropdown Menu

↓ arrow · Enter · Esc · Tab

A dropdown with keyboard navigation. Press ↓ to open; use ↑↓ to navigate items, Home/End for first/last, Enter or Space to select, Esc to close. The button gets focus.

Tabs

← → · Enter · Esc

Tabs with `role="tablist"` / `role="tab"` / `role="tabpanel"`. Only the active tab is tabbable. Arrow keys move between tabs. Hidden panels use `hidden` attribute.

Combobox (Autocomplete)

↑ ↓ · Enter · Esc · Type

A text input with autocomplete. Typing filters a list of ~20 options. Use ↑↓ to navigate, Enter to select, Esc to close. The listbox is never focusable — aria-activedescendant manages the highlight.

Tip: Focus the input and start typing to filter. Use ↑↓ to navigate, Enter to select.

Accordion / Disclosure

Enter · Space · Esc

Multiple accordion items can be open simultaneously. Use Enter or Space to toggle. Each accordion has a trigger button with `aria-expanded` and `aria-controls`, and the body animates closed without removing `hidden`.