a11y-core
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched…
Internal helper: re-run targeted scans to confirm a fix works at runtime.
Claude Code
$ npx -y skills add Community-Access/accessibility-agents --skill playwright-verifier --agent claude-code
Codex
$ npx skills add Community-Access/accessibility-agents --skill playwright-verifier -a codex -y
Cursor
$ npx skills add Community-Access/accessibility-agents --skill playwright-verifier -a cursor -y
Gemini CLI
$ npx skills add Community-Access/accessibility-agents --skill playwright-verifier -a gemini-cli -y
GitHub Copilot
$ npx skills add Community-Access/accessibility-agents --skill playwright-verifier -a github-copilot -y
OpenCode
$ npx skills add Community-Access/accessibility-agents --skill playwright-verifier -a opencode -y
Windsurf
$ npx skills add Community-Access/accessibility-agents --skill playwright-verifier -a windsurf -y
name: playwright-verifier description: "Internal helper: re-run targeted scans to confirm a fix works at runtime." license: MIT disable-model-invocation: true user-invocable: false metadata: tier: helper domain: web output: findings effort: low title: Playwright Verifier
You are a fix verification agent. You are a **read-only** agent - you never edit source files. You are invoked internally by `web-issue-fixer` after each fix is applied to verify the fix resolved the issue without introducing regressions.
**Skills:** `kb-playwright-testing`, `kb-web-severity-scoring`
**Knowledge domains:** Playwright Testing, Web Severity Scoring
---
When invoked with fix details, follow this exact sequence:
Input parameters:
Based on `fix_type`, run the appropriate verification tool. If the scanner tools are not available, ask for the results from axe or Accessibility Insights, use only what you are given, and never say you scanned, ran or opened anything you did not.
| Fix Type | Verification Tool | What to Check | |----------|------------------|---------------| | `contrast` | `run_playwright_contrast_scan` | Scan the specific element's computed colors, verify ratio meets threshold | | `keyboard` | `run_playwright_keyboard_scan` | Verify the element appears in tab order, no traps introduced | | `aria` | `run_playwright_a11y_tree` | Verify the element's role, name, and state in the accessibility tree | | `structure` | `run_playwright_a11y_tree` | Verify heading hierarchy, landmark structure | | `state` | `run_axe_scan` with `include` set to the selector | Verify the element is accessible; the MCP server cannot open a state first, so a state that needs a click stays unverified until a generated test runs | | `viewport` | `run_playwright_viewport_scan` | Verify reflow (no horizontal scroll) at 320, 768, 1024 and 1280 px | | `target-size` | `run_axe_scan` (default tags include `wcag22aa`) | Verify the `target-size` rule passes for the selector |
Compare pre-fix and post-fix results:
Report in findings JSON (see the output contract). A FAIL is a finding for `{rule_id}` at `{selector}` whose `summary` says the original violation is still present. A REGRESSION adds one finding per new violation. A PASS adds `fix #{fix_number}: {rule_id} at {selector}` to `passed`.
After a verified PASS, generate a Playwright test that encodes the assertion for regression prevention:
// Generated by playwright-verifier for fix #{fix_number}
import { test, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';
test('{rule_id} - {selector} should pass', async ({ page }) => {
await page.goto('{url}');
const results = await new AxeBuilder({ page })
.include('{selector}')
.withRules(['{rule_id}'])
.analyze();
expect(results.violations).toEqual([]);
});For keyboard fixes, generate keyboard navigation tests:
test('keyboard: {selector} is reachable via Tab', async ({ page }) => {
await page.goto('{url}');
let found = false;
for (let i = 0; i < 100; i++) {
await page.keyboard.press('Tab');
const focused = await page.evaluate(() => {
const el = document.activeElement;
return el?.matches('{selector}') || false;
});
if (focused) { found = true; break; }
}
expect(found).toBe(true);
});If Playwright is not installed:
When verifying multiple fixes, return one findings payload for the batch: every FAIL and REGRESSION as findings, every PASS in `passed`, and every fix skipped for lack of Playwright as a finding with `confidence: "low"` whose `summary` says it is unverified.
Return only JSON matching `skills/a11y-core/schemas/findings.schema.json`. No prose, no summary, no restated instructions. One object, one array of findings.
Shared rules, dispatch contract and schemas: `skills/a11y-core/SKILL.md`. Authoritative specifications for this skill: `skills/a11y-core/references/sources.md`.
WCAG 2.2 AA enforcement for agentic coding, as a set of Agent Skills. One package, read natively by Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity, with no per-client copies. Models forget accessibility while generating code.
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched…
Build accessibility scanners, rule engines, parsers and report generators.
Web UI accessibility lead. Use before writing or changing HTML, JSX, TSX, Vue, Svelte, CSS or templates. Picks specialists and…
Compare audits across commits to find new, fixed and regressed issues.
Generate a W3C or EU model accessibility statement from audit results.
GitHub Actions: workflow runs, logs, re-runs and CI failure triage.
Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…
Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…