sovereign-accessibility-auditor
由 ryudi84 提供
Web & Frontend Development简介
Audits HTML/CSS for WCAG 2.1 compliance.
描述
该技能的功能
Audits HTML and CSS against WCAG 2.1 standards, checking color contrast ratios, ARIA label coverage, keyboard navigation paths, and screen reader compatibility. Provides actionable findings with code examples and explains trade-offs between remediation approaches.
Covers contrast, ARIA, keyboard, and screen reader concerns in one pass rather than requiring separate tools or manual checks for each category.
何时使用
- Checking a form for missing ARIA labels before a product launch
- Verifying color contrast ratios meet WCAG AA or AAA thresholds
- Reviewing keyboard tab order in a navigation menu or modal dialog
- Finding screen reader compatibility issues in dynamically rendered content
- Preparing an audit report before submitting a site for accessibility certification
示例工作流
User asks: Audit this HTML snippet for WCAG 2.1 compliance
- 1
Parses the HTML structure to identify interactive elements and landmarks
- 2
Checks ARIA roles, labels, and descriptions for completeness and correctness
- 3
Evaluates color values in inline styles or referenced CSS for contrast ratio compliance
- 4
Traces keyboard focus order and identifies elements that are unreachable or out of sequence
- 5
Returns a prioritized list of violations with corrected code examples
A structured report listing WCAG violations by criterion, severity, and suggested code fixes
安装
clawhub install ryudi84/sovereign-accessibility-auditor运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。