Access 8.1.1.1

From Htmlpedia
Jump to: navigation, search

Access: [8.1.1.1]: ensure programmatic objects are accessible (script) (Priority 1)

Cause:

Ensure pages are functional when programmatic objects such as scripts are disabled or not supported. Make scripts directly accessible or compatible with assistive technologies when functionality is important. Include a <noscript> section in the document and specify logical rather than device-dependent event handlers. As a last resort, provide equivalent content on an alternative page.

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/8.1.1</title>
</head>
<body>
<script><!-- this is the script --></script>
</body>
</html>

Solution:

References: