An HTML document must not use <meta http-equiv=”refresh”> with a refresh time of less than 20 hours.
Users don’t expect a page to refresh automatically, so it can be disorientating. Refreshing a page will also move the programmatic focus back to the top of the page, creating a frustrating user experience.
If the <meta> element is designed to redirect the user to a new location, server-side processes should be used instead of client-side.
Developers should either remove the http-equiv=”refresh” attribute from each relevant meta element or increase the refresh time to more than 20 hours.
If the purpose of the <meta> element is to refresh the page, this should be handled through JavaScript. Additional scripting should also be used to provide users with the ability to pause the refresh, extend the time between refreshes, or to turn the refresh off entirely.
<meta http-equiv="refresh" content="10" url="http://www.yourdomain.com/index.html">
Copy
For more examples, visit the following pages in W3C’s GitHub’s ATC Rules library: