Access 9.3.1.6

From Htmlpedia
Jump to: navigation, search

Access: [9.3.1.6]: <script> not keyboard accessible (onMouseMove) (Priority 2)

Cause:

Always include a keyboard equivalent with a device dependent event handler such as a mouse. Avoid using event handlers that rely on mouse coordinates since this precludes device independent input. Scripts that accept keyboard input are generally accessible to those using speech input or a command line interface.

Example:

Bad
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<title>aert1.0/9.3.1</title>
</head>
<body>
<p onMouseMove="blah"></p>
</body>
</html>

Solution:

References: