About io.github.rog0x/a11y
io.github.rog0x/a11y is an MCP server published by rog0x in the Developer Tools category: alt text, headings, contrast, ARIA for AI agents.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
claude mcp add io-github-rog0x-a11y -- npx -y @rog0x/mcp-a11y-toolsnpx -y @rog0x/mcp-a11y-toolsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (5)
check_alt_textAnalyze images in HTML for missing, empty, or low-quality alt text. Reports which images need alt text, which use decorative (empty) alt, and which are properly labeled. Also checks linked images and input[type=image].
Parameters not published.
check_color_contrastCheck WCAG 2.x contrast ratio between a foreground and background color pair. Reports AA and AAA compliance for both normal and large text. Accepts hex (#fff, #ffffff), rgb(r,g,b), or named colors.
Parameters not published.
check_form_accessibilityCheck form elements for accessibility: verifies labels are associated with inputs, radio/checkbox groups use fieldset/legend, placeholder is not used as sole label, autocomplete hints on personal info fields, and detects duplicate IDs.
Parameters not published.
check_heading_hierarchyValidate heading structure in HTML: checks for proper h1-h6 nesting order, no skipped levels, single h1, empty headings, and heading content quality. Returns a visual tree of the heading structure.
Parameters not published.
validate_ariaValidate ARIA attributes in HTML: checks for invalid roles, missing required ARIA properties, redundant ARIA on native elements, aria-label on non-interactive elements, and aria-hidden on focusable elements.
Parameters not published.
Ask AI
Ask AI about io.github.rog0x/a11y
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
mcp-a11y-tools
Web accessibility analysis tools for AI agents, served over the Model Context Protocol (MCP).
Tools
check_alt_text
Analyze images in HTML for missing, empty, or low-quality alt text.
- Detects missing
altattributes - Identifies decorative images (
alt=""withrole="presentation") - Flags low-quality alt text (e.g., "image", "photo", filenames)
- Checks linked images,
<input type="image">, and<area>elements
check_heading_hierarchy
Validate heading structure for proper nesting and content quality.
- Verifies h1-h6 order with no skipped levels
- Ensures a single
<h1>per page - Detects empty, too-short, or too-long headings
- Supports
role="heading"witharia-level - Returns a visual tree of the heading outline
check_color_contrast
Check WCAG 2.x contrast ratio for foreground/background color pairs.
- Calculates precise contrast ratio per WCAG relative luminance formula
- Reports AA and AAA compliance for normal and large text
- Accepts hex (
#fff,#ffffff),rgb(r,g,b), and named colors
validate_aria
Validate ARIA attributes on HTML elements.
- Detects invalid ARIA roles
- Checks for missing required ARIA properties per role
- Flags redundant ARIA roles that match native semantics
- Warns about
aria-labelon non-interactive elements - Catches
aria-hidden="true"on focusable elements
check_form_accessibility
Audit form elements for accessibility compliance.
- Verifies every input has an associated label (explicit, implicit, or ARIA)
- Checks radio/checkbox groups for
<fieldset>and<legend> - Flags placeholder text used as the only label
- Suggests
autocompleteattributes for personal info fields - Detects duplicate IDs that break label association
Setup
npm install
npm run build
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"a11y-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-a11y-tools/dist/index.js"]
}
}
}
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.