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

autoplay-media

できること

このスキルは、ページの読み込み時にメディアが自動で再生されないかを確認します。訪問者がいつメディアを再生するかを選べるようにしたい開発者やサイトの運営者向けです。

使う場面

  • ✓ページを開くとすぐに音が鳴り始めるとき。
  • ✓動画が自動再生され、一時停止の操作が見えないとき。
  • ✓メディアを使った背景動画やスライドショーを追加するとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のホームページの背景動画が、音付きで自動再生されないようにし、一時停止ボタンを追加してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは音声と動画から自動再生を取り除きます。自動再生が必要な場合は、メディアをミュートにし、キーボードで操作できる分かりやすい一時停止の操作を追加します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Avoid autoplaying media

Autoplaying audio drowns out screen reader speech, startles users, and wastes bandwidth—providing user control is essential for accessibility and good UX.

Quick Reference

  • Never autoplay audio—it interferes with screen readers
  • If video must autoplay, ensure it's muted by default
  • Provide immediately accessible pause/stop controls
  • Autoplay should stop after 5 seconds or provide stop mechanism

Check

Verify no audio or video autoplays on page load. If autoplay is essential, confirm media is muted by default and pause controls are immediately accessible via keyboard within the first few tab stops.

Fix

Remove autoplay attributes from media elements. If autoplay is required, add muted attribute and provide prominent, keyboard-accessible pause controls. Consider adding a global pause button for pages with multiple media elements.

Explain

Explain how autoplaying media interferes with screen readers, startles users with cognitive disabilities, and creates barriers for users in quiet environments or with limited bandwidth.

Code Review

Review the rendered markup and interactive states that affect Avoid autoplaying media. 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/autoplay-media

よくある質問

自動再生は、なぜスクリーンリーダーにとって問題ですか?

自動再生される音声が、スクリーンリーダーの読み上げをかき消すと、このスキルは説明しています。

動画は自動再生してもよいですか?

はい。既定でミュートされ、アクセシブルな一時停止の操作がある場合は可能です。

自動再生はどのくらい続けるべきですか?

5秒後に止めるか、利用者が止められる方法を用意することを、このスキルは提案しています。

詳細

作者による元の説明

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid autoplaying media. 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
ランキング
#2751
ライセンス
MIT
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル