本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2991

reduced-motion

できること

このスキルは、サイトのアニメーションが動きを減らす設定に対応しているか、点滅するコンテンツがないかを確認し、必要に応じて代わりの表現を追加します。すべての人にとって快適なアニメーションを求めるフロントエンドの開発者向けです。

使う場面

  • ✓サイトのアニメーションが動きを減らす設定を尊重しているか確認するようエージェントに頼むとき。
  • ✓前庭障害やてんかんのある人に影響しうる、点滅や激しい動きがサイトにあるとき。
  • ✓没入感のあるアニメーションのサイトを作っていて、警告と代わりの表現を用意したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/reduced-motion/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2991
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル