W3C

ACT-R1: Meta refresh and redirect is not used

Important Information for reviewing ACT Rules

Important: The ACT Rules on this page are a demonstration of how they might be published by the W3C. The goal of this page is to add concrete examples for the Accessibility Conformance Testing Rules Format (DRAFT). Neither the ACT Rules, or the way they are presented here has been approved by the Accessibility Guidelines Working Group. If you have feedback, please comment by filing GitHub issues in the WCAG ACT repository, if this is not feasible, by email to public-wcag-act-comments@w3.org.

Accessibility Requirements

This conformance rule relates to:

Description

This test checks if meta element is not used for delayed redirecting or refreshing.

Background

Assumptions

Aspects Under Test

Test procedure

Applicability

The rule applies to any meta element with the value of the http-equiv attribute set to refresh. This can be found using the following CSS selector: meta[http-equiv="refresh"].

Expectation

The text before the first comma or semicolon is either 0 or not a number (ignore any whitespace characters).

Changelog

Changes since the previous version

Acknowledgment

This ACT rule was created by Wilco Fiers.

Validation Tests

To validate the implementation of this rule, all test cases for ACT-R1 must be passed.