Access 6.3.1.1

From Htmlpedia
Jump to: navigation, search

Access: [6.3.1.1]: programmatic objects require testing (script) (Priority 1)

Cause:

Verify content remain accessible when programmatic objects are disabled or not supported. If a script is used to generate content, provide a text equivalent by including a <noscript> section in the document. Another option is to use server-side rather than client-side scripts. As a last resort, create a text-based alternative for the entire document.

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/6.3.1</title>
</head>
<body>

<script><!-- the script --></script>

</body>
</html>

Solution:

References: