Rule

Timed refresh (AAA)

The page must not refresh or redirect itself on any timer (AAA)

Rule
meta-refresh-no-exceptions
WCAG 2.2
2.2.4 Interruptions (opens in a new tab) (Level AAA)
3.2.5 Change on Request (opens in a new tab) (Level AAA)
Severity
Serious

What it checks

The AAA version of the timed refresh check. Any <meta http-equiv="refresh"> that reloads the page, or sends it elsewhere after a delay, fails, however long the delay. There is no 20-hour allowance at this level: the reader can neither postpone nor stop the change.

Only an instant redirect, a delay of zero with a destination, passes. A directive the browser would ignore is ignored here too. 2.2.4 excuses an emergency, which a meta tag cannot show, so the finding assumes there is none.

Example

Fails

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="refresh" content="86400">
  <title>Departures</title>
</head>
<body>
  <h1>Departures</h1>
</body>
</html>

Passes

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="refresh" content="0; url=/departures/">
  <title>Departures</title>
</head>
<body>
  <p><a href="/departures/">Departures have moved</a></p>
</body>
</html>

The engine is tested against both examples.

How to fix it

Remove the timed refresh and let the reader ask for new content with a control. To move a page, redirect on the server or instantly with content="0; url=/new/".

Check your own pages

This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.