reduced-motion
できること
このスキルは、サイトのアニメーションが動きを減らす設定に対応しているか、点滅するコンテンツがないかを確認し、必要に応じて代わりの表現を追加します。すべての人にとって快適なアニメーションを求めるフロントエンドの開発者向けです。
使う場面
- ✓サイトのアニメーションが動きを減らす設定を尊重しているか確認するようエージェントに頼むとき。
- ✓前庭障害やてんかんのある人に影響しうる、点滅や激しい動きがサイトにあるとき。
- ✓没入感のあるアニメーションのサイトを作っていて、警告と代わりの表現を用意したいとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/reduced-motion/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のサイトのアニメーションを、動きを減らす設定をオンにしている訪問者向けに、止めるか抑えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、重要ではないアニメーションをprefers-reduced-motionのメディアクエリで囲み、動きを単純な不透明度や色の変化に置き換えます。また、1秒あたり3回を超えて点滅するものがないかを確認し、利用者が動きを止められる操作を提案します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Respect reduced motion preferences
Animations can trigger vestibular disorders, migraines, and seizures—respecting motion preferences makes your site usable for millions of affected users.
Quick Reference
- Use prefers-reduced-motion media query to disable non-essential animations
- Never flash content more than 3 times per second (seizure risk)
- Replace motion with opacity/color transitions when reduced motion is enabled
- Provide user controls to pause or disable animations
Check
Verify that animations respect prefers-reduced-motion, no content flashes more than 3 times per second, parallax and scrolljacking effects have alternatives, and motion warnings appear before pages with excessive animation.
Fix
Use @media (prefers-reduced-motion: reduce) to disable animations. Ensure no flashing exceeds 3 flashes/second. Avoid motion behind static text. Provide motion warnings for immersive experiences.
Explain
Explain how motion affects users with vestibular disorders, photosensitive epilepsy, and cognitive disabilities, and why providing motion controls and warnings is essential for inclusive design.
Code Review
Review the rendered markup and interactive states that affect Respect reduced motion preferences. 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/reduced-motion
よくある質問
動きを減らす設定とは何ですか?
サイトに動きを抑えるよう求めるシステムの設定で、このスキルはどのアニメーションを無効にするかの判断に使います。
点滅はなぜ制限すべきですか?
このスキルによると、1秒に3回を超える点滅はてんかん発作を引き起こすことがあるからです。
訪問者自身が操作できるべきですか?
はい。このスキルは、利用者がサイト上でアニメーションを止めたり無効にしたりできるようにすることを勧めています。
詳細
作者による元の説明
Use when reviewing rendered HTML, interactive components, or design-system patterns related to Respect reduced motion preferences. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.
人気
- GitHubのスター
- 75k
- ランキング
- #2991
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。