Level 1
6.4 For scripts and applets, ensure that event handlers are input device-independent.
Requirement 16: Script/Object Accessible
Priority 2
6.4 For scripts and applets, ensure that event handlers are input device-independent.
2.1 Keyboard Accessible: Make all functionality available from a keyboard.
Success Criteria 2.1.1 Keyboard (A)
2.1 Keyboard Accessible: Make all functionality available from a keyboard.
Success Criteria 2.1.1 Keyboard (A)
2.1 Keyboard Accessible: Make all functionality available from a keyboard.
Success Criteria 2.1.1 Keyboard (A)
onmousemove event handlers have corresponding keyboard-specific functions.
script may not be keyboard accessible - onmousemove requires keyboard specific functions.
onmousemove attribute will generate this error.
| Question | Does this document contain keyboard specific functions that correspond to the onmousemove event handler? |
|---|---|
| PASS | Document contains keyboard specific functions that correspond to the onmousemove event handler. |
| FAIL | Document does not contain keyboard specific functions that correspond to the onmousemove event handler. |
onmousemove attribute.onmousemove event handlers have corresponding keyboard-specific functions.onmousemove attribute or add keyboard specific functions that perform the same action.onmousemove attribute with keyboard equivalents.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> <html lang="en"> <head> <title>OAC Testfile - Check #105 - Negative</title> </head> <body> <INPUT name="num" value="0"> </body> </html>
onmousemove attribute without keyboard equivalents.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> <html lang="en"> <head> <title>OAC Testfile - Check #105 - Positive</title> </head> <body> <INPUT name="num" onmousemove="bar" value="0"> </body> </html>