meta-refreshPage refreshes or redirects on a timer
A <meta http-equiv="refresh"> that reloads or redirects the page after a delay moves people on before they have finished reading, with no way to stop it. Remove it, and use a server-side 301 redirect instead if the page has moved.
Who it hurts
People who read slowly, screen reader users who lose their place on reload, and people with cognitive disabilities.
Used for “you will be redirected in 5 seconds” pages and to keep news or stock pages fresh.
How to fix it
Pick your stack. Review every change before you ship it.
Before
<meta http-equiv="refresh" content="5; url=/new-page">After
<p>This page has moved to <a href="/new-page">our new page</a>.</p>Better still, set up a 301 redirect on the server so people never see the old page.
Check it by hand too
Search the page source for http-equiv="refresh". Leave the page open for a few minutes and check it doesn’t reload or move on by itself.
Automated checks find a large share of accessibility problems, but not all of them. Passing this check does not on its own make a page compliant.
WCAG reference
- 2.2.1 Timing Adjustable (Level A). Understanding 2.2.1