Element

script

Error Type

Potential

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup7.1 Until user agents allow users to control flickering, avoid causing the screen to flicker.
  • Section 508
    Guideline GroupJ - avoid flicker
  • Stanca Act
    Guideline GroupRequirement 5: Flicker
  • WCAG 1.0 (Level A)
    Guideline GroupPriority 1
    Guideline Subgroup7.1 Until user agents allow users to control flickering, avoid causing the screen to flicker.
  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 1
    Guideline Subgroup7.1 Until user agents allow users to control flickering, avoid causing the screen to flicker.
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 1
    Guideline Subgroup7.1 Until user agents allow users to control flickering, avoid causing the screen to flicker.
  • WCAG 2.0 (Level A)
    Guideline Group2.3 Seizures: Do not design content in a way that is known to cause seizures.
    Guideline SubgroupSuccess Criteria 2.3.1 Three Flashes or Below Threshold (A)
  • WCAG 2.0 (Level AA)
    Guideline Group2.3 Seizures: Do not design content in a way that is known to cause seizures.
    Guideline SubgroupSuccess Criteria 2.3.1 Three Flashes or Below Threshold (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group2.3 Seizures: Do not design content in a way that is known to cause seizures.
    Guideline SubgroupSuccess Criteria 2.3.1 Three Flashes or Below Threshold (A)

Requirement

script should not cause screen flicker.

Error

script may cause screen flicker.

Short Description

This error will be generated for all script elements.

How To Determine

Question Does this script cause screen flicker?
PASS script does not cause screen flicker.
FAIL script causes screen flicker.

Steps To Check

Procedure

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

Expected Result

1. The script should not cause the screen to flicker.

Failed Result

1. Remove the script or modify it so the screen does not flicker.

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