video-accessibility
它能做什么
这个技能检查网页上视频的无障碍功能,例如字幕和文字稿。它面向向广大受众发布视频的网站团队。
适用场景
- ✓网站发布的视频没有字幕的时候。
- ✓视频带声音并自动播放的时候。
- ✓无障碍审查询问视频是否适合聋人或盲人用户的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/video-accessibility/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们网站上有产品视频,但没有字幕或文字稿。要让它们具有无障碍性,我们需要添加什么?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查每个视频是否有字幕、音频描述、文字稿、暂停控件和自动播放设置。然后它会为每一项建议所需的标记或文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Make videos accessible with captions
Videos without captions exclude deaf and hard-of-hearing users, while videos without audio descriptions exclude blind users from understanding visual content.
Quick Reference
- Always provide accurate closed captions (not auto-generated)
- Include audio descriptions for visual content
- Provide text transcripts as an alternative
- Never autoplay videos with sound
Check
Verify videos have accurate closed captions (not auto-generated), audio descriptions for visual content, transcripts, keyboard-accessible pause controls, and no autoplay. Confirm spacebar pauses video without scrolling the page.
Fix
Add track elements for captions and audio descriptions, provide text transcripts, implement global pause controls, disable autoplay, and ensure media controls are keyboard accessible with proper focus management.
Explain
Explain how captions help deaf and hard-of-hearing users, audio descriptions help blind users understand visual content, and pause controls help users with cognitive disabilities who find autoplay disorienting.
Code Review
Review templates, server-rendered HTML, and shared components that output markup related to Make videos accessible with captions. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/html/video-accessibility
常见问题
自动生成的字幕够用吗?
不够。这个技能说,字幕应当准确,而不是自动生成的。
为什么要避免带声音的自动播放?
带声音的自动播放可能令人迷失方向,这个技能说视频不应带声音自动播放。
只有文字稿够吗?
这个技能把文字稿列为有帮助的文字替代,但它同样要求准确的字幕和音频描述。
详情
作者的原始描述
Use when reviewing templates, rendered HTML, or shared components related to Make videos accessible with captions. Validate the final browser-facing markup, not just the source framework abstraction.
热度
- GitHub 星标
- 75k
- 排名
- #3072
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。