DEV 2.3 Use JavaScript wisely
Compare with WAI & NDA checkpoints
NDA checkpoints: 1.8, 1.16, 1.15, 1.1 (P1) / 2.20, 2.4, 2.21, 2.18, 2.19 (P2)
NDA checkpoints: 1.8, 1.16, 1.15, 1.1 (P1) / 2.20, 2.4, 2.21, 2.18, 2.19 (P2)
Examples


..OnClick="f1()" OnKeypress="f1()"...
...OnMousedown="f2()" OnKeydown="f2()"..
..OnMouseup="f3()" Onkeyup="f3()"...
Device independent event handlers
OnFocus, OnBlur, OnSelect would be the preferred way to detect events. Unfortunately, current browser support is patchy at best.
