跳到正文
TakoAPI
返回技能列表

axe-devtools

由 dylanb 提供

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

简介

Accessibility testing and remediation using the axe MCP Server.

描述

该技能的功能

Runs accessibility scans on live web pages using the axe DevTools MCP Server via Docker. Returns violations with rule IDs, impact levels, and affected selectors, then fetches AI-generated fix guidance per violation. Also applies static accessibility best practices when no live page is available.

Combines automated scanning and targeted remediation in one workflow, so developers get specific code fixes rather than just a list of rule names.

何时使用

  • Scanning a locally running app for WCAG violations before a PR
  • Getting a code fix for a specific broken ARIA attribute
  • Verifying a form component has properly associated labels
  • Checking color contrast and heading hierarchy in a new page
  • Re-running a scan after fixes to confirm zero remaining violations

示例工作流

输入

User asks: check my localhost:3000 checkout form for accessibility issues

智能体
  1. 1

    Run analyze against http://localhost:3000/checkout

  2. 2

    Parse violations from the JSON response, grouping by rule ID

  3. 3

    Call remediate for each unique violation with its ruleId, element HTML, and description

  4. 4

    Apply the returned code_fix patches to the source files

  5. 5

    Re-run analyze to confirm zero violations remain

输出

Checkout form passes axe scan with no violations; label associations, focus management, and contrast issues resolved

前置要求

  • AXE_API_KEY environment variable
  • Axe DevTools for Web paid subscription
  • Docker installed and running
  • dequesystems/axe-mcp-server:latest Docker image pulled

安装

clawhub install dylanb/axe-devtools

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接