Ensure timed refreshes do not exist

Users do not expect a page to refresh automatically, and doing so will move focus back to the top of the page. This may create a frustrating or confusing experience. Lighthouse reports timed refreshes:

Lighthouse audit showing the document uses timed refresh
Fig. 1 — The document uses timed refresh

How to fix this problem

To fix this problem, don't automatically refresh the page. Automatically refreshing the page disorientates users. Refreshing also moves the programmatic focus back to the top of the page, away from the user's focus.

To avoid automatically refreshing the page, remove <meta http-equiv="refresh"> from the page. Learn more in Timed refresh must not exist.

More information

Last updated: Improve article