Accessibility test runner

From a5c-ai/babysitter · View interactive version

Accessibility test runner is an AI agent skill from the GitHub repository a5c-ai/babysitter. Run accessibility audits with axe-core and screen reader testing for desktop applications

How to use this skill

Skill file

accessibility-test-runner

Run accessibility audits for desktop applications using axe-core and configure screen reader testing.

Capabilities

Input Schema

{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "wcagLevel": { "enum": ["A", "AA", "AAA"] },
    "testFramework": { "enum": ["playwright", "cypress", "jest"] }
  },
  "required": ["projectPath"]
}

Playwright + axe-core

import { test, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';

test('accessibility audit', async ({ page }) => {
  await page.goto('/');

  const accessibilityScanResults = await new AxeBuilder({ page })
    .withTags(['wcag2a', 'wcag2aa'])
    .analyze();

  expect(accessibilityScanResults.violations).toEqual([]);
});

Screen Reader Testing

Configure NVDA (Windows), VoiceOver (macOS), or Orca (Linux) testing workflows.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.