squirrelscan
GitHub

Meta Refresh

Checks for meta refresh redirects that can disorient users

Checks for meta refresh redirects that can disorient users

Rule ID a11y/meta-refresh
Category Accessibility
Scope Per-page
Severity error
Weight 7/10

Solution

Avoid using <meta http-equiv='refresh'> for redirects or auto-refresh. They can disorient users, especially those using screen readers. Use server-side redirects (301/302) instead. If content must refresh, provide a user control and warn users beforehand.

Enable / Disable

Disable this rule

[rules]
disable = ["a11y/meta-refresh"]

Disable all Accessibility rules

[rules]
disable = ["a11y/*"]

Enable only this rule

[rules]
enable = ["a11y/meta-refresh"]
disable = ["*"]

Type to search…

↑↓ navigate↵ openesc close