Keyboard Shortcuts
Keyboard shortcuts provide efficient key combinations for frequent commands while preserving visible controls and avoiding conflicts with platform or assistive-technology behavior.
Download Markdown (.md)Soroush’s Product Wiki · https://wiki.soroush.uk/topic/keyboard-shortcuts/
01What it means
A keyboard shortcut maps a key or combination of keys to an existing command or destination. Shortcuts are accelerators, not replacements for discoverable interface controls. They include conventional system commands, product-specific combinations, and single-character shortcuts that require particular care because typing or speech input can trigger them accidentally.[1][2]
02Why it matters
Shortcuts reduce repeated navigation for expert and high-frequency workflows and can improve efficiency for keyboard users. Poor assignments create accidental activation, conflict with browsers or assistive technology, and force people to memorize an undocumented command language.
03When to use it
Provide shortcuts for frequent, stable commands in command-rich products and preserve established platform conventions such as copy, save, and undo. Avoid assigning shortcuts to rare actions, do not override reserved combinations, and let users disable or remap character-only shortcuts when they can activate on focus.
04How it works
- Prioritize a small set of frequent commands that already have visible and operable controls.
- Reuse platform conventions and check conflicts across browsers, operating systems, locales, and assistive technology.
- Display shortcuts in menus, command palettes, help, or control labels where people encounter the command.
- Provide remapping or disabling when conflicts are plausible, especially for single-character shortcuts.
- Test different keyboard layouts, focus contexts, text entry, screen readers, voice input, and repeated key presses.
05A practical example
A design editor supports conventional Undo and Redo shortcuts plus a documented shortcut for opening its command palette. The palette shows each assignment beside its command, users can remap product-specific combinations, and single-letter canvas tools are suspended while focus is in a text field.
06Where it breaks
Shortcuts are hard to discover and remember, physical key positions and characters vary by layout, and global combinations can be unavailable to web applications. More shortcuts can reduce consistency and increase support cost rather than improving efficiency.
Common mistakes
- Making a shortcut the only way to reach a command.
- Overriding familiar system, browser, or assistive-technology combinations.
- Allowing character shortcuts to fire while users type into fields.
- Publishing many undocumented or inconsistent assignments with no remapping strategy.
07Sources
- KeyboardsApple · Institutional guidelineKeyboards
- Understanding Success Criterion 2.1.4: Character Key ShortcutsW3C Web Accessibility Initiative · Accessibility guidanceUnderstanding Success Criterion 2.1.4: Character Key Shortcuts