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.
Test web pages for accessibility violations and get AI-powered remediation guidance using the axe DevTools MCP Server.
Prerequisites
- Docker running locally
INLINECODE0 environment variable set
Docker image pulled: INLINECODE1
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).
CODEBLOCK0
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.
CODEBLOCK1
Returns general_description, remediation, and code_fix in result.content[0].text.
tools-list
List available MCP tools.
CODEBLOCK2
Workflow
When modifying UI code and a live page is available:
1. Analyze — INLINECODE15
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:
**Major update: Rebranded and expanded skill for axe accessibility testing**
- Renamed skill to "axe-accessibility" and updated description for clarity.
- Now leverages the axe MCP Server for automated accessibility scans and AI-powered remediation.
- Added detailed prerequisites (Docker, API key) and usage instructions for new tools: analyze, remediate, and tools-list.
- Introduced a step-by-step workflow for integrating accessibility testing into UI development.
- Included static review best practices for code without a live preview.
- Provided updated support, pricing, and company information.