본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2719

anchor-smooth-scroll

하는 일

이 스킬은 같은 페이지 안의 링크가 어떻게 스크롤되는지 확인합니다. 움직임에 민감한 사람도 편하게 쓸 수 있도록 점프 링크를 만들려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓사이트가 같은 페이지 안의 링크에 부드러운 스크롤을 쓸 때.
  • ✓방문자가 기기 설정에서 움직임 감소를 요청했을 때.
  • ✓키보드 사용자가 점프 링크를 따라갔는데 포커스가 대상에 닿지 않을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/anchor-smooth-scroll/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 목차 링크가 움직임 감소를 선호하는 사람에게는 즉시 이동하도록 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 부드러운 스크롤 규칙을 확인하고, 그것을 움직임 감소 설정으로 제한하며, 포커스가 연결된 섹션으로 이동하는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

부드러운 스크롤이 왜 문제가 될 수 있나요?

애니메이션 스크롤은 전정 장애가 있는 사람에게 어지러움이나 방향 감각 상실을 일으킬 수 있다고 스킬이 설명합니다.

prefers-reduced-motion이란 무엇인가요?

방문자가 움직임이 적은 것을 원한다고 사이트에 알려 주는 기기 설정입니다.

포커스도 옮겨야 하나요?

네. 키보드 사용자를 위해 포커스가 앵커 대상으로 이동해야 한다고 스킬이 말합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
75k
순위
#2719
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬