跳到正文
TakoAPI
返回技能列表

sovereign-accessibility-auditor

由 ryudi84 提供

Web & Frontend Development
379下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Parses the HTML structure to identify interactive elements and landmarks

  2. 2

    Checks ARIA roles, labels, and descriptions for completeness and correctness

  3. 3

    Evaluates color values in inline styles or referenced CSS for contrast ratio compliance

  4. 4

    Traces keyboard focus order and identifies elements that are unreachable or out of sequence

  5. 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 或你在用的任意编程智能体里。

链接