Skip to content

feat(rules): a11y/meta-refresh reports the Refresh response header - #1709

Closed
nc9 wants to merge 1 commit into
mainfrom
feat/meta-refresh-header-1697
Closed

nc9 wants to merge 1 commit into
mainfrom
feat/meta-refresh-header-1697

Conversation

@nc9

@nc9 nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #1697.

a11y/meta-refresh now reads the Refresh response header (any letter case): redirect (names target and delay), reload (no URL), and one merged finding when the header and a meta refresh both give a finding. Meta-only and neither pages are unchanged. Solution text recommends 301 or 308.

Because a response header is not part of a template, the rule moves from verdictScope: template to page: its entry is removed from the reviewed template-input table and the fan-out equivalence golden case. Goldens and finding counts unchanged. Docs, CHANGELOG and 38 tests included. Skill change: none.

@nc9

nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Landed on main as 12ed3f5 (later commits there carry the review fixes). Closing this draft as superseded.

nik

@nc9 nc9 closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect redirects made through the HTTP Refresh response header

1 participant