The document uses <meta http-equiv="refresh">

How to fix the meta-refresh accessibility rule. Time and media.

The message you saw

Lighthouse and PageSpeed Insights
The document uses <meta http-equiv="refresh">
axe-core, axe DevTools and this checker
Delayed refresh under 20 hours must not be used (rule meta-refresh)

Lighthouse runs axe-core inside it, so both are the same check, and the fix below works whichever tool showed you the message.

What it means

A <meta http-equiv="refresh"> tag makes the browser reload the page, or jump to another address, after a number of seconds. This message means the page has one with a delay, so the page changes on a timer that the visitor didn’t ask for and can’t stop.

axe-core fails any refresh or redirect with a delay of more than 0 seconds and up to 20 hours (72,000 seconds). An instant redirect (content="0; url=…") passes, because nothing changes while someone is reading. Delays over 20 hours pass because WCAG success criterion 2.2.1 Timing Adjustable makes an exception for time limits longer than that.

Who is affected

The page reloads or redirects itself on a timer. Screen-reader users lose their place, and slow readers may not finish before the page changes.

Screen-reader users lose their place when the page reloads and are taken back to the top. People who read slowly, people with cognitive disabilities and people who use magnification may not finish reading, or filling in a form, before the page moves on. A sudden redirect can also be confusing for anyone, because the page they were on vanishes.

How to find it

  1. View the page source and search for http-equiv="refresh". The content attribute starts with the delay in seconds, sometimes followed by url= and the address it goes to.
  2. Common places: “this page has moved, you will be redirected in 5 seconds” pages, live score or news pages that reload every minute, and old site templates.

How to fix it

  1. For a page that has moved, use a server-side redirect (HTTP 301 or 308) instead. Your web server, hosting panel or framework has a redirects setting. It is also better for search engines.
  2. If you can’t set server redirects, use a refresh with a delay of 0, or a normal link that says where the page has moved, and let the visitor click it.
  3. For content that updates, load new data with JavaScript into part of the page instead of reloading the whole page, and give people a way to pause updates.
  4. If a timed reload really is needed, let the visitor turn it off or extend it before it happens.

Examples

Moved page

Before

<meta http-equiv="refresh" content="5; url=https://example.com/new-page">

After

<!-- Server redirect, e.g. in nginx: -->
location = /old-page { return 301 /new-page; }

<!-- Or, if you can only edit HTML: -->
<p>This page has moved to <a href="/new-page">our new page</a>.</p>

Page that reloads every minute

Before

<meta http-equiv="refresh" content="60">

After

<!-- Remove the tag; update just the scores with JavaScript,
     and offer a Pause updates button. -->

Common mistakes

WCAG success criteria

When this rule fails, the page fails:

Check your fix

Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools. Scan again after your change: when the rule no longer appears under the problems, the fix worked.

An automated pass means this rule found nothing wrong. It doesn’t prove the page is accessible: some of what WCAG asks for needs a person to check, and the report’s manual checklist lists those steps.

Related fix guides

More detail