4.29 For scripts and applets, ensure that event handlers are input device-independent

Some individuals are restricted to the input devices they can use. Some can only use the keyboard or the mouse while others must use other devices such as head pointers and virtual keyboards. Scripts which use device dependent attributes such as “onmousedown”, “onmouseup”, “onclick”, “ondblclick”, “onkeydown”, “onkeyup” and “onkeypress” may not be accessible to some of these individuals. Instead device independent attributes should be used such as “onfocus”, “onblur” and “onselect”. Moreover, it may be possible to use both the mouse and keyboard handlers to achieve the same accessibility.

Guidelines:

Validation Techniques: