Keyboard interaction

KeyAction
⌘K or Ctrl+KOpen or close the palette.
Down and up arrowsMove through the commands, around the ends.
Page Down and Page UpMove ten commands.
EnterRun the active command, or open its page.
EscapeGo back a page; at the top, close the palette.
BackspaceIn an empty field on a page, go back.

Accessibility notes

  • It is a native modal <dialog>: the page behind is inert, focus stays inside, and closing returns focus where it was.
  • The search field is a combobox that points at the active command with aria-activedescendant. On a page, it takes the page’s name.
  • Shortcut keys are text in each option, so screen readers read them. The key hints at the bottom are hidden from assistive technology.
  • Shortcuts without Ctrl, Alt or ⌘ don’t run while you type in a field.