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)
ondblclick event handlers have corresponding keyboard-specific functions.
script may not be keyboard accessible - ondblclick requires keyboard specific functions.
ondblclick attribute will generate this error.
| Question | Does this document contain keyboard specific functions that correspond to the ondblclick event handler? |
|---|---|
| PASS | Document contains keyboard specific functions that correspond to the ondblclick event handler. |
| FAIL | Document does not contain keyboard specific functions that correspond to the ondblclick event handler. |
ondblclick attribute.ondblclick event handlers have corresponding keyboard-specific functions.ondblclick attribute or add keyboard specific functions that perform the same action.ondblclick 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 #103 - Negative</title> </head> <body> <INPUT name="num" value="0"> </body> </html>
ondblclick 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 #103 - Positive</title> </head> <body> <INPUT name="num" ondblclick="bar" value="0"> </body> </html>