From eaec3bfbf08c432b9ce5b22a7ed69a33f6c46751 Mon Sep 17 00:00:00 2001 From: Kim Patch Date: Thu, 21 Jun 2018 13:43:00 -0400 Subject: [PATCH] Update failure-unmodifiable-single-key-shortcut.html Added test --- .../general/failure-unmodifiable-single-key-shortcut.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/techniques/general/failure-unmodifiable-single-key-shortcut.html b/techniques/general/failure-unmodifiable-single-key-shortcut.html index 1907584d..47719a09 100644 --- a/techniques/general/failure-unmodifiable-single-key-shortcut.html +++ b/techniques/general/failure-unmodifiable-single-key-shortcut.html @@ -26,7 +26,7 @@

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.

+

A program enables the single-character shortcut “s” To allow the user, whenever the focus is not in a text field, to 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

@@ -36,13 +36,14 @@

Tests

Procedure

    -
  1. Step 1
  2. +
  3. There is no mechanism available to disable or remap character key only shortcuts
  4. +
  5. Pressing a character-only shortcut while the focus is on the page rather than within a form field or on an element invokes an action.

Expected Results