Meta Refresh Attributes That Reload the Page or Redirect After a Timeout
WCAG Focus: WCAG 2.2.1 (A), 2.2.4 (AAA), 3.2.5 (AAA), 2.4.3 (A)
The HTML <meta http-equiv="refresh"> attribute tells a browser to either reload the current page after a set number of seconds or redirect the visitor to a new URL once a countdown expires. While it still surfaces in legacy WordPress themes, maintenance-mode plugins, and "this page has moved" notices, automatic timers inside <head> operate silently without user consent or control.
Why This Pattern Violates WCAG
WCAG 2.2.1 Timing Adjustable (Level A) fails whenever content sets a time limit without giving users a way to turn off, adjust, or extend it. Both periodic reloads (Failure F41) and delayed redirects (Failure F40) force a countdown on reading and interaction.
WCAG 2.2.4 Interruptions (Level AAA) and 3.2.5 Change on Request (Level AAA) are violated because full-page reloads and unexpected navigations trigger automatically rather than on explicit user request.
WCAG 2.4.3 Focus Order (Level A) impact: when a page refreshes, keyboard focus snaps back to <body>, screen reader virtual cursors jump to the top of the document, and partially typed form inputs disappear. Timed redirects also trap keyboard users in a browser Back-button loop.
Code Comparison
Inaccessible HTML (Fails F40 / F41)
<!-- Timed reload every 30 seconds (F41) -->
<meta http-equiv="refresh" content="30">
<!-- Delayed redirect after 5 seconds (F40) -->
<meta http-equiv="refresh" content="5;url=https://example.com/new-page/">
Compliant WordPress PHP Redirect & Live Update Pattern
<?php
// Replace timed meta redirects with server-side HTTP 301 headers
add_action( 'template_redirect', function () {
if ( is_page( 'old-page' ) ) {
wp_safe_redirect( home_url( '/new-page/' ), 301 );
exit;
}
} );
How to Fix It in WordPress
- Audit header.php, wp_head hooks, and maintenance/redirection plugins for http-equiv="refresh".
- Use HTTP 301/302 server redirects (.htaccess, Nginx, or wp_safe_redirect()) for moved URLs.
- For live feeds, replace full-page reloads with a user-triggered refresh button and an aria-live="polite" status region.
- Note: A zero-second fallback (content="0;url=…") avoids Failure F40 under Technique H76, though server-side redirects remain strongly preferred.
Finding This Issue Automatically
Because plugins and theme headers frequently inject <meta http-equiv="refresh"> tags outside the standard WordPress editor, spotting them by hand means inspecting raw source code across every template. Running a site-wide scan with the WP ADA Compliance Check plugin flags refresh attributes in both theme files and post content automatically, pinpointing the exact rule and location so you can swap in a clean server-side redirect before visitors lose their place.
WCAG References & Supporting Materials
WCAG Success Criteria
- Understanding WCAG 2.2.1 Timing Adjustable (Level A)
- Understanding WCAG 2.2.4 Interruptions (Level AAA)
- Understanding WCAG 3.2.5 Change on Request (Level AAA)
- Understanding WCAG 2.4.3 Focus Order (Level A)
Supporting Documentation & Guides
- W3C Failure F40: Using meta redirect with a time limit — Explains why delayed meta refresh redirects violate WCAG 2.2.1 Timing Adjustable.
- W3C Failure F41: Using meta refresh to reload the page — Documents how periodic meta refresh reloads fail WCAG 2.2.1 and disrupt assistive technology.
- W3C Technique H76: Using meta refresh for an instant client-side redirect — Documents the zero-second exception when server-side HTTP redirects are unavailable.
Subscribe
Subscribe to receive daily Web Accessibility - Did you know? articles in your inbox.

