Skip to main content
RAWEBA

7.3 Is each script accessible and operable by keyboard and any pointing device (excluding special cases)?

WCAG references
  • 1.3.1 Info and Relationships (A)
  • 2.1.1 Keyboard (A)
  • 2.4.7 Focus Visible (AA)
Techniques
  • F42
  • F54
  • F55
  • G90
  • G202
  • SCR2
  • SCR20
  • SCR29
  • SCR35

Official methodology to test criterion 7.3

Test 1 (7.3.1)

  1. Find in the document all the elements on which a JavaScript event handler is implemented (for example click, focus, mouseover, blur, keydown, touch, etc.).
  2. Check that the element can be accessed using the keyboard:
    • It can be reached with the tab key.
    • If the element manages a simple action, it can be activated using the keyboard with the default keys in the user agents (e.g. <kbd>Enter</kbd>, <kbd>Space</kbd>).
    • If the element handles a complex action, it can be accessed from the keyboard (generally using the arrow keys).
  3. If not, check that the page contains an element that can be accessed from the keyboard to perform the same action.
  4. Check that the element can be accessed using any pointing device (mouse, touch, stylus, etc.).
  5. If not, check that the page contains an element that can be accessed using a pointing device and that performs the same action.
  6. If this is the case, the test is validated.

Test 2 (7.3.2)

  1. Activate, one after the other, all elements capable of receiving the focus.
  2. Check that the focus is not removed via a JavaScript function.
  3. If so, the test is validated.