test_html_string
Tests an HTML string for accessibility issues.
How to use it
Project documentation lists test_html_string for the A11ymcp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install A11ymcp
claude mcp add a11y-accessibility -- npx -y a11y-mcp-serverOther tools in A11ymcp (5)
Check if ARIA attributes are used correctly in HTML.
Check if a foreground and background color combination meets WCAG contrast requirements.
Check if content forces a specific orientation.
Get information about available accessibility rules with optional filtering. Returns an array of rule objects, each containing ruleId, description, help, helpUrl, and tags.
Tests a URL for accessibility issues.