Element

script

Error Type

Likely

Guidelines

Requirement

Content must be readable when stylesheets are not applied (SCRIPT).

Error

Content possibly not readable when stylesheets are removed (SCRIPT).

Short Description

This error is generated for each SCRIPT element.

How To Determine

Question Is this page readable when stylesheets are removed?
PASS Page is readable when stylesheets are removed.
FAIL Page is not readable when stylesheets are removed.

Steps To Check

Procedure

1. Remove or disable each SCRIPT element.
2. Check if the content is still readable.

Expected Result

1. The content must be readable when SCRIPTs are not applied.

Failed Result

1. Modify the content so it is readable when SCRIPTs are not applied.

Examples

Pass Examples

Does not contain a SCRIPT element.
<!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 #94 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

Contains a SCRIPT element.
<!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 #94 - Positive</title>
</head>
<body>
<script/>
<noscript>Alternate content for script</noscript>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute