Failure due to using an unmodifiable single-key shortcut

Metadata

general

failure

When to Use

Use with any technology that enables shortcuts consisting only of one or more character keys.

Description

Describe how the technique works. This begins with a description of the problem the technique solves, then describes how to apply the technique. The description should be detailed enough to provide all the information a reader needs to be able to apply the technique, without recourse to following example code.

The objective of this technique is to ensure that character-key shortcuts, which are useful for some users but cause trouble for others, can be disabled or remapped by users who find them troublesome. These users include speech input users and some mobile users. There should be a clear way, such as a dialog box, for users to see where single-key shortcuts shortcuts are mapped and disable or remap them. Choices Of keys for remapping should include, but don’t have to be limited to, modifier keys. A best practice is including the ability to map up to 25 character keys as a shortcut. This allows a speech input user to add a spoken shortcut that would work in any speech program.

Examples

Copy the following section for each example. Examples must have a title and a description, and usually have a code sample. Code samples should be elided if necessary to show the core of the technique without necessarily providing all the surrounding code that would also be involved. A working example link references a location where the technique can be shown working live.

No Off for Search Shortcut

A program enables the single-character shortcut “s” To allow the user, whenever the focus is not in a text field, jo jump the focus to the search box. There is no mechanism for the user to disable or remap this shortcut. Whenever the user accidentally hits the “s” key, she loses her place because the focus jumps to the search box at the top of the page.

Code sample

Working example: link

Tests

Procedure

  1. Step 1

Expected Results