Single key shortcuts can be turned off or remapped
Ensure that keyboard shortcuts using only letters, numbers, or symbols can be either turned off, remapped, or are only active when the relevant component is focused.
Acceptance Criteria
• Turn Off: Provide a mechanism to disable the shortcut.
• Remap: Allow remapping the shortcut to include non-printable keys (e.g., Ctrl, Alt).
• Active on Focus: Ensure shortcuts are active only when the relevant component has focus.
Examples
• A text editor allows users to disable or change the keyboard shortcut for “Save” from a single key to a combination like Ctrl+S.
• A shortcut for navigating a menu only works when the menu is focused.
Exceptions
Tips
• Implement options in settings or preferences to manage keyboard shortcuts.
• Clearly document how users can adjust or disable shortcuts.
How to test?
1. Test Shortcut Management: Attempt to turn off, remap, or change shortcuts.
2. Focus Behavior: Ensure shortcuts only function when the relevant component is in focus.
3. Accidental Activation: Verify that shortcuts are not triggered accidentally and are easy to manage.