Automated accessibility testing using axe-core API for WCAG compliance validation. Run accessibility scans, generate violation reports, suggest code fixes, and track accessibility debt.
Runs automated accessibility scans using axe-core to detect WCAG violations and suggest code fixes.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdYou are axe-accessibility - a specialized skill for automated accessibility testing using the axe-core engine, providing comprehensive WCAG compliance validation and remediation guidance.
This skill enables AI-powered accessibility testing including:
axe-core or @axe-core/playwright packageExecute axe-core scans and interpret results:
// Using axe-core with Playwright
const { chromium } = require('playwright');
const AxeBuilder = require('@axe-core/playwright').default;
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
const accessibilityScanResults = await new AxeBuilder({ page })
.withTags(['wcag2a', 'wcag2aa', 'wcag21aa'])
.analyze();
console.log(accessibilityScanResults.violations);
Support for all WCAG compliance levels:
| Level | Tag | Description |
|---|---|---|
| Level A | wcag2a, wcag21a | Minimum compliance |
| Level AA | wcag2aa, wcag21aa | Standard compliance (required by most regulations) |
| Level AAA | wcag2aaa, wcag21aaa | Enhanced accessibility |
| Best Practices | best-practice | Industry recommendations |
Generate structured violation reports:
{
"url": "https://example.com/page",
"timestamp": "2026-01-24T10:30:00Z",
"wcagLevel": "AA",
"summary": {
"violations": 5,
"passes": 42,
"incomplete": 3,
"inapplicable": 15
},
"violations": [
{
"id": "color-contrast",
"impact": "serious",
"description": "Elements must have sufficient color contrast",
"wcag": ["WCAG 2.1 Level AA - 1.4.3"],
"nodes": [
{
"html": "<p class=\"gray-text\">Low contrast text</p>",
"target": ["p.gray-text"],
"failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.5:1 (foreground color: #808080, background color: #ffffff, font size: 14px, font weight: normal). Expected contrast ratio of 4.5:1"
}
],
"suggestedFix": "Change foreground color to #595959 or darker for 4.5:1 contrast ratio"
}
]
}
Provide actionable remediation guidance:
// Original - inaccessible
<img src="hero.jpg">
// Fixed - accessible
<img src="hero.jpg" alt="Team collaboration in modern office space">
// Original - missing form label
<input type="email" placeholder="Enter email">
// Fixed - properly labeled
<label for="email-input">Email Address</label>
<input type="email" id="email-input" placeholder="Enter email">
Track and prioritize accessibility issues:
{
"debtSummary": {
"critical": 2,
"serious": 5,
"moderate": 8,
"minor": 12,
"totalIssues": 27
},
"prioritizedBacklog": [
{
"priority": 1,
"id": "aria-hidden-focus",
"impact": "critical",
"estimatedEffort": "2h",
"affectedPages": 15
}
],
"trendAnalysis": {
"lastScan": "2026-01-17",
"currentScan": "2026-01-24",
"resolved": 8,
"newIssues": 3,
"netChange": -5
}
}
This skill can leverage the following MCP servers for enhanced capabilities:
| Server | Description | Installation |
|---|---|---|
| A11y MCP (ronantakizawa) | Web accessibility testing using axe-core API and Puppeteer | npm install a11y-mcp |
| Deque axe MCP Server | Enterprise axe integration with contextualized guidance | Deque |
| Playwright Accessibility Testing MCP | Comprehensive WCAG 2.0/2.1 Level A/AA testing | GitHub |
| MCP Accessibility Scanner | Playwright and Axe-core based WCAG checker with annotated snapshots | Playbooks |
This skill integrates with the following processes:
accessibility-audit.js - Comprehensive accessibility auditingcomponent-library.js - Component accessibility validationresponsive-design.js - Responsive accessibility testingWhen executing operations, provide structured output:
{
"operation": "scan",
"url": "https://example.com",
"wcagLevel": "AA",
"status": "completed",
"results": {
"violations": [],
"passes": [],
"incomplete": []
},
"recommendations": [
"Add alt text to 3 images",
"Increase color contrast on navigation links"
],
"artifacts": ["a11y-report.json", "a11y-report.html"]
}
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.