Element

script

Error Type

Potential

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup2.1 Ensure that all information conveyed with color is also available without color, for example from context or markup.
  • Section 508
    Guideline GroupC - color also available without color
  • Stanca Act
    Guideline GroupRequirement 4: Color Specific
  • WCAG 1.0 (Level A)
    Guideline GroupPriority 1
    Guideline Subgroup2.1 Ensure that all information conveyed with color is also available without color, for example from context or markup.
  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 1
    Guideline Subgroup2.1 Ensure that all information conveyed with color is also available without color, for example from context or markup.
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 1
    Guideline Subgroup2.1 Ensure that all information conveyed with color is also available without color, for example from context or markup.
  • WCAG 2.0 (Level A)
    Guideline Group1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
    Guideline SubgroupSuccess Criteria 1.4.1 Use of Color (A)
  • WCAG 2.0 (Level AA)
    Guideline Group1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
    Guideline SubgroupSuccess Criteria 1.4.1 Use of Color (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.
    Guideline SubgroupSuccess Criteria 1.4.1 Use of Colour (A)

Requirement

Color alone should not be used in the script.

Error

script may use color alone.

Short Description

This error will be generated for all script elements.

How To Determine

Question Does this script use color alone?
PASS script does not use color alone.
FAIL script uses color alone.

Steps To Check

Procedure

1. View the operation of each SCRIPT in the document.

Expected Result

1. The script should not use color alone.

Failed Result

1. Remove the script or modify it so it does not use color alone.

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 #86 - 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 #86 - Positive</title>
</head>
<body>
<script/>
<noscript>Alternate content for script</noscript>
</body>
</html>

English | German | Italiano


Web site engine's code is copyright © 2011
Inclusive Design Institute
Web Service API