/install axe-devtools
axe Accessibility Skill
Test web pages for accessibility violations and get AI-powered remediation guidance using the axe DevTools MCP Server.
Prerequisites
- Docker running locally
AXE_API_KEYenvironment variable set- Docker image pulled:
dequesystems/axe-mcp-server:latest
Tools
The wrapper script at scripts/axe-mcp.js (Node.js — no extra dependencies) provides two tools:
analyze
Scan a live web page for accessibility violations. Requires a URL (works with localhost).
node scripts/axe-mcp.js analyze \x3Curl>
Returns JSON-RPC response. The violations are in result.content[0].text (JSON string) under the data array. Each violation has: rule, impact, description, selector, source, helpUrl.
remediate
Get AI-powered fix guidance for a specific violation. Handles HTML with quotes/brackets safely.
node scripts/axe-mcp.js remediate \x3CruleId> \x3CelementHtml> \x3CissueRemediation> [pageUrl]
Returns general_description, remediation, and code_fix in result.content[0].text.
tools-list
List available MCP tools.
node scripts/axe-mcp.js tools-list
Workflow
When modifying UI code and a live page is available:
- Analyze —
node scripts/axe-mcp.js analyze \x3Curl> - Parse — extract violations from the JSON response
- Remediate — for each unique rule violation, call remediate with ruleId, element HTML, and issue description
- Apply — implement the recommended code fixes in source
- Verify — re-run analyze to confirm zero violations
When no live page is available (static code review), apply accessibility best practices directly:
- Images:
alttext (oralt=""for decorative) - Forms: inputs need associated
\x3Clabel>elements - Interactive elements: keyboard accessible, visible focus
- Color contrast: WCAG AA (4.5:1 normal text, 3:1 large text)
- ARIA: valid, complete, not redundant with native semantics
- Headings: proper hierarchy (h1 → h2 → h3)
- Dynamic content: focus management for modals, SPAs, live regions
Notes
- Each
remediatecall uses AI credits from your organization's allocation - The analyze tool spins up a real browser in Docker — allow ~30s for results
- Works with localhost URLs for local development testing
Note: Requires a paid Axe DevTools for Web subscription.
Support
For technical support, bug reports, and feature requests:
- Email: [email protected]
- Support Portal: support.deque.com
- Support Guide
Pricing & Sales
- Product Page: deque.com/axe/mcp-server
- Contact Sales: deque.com/contact
About Deque
Deque Systems is the trusted leader in digital accessibility.
- LinkedIn: Deque Systems
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install axe-devtools - 安装完成后,直接呼叫该 Skill 的名称或使用
/axe-devtools触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Axe DevTools 是什么?
Accessibility testing and remediation using the axe MCP Server. Use when creating or modifying UI code (HTML, JSX, TSX, Vue, Svelte, CSS) to ensure accessibility compliance. Triggers on tasks involving web pages, components, forms, navigation, modals, tables, images, or any user-facing markup. Also use when explicitly asked to check accessibility or run an axe scan. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1170 次。
如何安装 Axe DevTools?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install axe-devtools」即可一键安装,无需额外配置。
Axe DevTools 是免费的吗?
是的,Axe DevTools 完全免费(开源免费),可自由下载、安装和使用。
Axe DevTools 支持哪些平台?
Axe DevTools 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Axe DevTools?
由 dylanb(@dylanb)开发并维护,当前版本 v4.0.0。