Exercise 2.3 - Character Key Shortcuts

A developer created a keyboard shortcut for opening a search popup. By pressing the key s when there are no elements focused, the popup is enabled. By doing so they violated Success Criterion 2.1.4 because a user who uses assistive technologies may require this key to operate the website.

This violation can occur when a shortcut is using only letters and no modifier keys. Shift alone is also not acceptable. Generally the acceptable solutions are:

  • to allow the user to change the shortcut to a different one
  • to use a shortcut that requires modifier keys e.g. Alt + S

Hint: When testing for this violation make sure that no input is focused!


Requirements

Pending requirement:

Change the shortcut key combination to Alt + S.


Exercise 2.3 - Character Key Shortcuts

A developer created a keyboard shortcut for opening a search popup. By pressing the key s when there are no elements focused, the popup is enabled. By doing so they violated Success Criterion 2.1.4 because a user who uses assistive technologies may require this key to operate the website.

This violation can occur when a shortcut is using only letters and no modifier keys. Shift alone is also not acceptable. Generally the acceptable solutions are:

  • to allow the user to change the shortcut to a different one
  • to use a shortcut that requires modifier keys e.g. Alt + S

Hint: When testing for this violation make sure that no input is focused!


Requirements

Pending requirement:

Change the shortcut key combination to Alt + S.




Editor



Preview Page