{
  "markdown": "\n# mcp-a11y-tools\n\nWeb accessibility analysis tools for AI agents, served over the Model Context Protocol (MCP).\n\n## Tools\n\n### check_alt_text\nAnalyze images in HTML for missing, empty, or low-quality alt text.\n- Detects missing `alt` attributes\n- Identifies decorative images (`alt=\"\"` with `role=\"presentation\"`)\n- Flags low-quality alt text (e.g., \"image\", \"photo\", filenames)\n- Checks linked images, `<input type=\"image\">`, and `<area>` elements\n\n### check_heading_hierarchy\nValidate heading structure for proper nesting and content quality.\n- Verifies h1-h6 order with no skipped levels\n- Ensures a single `<h1>` per page\n- Detects empty, too-short, or too-long headings\n- Supports `role=\"heading\"` with `aria-level`\n- Returns a visual tree of the heading outline\n\n### check_color_contrast\nCheck WCAG 2.x contrast ratio for foreground/background color pairs.\n- Calculates precise contrast ratio per WCAG relative luminance formula\n- Reports AA and AAA compliance for normal and large text\n- Accepts hex (`#fff`, `#ffffff`), `rgb(r,g,b)`, and named colors\n\n### validate_aria\nValidate ARIA attributes on HTML elements.\n- Detects invalid ARIA roles\n- Checks for missing required ARIA properties per role\n- Flags redundant ARIA roles that match native semantics\n- Warns about `aria-label` on non-interactive elements\n- Catches `aria-hidden=\"true\"` on focusable elements\n\n### check_form_accessibility\nAudit form elements for accessibility compliance.\n- Verifies every input has an associated label (explicit, implicit, or ARIA)\n- Checks radio/checkbox groups for `<fieldset>` and `<legend>`\n- Flags placeholder text used as the only label\n- Suggests `autocomplete` attributes for personal info fields\n- Detects duplicate IDs that break label association\n\n## Setup\n\n```bash\nnpm install\nnpm run build\n```\n\n## Usage with Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"a11y-tools\": {\n      \"command\": \"node\",\n      \"args\": [\"D:/products/mcp-servers/mcp-a11y-tools/dist/index.js\"]\n    }\n  }\n}\n```\n\n## License\n\nMIT\n",
  "bytes": 2054,
  "sha": "1f6121258983f1c49b5455da27710d97eb607d85b8de4ddf2eba8b0df35a1440",
  "repo_slug": "rog0x/mcp-a11y-tools",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_rog0x_a11y_c98ebe13/readme"
}