Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

media-accessibility媒体无障碍

Agent Skill

用于辅助无障碍访问检查、页面可用性审计和前端可访问性改进。它适合让 Agent 检查语义标签、键盘操作、颜色对比、ARIA 属性和自动化检测结果。使用时需要结合真实页面和浏览器验证,不应只依赖静态文本判断;涉及修复建议时,应兼顾设计系统、组件复用和 WCAG 等通用无障碍规范。

总安装

3,078

周安装

127

GitHub Stars

256

下载量

1,006
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:media-accessibility(媒体无障碍)
来源仓库:https://github.com/community-access/accessibility-agents
仓库路径:skills/media-accessibility
安装命令:
npx skills add https://github.com/community-access/accessibility-agents --skill media-accessibility
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/community-access/accessibility-agents --skill media-accessibility

简介

media-accessibility 辅助网页可访问性检查与前端改进,适合在主流宿主中执行语义标签、键盘操作等审计。

  • 适用于无障碍合规检测、ARIA 属性审查和颜色对比度分析。
  • 通过 npx skills add 从 accessibility-agents 仓库安装并调用。
  • 使用时需结合真实页面验证,避免仅依赖静态文本判断;修复建议应遵循 WCAG 规范。
  • 不建议单独作为最终合规结论,需配合人工复核与设计系统集成。

SKILL.md

Media Accessibility Skill

Reference data for video, audio, and streaming media accessibility. Used by media-accessibility agent and any web agent encountering <video> or <audio> elements.


WCAG 1.2 Time-Based Media Criteria

SCLevelRequirementTest
1.2.1AAudio-only/video-only: provide text transcript or audio trackTranscript exists alongside media
1.2.2ACaptions for prerecorded audio in videoSynchronized captions present
1.2.3AAudio description OR text alternative for prerecorded videoDescription track or full transcript
1.2.4AACaptions for live audio in videoReal-time captioning active
1.2.5AAAudio description for prerecorded videoDescription track present
1.2.6AAASign language for prerecorded audioSign language interpretation video
1.2.7AAAExtended audio descriptionPaused video for long descriptions
1.2.8AAAMedia alternative for prerecorded videoFull text alternative document
1.2.9AAAAudio-only (live): text alternativeReal-time text transcript

Caption File Formats

WebVTT (Web Video Text Tracks)

WEBVTT

00:00:01.000 --> 00:00:04.000
Welcome to the accessibility course.

00:00:04.500 --> 00:00:08.000
Today we'll cover caption best practices.

00:00:08.500 --> 00:00:12.000
<v Speaker 2>Let's start with file formats.

Key rules:

  • File must start with WEBVTT header
  • Timestamps: HH:MM:SS.mmm --> HH:MM:SS.mmm
  • Speaker identification: <v Speaker Name>Text
  • Maximum 2 lines per caption, 32 characters per line
  • Minimum display time: 1 second
  • Maximum display time: 7 seconds

SRT (SubRip Text)

1
00:00:01,000 --> 00:00:04,000
Welcome to the accessibility course.

2
00:00:04,500 --> 00:00:08,000
Today we'll cover caption best practices.

Key rules:

  • Sequential numbering starting at 1
  • Timestamps use comma for milliseconds (not period)
  • Blank line between entries
  • No styling support (unlike WebVTT)

TTML (Timed Text Markup Language)

  • XML-based, used in broadcast and streaming
  • Supports styling, positioning, and region layout
  • IMSC (Internet Media Subtitles and Captions) is the web profile

Caption Quality Guidelines

MetricRequirement
Accuracy99%+ word accuracy
SynchronizationWithin 1 second of audio
Speaker identificationRequired when 2+ speakers
Sound effectsDescribe in brackets: [applause], [phone rings]
MusicDescribe: [upbeat music], [dramatic orchestral score]
Caption rateMaximum 200 words per minute (3 words/second)
Line lengthMaximum 32 characters per line
Lines per captionMaximum 2 lines
PlacementBottom center default; move for on-screen text

Audio Description

Audio description narrates visual information during pauses in dialogue.

Requirements:

  • Describe: actions, scene changes, on-screen text, facial expressions relevant to plot
  • Don't describe: obvious audio cues, subjective interpretations
  • Timing: fit into natural pauses; for extended descriptions (1.2.7), video pauses automatically
  • Voice: distinct from program audio, clear and neutral

HTML implementation:

<video controls>
  <source src="video.mp4" type="video/mp4">
  <track kind="captions" src="captions-en.vtt" srclang="en" label="English" default>
  <track kind="descriptions" src="descriptions-en.vtt" srclang="en" label="English Audio Descriptions">
</video>

Accessible Media Player ARIA Patterns

Minimum Controls

Every media player must have keyboard-accessible controls for:

  • Play/Pause (role="button", aria-label="Play" / aria-label="Pause")
  • Volume (role="slider", aria-label="Volume", aria-valuemin, aria-valuemax, aria-valuenow)
  • Seek/Progress (role="slider", aria-label="Seek", aria-valuetext="2 minutes 30 seconds")
  • Captions toggle (role="button", aria-pressed, aria-label="Toggle captions")
  • Fullscreen (role="button", aria-label="Enter fullscreen" / aria-label="Exit fullscreen")

Live Region Announcements

<div aria-live="polite" class="sr-only" id="player-status">
  <!-- Announce: "Playing", "Paused", "Video ended", "Captions on", "Captions off" -->
</div>

Keyboard Shortcuts (Media Player Convention)

KeyAction
Space / EnterPlay/Pause
Left ArrowRewind 5 seconds
Right ArrowForward 5 seconds
Up ArrowVolume up
Down ArrowVolume down
MMute/Unmute
CToggle captions
FToggle fullscreen

Transcript Best Practices

  • Provide a full-text transcript adjacent to or linked from the media
  • Include speaker identification, timestamps (optional but helpful), and non-speech audio
  • Transcripts benefit deaf users, search engines, and users who prefer reading
  • Interactive transcripts (click a line to jump to that point) are excellent UX

Live Captioning

  • WCAG 1.2.4 (AA) requires captions for live audio in synchronized media
  • Options: human captioner (CART), AI-powered auto-captioning, hybrid
  • AI auto-captions alone rarely meet the 99% accuracy requirement — human review or correction is recommended
  • WebSocket-based caption delivery for web: push text to a <div aria-live="polite"> container

Common Violations

IssueWCAG SCSeverity
No captions on prerecorded video1.2.2Critical
Auto-generated captions without review1.2.2Serious
No audio description for visual-only content1.2.5Serious
Inaccessible media player controls2.1.1, 4.1.2Critical
No keyboard access to play/pause2.1.1Critical
Autoplay without user control1.4.2Serious
Volume slider not keyboard-operable2.1.1Serious
No transcript for audio-only content1.2.1Critical
Captions poorly synchronized (>2s drift)1.2.2Moderate
Missing speaker identification in captions1.2.2Moderate

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.28%
按下载量换算385

Claude

28.26%
按下载量换算284

Cursor

17.17%
按下载量换算173

Gemini CLI

10.05%
按下载量换算101

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills