Skip to content
Design System
GitHub

Command

v0.23.0

Search and run from the keyboard: a filterable list, and the ⌘K palette that opens over any page.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • combobox
  • dialog
  • group
  • heading
  • listbox
  • option
  • Follows the WAI-ARIA patterns Combobox, Dialog (modal) and Listbox.
  • Announces changes through a live region, so a screen reader reads an update without focus moving to it.

Keyboard

KeysAction
⌘KCtrl+KOpen or close the palette
↑↓Move between results
EnterRun the highlighted result
EscClose and return focus

Colour contrast

Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.