用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/DojoGenesis/plugins --skill a11y-audit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | a11y-audit |
| description | Scan a frontend project for WCAG 2.2 accessibility violations and fix them. Usage: /a11y-audit [path] |
Scan a frontend project for WCAG 2.2 accessibility issues, show fixes, and optionally check color contrast.
/a11y-audit # Scan current project
/a11y-audit ./src # Scan specific directory
/a11y-audit ./src --fix # Scan and auto-fix what's possible
Run the a11y scanner on the target directory:
python3 {skill_path}/scripts/a11y_scanner.py {path} --json
Parse the JSON output. Group findings by severity (critical → serious → moderate → minor).
Display a summary:
A11y Audit: ./src
Critical: 3 | Serious: 7 | Moderate: 12 | Minor: 5
Files scanned: 42 | Files with issues: 15
For each finding (starting with critical):
references/framework-a11y-patterns.mdAuto-fixable issues (apply without asking):
alt="" on decorative imageslang attribute on <html>tabindex values > 0 → set to 0type="button" on non-submit buttons:focus-visible stylesIssues requiring user input (show fix, ask to apply):
If CSS files are present, run the contrast checker:
python3 {skill_path}/scripts/contrast_checker.py --batch {path}
For each failing color pair, suggest accessible alternatives.
Generate a markdown report at a11y-report.md:
engineering-team/a11y-audit/SKILL.mdengineering-team/a11y-audit/scripts/a11y_scanner.pyengineering-team/a11y-audit/scripts/contrast_checker.pyengineering-team/a11y-audit/references/wcag-quick-ref.mdengineering-team/a11y-audit/references/aria-patterns.mdengineering-team/a11y-audit/references/framework-a11y-patterns.md