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

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

Appears in: Accessibility audits

The <meta http-equiv="refresh"> tag causes a web page to refresh automatically after a specified amount of time. Users generally don't expect automatic refreshes, so they can be disorienting. Refreshing also moves focus to the top of the page, which may frustrate or confuse users, particularly those who rely on screen readers or other assistive technologies.

How the Lighthouse automatic refresh audit fails

Lighthouse flags pages that contain a <meta> tag with the http-equiv="refresh" attribute:

Lighthouse audit showing the document uses timed refresh

The Lighthouse Accessibility score is a weighted average of all the accessibility audits. See the Lighthouse accessibility scoring post for more information.

How to avoid automatic page refreshes

Remove <meta http-equiv="refresh"> from the page.

If you need to refresh your page, do so using JavaScript, where you can add logic to allow users to pause the refresh, extend the time between refreshes, or even disable refreshes.


Last updated: Improve article