 Level 1
Level 1 6.4 For scripts and applets, ensure that event handlers are input device-independent.
6.4 For scripts and applets, ensure that event handlers are input device-independent.
		 Requirement 16: Script/Object Accessible
Requirement 16: Script/Object Accessible Priority 2
Priority 2 6.4 For scripts and applets, ensure that event handlers are input device-independent.
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.
2.1 Keyboard Accessible: Make all functionality available from a keyboard. Success Criteria 2.1.1 Keyboard (A)
Success Criteria 2.1.1 Keyboard (A)
		 2.1 Keyboard Accessible: Make all functionality available from a keyboard.
2.1 Keyboard Accessible: Make all functionality available from a keyboard. Success Criteria 2.1.1 Keyboard (A)
Success Criteria 2.1.1 Keyboard (A)
		 2.1 Keyboard Accessible: Make all functionality available from a keyboard.
2.1 Keyboard Accessible: Make all functionality available from a keyboard. Success Criteria 2.1.1 Keyboard (A)
Success Criteria 2.1.1 Keyboard (A)
		onmousedown event handlers have an associated onkeydown event handler.
onmousedown event missing onkeydown event.
onmousedown attribute must also contain an onkeydown attribute.
onkeydown handler to your script that performs the same function as the onmousedown function.
onmousedown attribute.onmousedown attribute then check if it also contains an onkeydown attribute.onmousedown event handlers have an associated onkeydown event handler.onkeydown attribute to the element.onmousedown attribute and an onkeydown 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 #104.2 - Negative</title> </head> <body> <input name="num" onmousedown="foo" onkeydown="bar" value="0"/> </body> </html>
onmousedown attribute without an onkeydown 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 #104.1 - Positive</title> </head> <body> <input name="num" onmousedown="foo" value="0"/> </body> </html>