Pages must never refresh or redirect on a timer, even after 20 hours
At level AAA, a page must never reload or redirect itself after a delay, not even after 20 hours. Visitors decide when content changes, so nothing is taken from them while they read or type.
| Rule ID | meta-refresh-no-exceptions |
|---|---|
| Impact | Minor |
| Success criterion |
2.2.4 Interruptions · AAA 3.2.5 Change on Request · AAA |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 |
| Needs a change in the website’s code |
Example
<head>
<title>Departures – Terminal 2</title>
<meta http-equiv="refresh" content="86400">
</head>A visitor who left the tab open returns to a reloaded page, scrolled to the top, with typed text gone.
<head>
<title>Departures – Terminal 2</title>
</head>The page changes only when the visitor reloads it or asks for fresh data.
Why it matters
An unexpected reload moves the screen reader back to the top of the page and starts reading again, so a blind visitor loses their place. People with cognitive disabilities can lose track of what they were doing when the page suddenly changes. People who type slowly, with a switch device or by voice, can lose half-finished text in a form.
Level A allows a refresh after 20 hours, on the grounds that few people stay on a page that long. Level AAA removes that exception: changes of content or context should happen only when the user asks for them. AAA is rarely a legal requirement, but it is a sensible target for kiosks, dashboards and pages people keep open all day.
How to fix it
Remove the timed <meta http-equiv="refresh"> and choose a pattern that leaves the visitor in control.
The page has moved. Redirect on the server with a 301 or 308 status code. If you can only change the HTML, an immediate redirect (delay 0) passes, because nothing is interrupted:
<meta http-equiv="refresh" content="0; url=https://example.com/departures">
The data goes stale. Offer a button that fetches new data, and say when it was last updated:
<p>Updated at 14:05. <button type="button" id="refresh">Refresh departures</button></p>
Live updates are the point of the page. Let the visitor switch automatic updates on, and update only the changed parts with JavaScript instead of reloading the whole document. Keep focus and form input untouched.
Sessions expire. Warn before the session ends and let the visitor extend it with one action, instead of reloading or logging them out without warning.
Checklist
- Remove every <meta http-equiv="refresh"> with a delay.
- Use server-side redirects for moved pages.
- Offer a refresh button for data that changes.
- Make automatic updates opt-in and keep focus in place.
How the check works
The check reads every <meta http-equiv="refresh"> that has a content attribute. It fails when the delay is longer than 72,000 seconds (20 hours), the case the level A check allows; shorter delays are reported by meta-refresh. An immediate redirect (delay 0) passes. The check is off by default because it tests AAA criteria. Refreshes made with JavaScript are not detected, so watch for those yourself.
Resources
Updated October 27, 2026