Skip to content
Skillpedia
Websites & UI (frontend)75k · #2936

meta-refresh

What it does

This skill finds pages that use an automatic meta refresh to redirect or reload, and replaces them with better options. It is for developers who want pages that are predictable and accessible.

When to use it

  • ✓When you ask the agent to check a page for automatic redirects or refreshes.
  • ✓When users report that a page reloads or jumps to another address without warning.
  • ✓When you are migrating old pages that still use a meta refresh tag to send visitors elsewhere.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/meta-refresh/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/meta-refresh/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Some of my old pages redirect with a meta refresh tag. Can you replace those with proper redirects?”

5 new skills a week. 1 minute to read.

How it works

The agent searches the HTML for meta tags that refresh the page automatically. It then suggests a server-side redirect or a clear link the user can choose to follow.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Avoid meta refresh redirects

Unexpected page refreshes or redirects can be extremely confusing for users with cognitive disabilities and can cause screen readers to restart reading from the beginning.

Quick Reference

  • Avoid using <meta http-equiv="refresh"> for page redirects
  • Use server-side redirects (301 or 302) instead of client-side meta refreshes
  • Ensure users have control over page refreshes and redirects

Check

Check the HTML for any meta tags that use http-equiv="refresh" for automatic page redirection.

Fix

Replace meta refresh redirects with server-side redirects or clear, user-initiated links.

Explain

Explain why automatic page refreshes can be a major barrier for accessibility and user experience.

Code Review

Review the rendered markup and interactive states that affect Avoid meta refresh redirects. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/meta-refresh

FAQ

Why are automatic refreshes a problem?

They can confuse users with cognitive disabilities and can make screen readers restart reading from the beginning.

Should I use a 301 or 302 redirect?

The skill mentions server-side redirects with 301 or 302 status codes as the replacement.

What if the user should decide when to move?

Then the skill suggests a clear link that the user activates, instead of an automatic change.

Details

Original description by the author

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid meta refresh redirects. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2936
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills