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)
onmouseover event handlers have an associated onfocus event handler.
onmouseover event handler missing onfocus event handler.
onmouseover attribute must also contain an onfocus attribute.
onfocus handler to your script that performs the same function as the onmouseover handler.
onmouseover attribute.onmouseover attribute then check if it also contains a valid onfocus attribute.onmouseover event handlers have an associated onfocus event handler.onfocus attribute to the element.onmouseover attribute and an onfocus attribute.
<!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 #107 - Negative</title> </head> <body> <INPUT name="num" onmouseover="foo" onfocus="bar" value="0"> </body> </html>
onmouseover attribute without an onfocus attribute.
<!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 #107 - Positive</title> </head> <body> <INPUT name="num" onmouseover="foo" value="0"> </body> </html>