Use of pointing-device-specific only event handlers [F54]

Test info

Test for Success Criterion 2.1.1

About

Checked Elements: all

Using only pointing-device-specific event handlers for a function

Short Description

If an element has attributes among: "onclick", "ondblclick", "onmousedown", "onmousemove", "onmouseover", "onmouseout", "onmouseup" <br> then the element should have one of attributes among "onkeypress", "onkeyup", "onkeydown", "onfocus", "onblur". <br> Otherwise the test would fail.

All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints. (Level A)
Note 1: This exception relates to the underlying function, not the input technique. For example, if using handwriting to enter text, the input technique (handwriting) requires path-dependent input but the underlying function (text input) does not.
Note 2: This does not forbid and should not discourage providing mouse input or other input methods in addition to keyboard operation. Understanding: Success Criterion 2.1.1