loading…
Search for a command to run...
loading…
Enables AI coding assistants to test web accessibility by scanning URLs, detecting violations, and running focused audits on keyboard navigation, screen reader
Enables AI coding assistants to test web accessibility by scanning URLs, detecting violations, and running focused audits on keyboard navigation, screen reader compatibility, and WCAG criteria — all within the assistant's loop.
Accessibility testing that catches what axe-core misses — keyboard navigation, focus management, screen reader compatibility, and WCAG 2.2 checks that require real browser interaction.
npx aria51 https://your-site.com
No config, no API key, no setup.
Test specific accessibility dimensions that static analysis tools can't reach:
# Keyboard: tab order, focus traps, skip links, focus indicators
npx aria51 https://your-site.com --audit-keyboard
# Structure: landmarks, heading hierarchy, form labels
npx aria51 https://your-site.com --audit-structure
# Screen reader: alt text, ARIA roles, page language, labels, live regions
npx aria51 https://your-site.com --audit-screen-reader
Run a complete multi-page audit with one command — no API key needed:
npx aria51 https://your-site.com --full-audit
npx aria51 https://your-site.com --full-audit --max-pages 20
Discovers pages via sitemap and link crawling, scans every page with axe-core, runs keyboard/structure/screen-reader audits on key pages, and generates a prioritized remediation plan.
| Site | axe-core alone | + aria51 focused audits |
|---|---|---|
| Hacker News | 4 violations | + only 3 of 229 interactive elements reachable via keyboard |
| GitHub | 4 violations | + 72 tab-order, 104 focus-indicator, 15 widget keyboard issues |
| Wikipedia | 0 violations | + 699 keyboard navigation issues |
| Stripe | 0 violations | + 215 keyboard navigation issues |
aria51 ships as an MCP server so AI coding assistants can test accessibility directly. The workflow becomes: scan a URL, see violations, fix the code, re-scan to verify — all within the assistant's loop.
Add to your project's .mcp.json:
{
"mcpServers": {
"aria51": {
"command": "npx",
"args": ["-y", "@aria51/mcp"]
}
}
}
Add aria51-mcp as an MCP command in your editor's MCP settings.
| Tool | Description |
|---|---|
scan_url |
Scan a URL for accessibility violations |
scan_urls |
Batch scan multiple URLs |
get_accessibility_tree |
Get page semantic structure |
explain_violation |
Explain an axe-core rule and how to fix it |
list_wcag_criteria |
Look up WCAG 2.2 criteria by level, principle, or keyword |
test_keyboard |
Test keyboard navigation (tab order, focus traps, indicators) |
analyze_structure |
Analyze landmarks, headings, form labels |
test_screen_reader |
Simulate screen reader navigation |
discover_pages |
Find all pages on a site via sitemap + link crawling |
run_full_audit |
Complete WCAG compliance audit with remediation plan |
# Exit code 1 if any violations found
npx aria51 https://your-site.com --ci --threshold 0
# Allow up to 5 violations
npx aria51 https://your-site.com --ci --threshold 5
# JSON output for automation
npx aria51 https://your-site.com --output report.json
- name: Accessibility check
run: npx aria51 https://your-staging-url.com --ci --threshold 0
# Multiple URLs
npx aria51 https://your-site.com https://your-site.com/about
# Browser options
npx aria51 https://your-site.com --browser firefox
npx aria51 https://your-site.com --mobile
npx aria51 https://your-site.com --headless=false
# Filtering
npx aria51 https://your-site.com --tags wcag2aa
npx aria51 https://your-site.com --disable-rules color-contrast
npx aria51 https://your-site.com --exclude ".cookie-banner,.modal"
# Component attribution (auto-detected for React, Vue, Svelte, Solid)
npx aria51 https://your-site.com --no-components # disable
# AI-enhanced deep analysis (requires OPENAI_API_KEY)
npx aria51 https://your-site.com --audit-keyboard --deep
| Package | Description |
|---|---|
| @aria51/core | Scanning engine, focused audits, full audit pipeline, WCAG 2.2 checks, component attribution |
| @aria51/ai-auditor | AI-enhanced deep analysis via Stagehand |
| aria51 | Terminal interface. Binary: aria51 |
| @aria51/mcp | MCP server with 10 tools for AI assistant integration |
# Install dependencies and build
pnpm install && pnpm build
# Watch mode (all packages)
pnpm dev
# Run tests
pnpm test
# Build/test a specific package
pnpm --filter @aria51/core build
pnpm --filter @aria51/core test
Requirements: Node.js 18+, pnpm 8+, Playwright browsers (npx playwright install chromium)
--deep modeВыполни в терминале:
claude mcp add aria51-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.