Element

meta

Error Type

Known

Guidelines

  • BITV 1.0 (Level 2)
    Guideline GroupLevel 1
    Guideline Subgroup7.5 Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically.
  • Section 508
    Guideline GroupP - timed response
  • Stanca Act
    Guideline GroupRequirement 20: Time Limits
  • WCAG 1.0 (Level AA)
    Guideline GroupPriority 2
    Guideline Subgroup7.5 Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically.
  • WCAG 1.0 (Level AAA)
    Guideline GroupPriority 2
    Guideline Subgroup7.5 Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically.
  • WCAG 2.0 (Level A)
    Guideline Group2.2 Enough Time: Provide users enough time to read and use content.
    Guideline SubgroupSuccess Criteria 2.2.2 Pause, Stop, Hide (A)
  • WCAG 2.0 (Level AA)
    Guideline Group2.2 Enough Time: Provide users enough time to read and use content.
    Guideline SubgroupSuccess Criteria 2.2.2 Pause, Stop, Hide (A)
  • WCAG 2.0 (Level AAA)
    Guideline Group2.2 Enough Time: Provide users enough time to read and use content.
    Guideline SubgroupSuccess Criteria 2.2.2 Pause, Stop, Hide (A)

Requirement

Auto-redirect must not be used.

Error

Auto-redirect used.

Short Description

meta elements that contain a http-equiv attribute with a value of "refresh" cannot contain a content attribute with a value of (start, case insensitive) "http://".

Rationale

Developers cannot predict how much time a user will require to read a page; premature refresh can disorient users. Content developers should avoid periodic refresh and allow users to choose when they want the latest information.

How To Repair

Use a server-side redirect or place a link on the page that allows users to go to the new page.

Steps To Check

Procedure

1. Check each meta element for an http-equiv attribute value of "refresh" and a content attribute value that starts with "http://".

Expected Result

1. The content is expected to contain no meta elements that have an http-equiv attribute value of "refresh" and a content attribute value that starts with "http://".

Failed Result

1. Use a server-side redirect or place a link on the page that allows users to go to the new page.

Examples

Pass Examples

Does not contain auto-redirect.
<!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 #71 - Negative</title>
</head>
<body>
</body>
</html>

Fail Examples

Contains auto-redirect.
<!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 #71 - Positive</title>
<meta  http-equiv="refresh" content="http://www.foo.com/bar.html" />
</head>
<body>
</body>
</html>
Web site engine's code is copyright © 2023
Inclusive Design Institute