Pular para o conteúdo
Skillpedia
Sites e telas (frontend)75 mil · #2719

anchor-smooth-scroll

O que ela faz

Esta skill verifica como os links para a mesma página rolam em um site. Ela é para desenvolvedores que querem que links de salto sejam confortáveis para pessoas sensíveis a movimento.

Quando usar

  • ✓Quando seu site usa rolagem suave em links dentro da mesma página.
  • ✓Quando um visitante pediu movimento reduzido nas configurações do dispositivo.
  • ✓Quando um usuário de teclado segue um link de salto e o foco não chega ao destino.

Link da skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/anchor-smooth-scroll/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/anchor-smooth-scroll/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Garanta que os links do meu sumário pulem instantaneamente para pessoas que preferem movimento reduzido.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente verifica regras de rolagem suave, limita-as a uma configuração de movimento reduzido e confirma que o foco vai para a seção vinculada.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Provide instant anchor scroll option

Smooth scroll animations can trigger vertigo, nausea, and disorientation for users with vestibular disorders—instant navigation is safer and often faster.

Quick Reference

  • Disable smooth scroll when prefers-reduced-motion is set
  • Use CSS scroll-behavior: smooth with media query check
  • Ensure focus moves to anchor target for keyboard users
  • Provide instant scroll as default or fallback

Check

Click anchor links (same-page navigation) and verify smooth scrolling is disabled when prefers-reduced-motion is set. Confirm anchor navigation works correctly with keyboard and screen readers.

Fix

Use scroll-behavior: smooth only within a prefers-reduced-motion media query check. Provide instant scrolling as the default or reduced-motion fallback. Ensure focus moves to the anchor target.

Explain

Explain how animated scroll transitions can cause motion sickness and disorientation for users with vestibular disorders, and why instant navigation is often preferable for accessibility.

Code Review

Review the rendered markup and interactive states that affect Provide instant anchor scroll option. 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/anchor-smooth-scroll

Perguntas frequentes

Por que a rolagem suave pode ser um problema?

A skill diz que a rolagem animada pode causar tontura ou desorientação em pessoas com distúrbios vestibulares.

O que é prefers-reduced-motion?

É uma configuração do dispositivo que informa ao site que o visitante quer menos animação.

O foco precisa se mover?

Sim. A skill diz que o foco deve ir para o destino da âncora, para usuários de teclado.

Detalhes

Descrição original do autor

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide instant anchor scroll option. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

Popularidade

Estrelas no GitHub
75 mil
Posição no ranking
#2719
Licença
MIT
Atualizada em
31/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas