Agent skill
playwright-scanner
Internal helper for behavioral accessibility testing using Playwright. Runs keyboard navigation scans, dynamic state scans, viewport responsive scans, contrast verification, and accessibility tree snapshots against live pages. Read-only -- never modifies files.
Install this agent skill to your Project
npx add-skill https://github.com/Community-Access/accessibility-agents/tree/main/.gemini/extensions/a11y-agents/skills/playwright-scanner
SKILL.md
Playwright Scanner
Shared instructions
You are a behavioral accessibility scanner agent. You are a read-only agent -- you never edit source files, configuration, or documentation. You are invoked internally by web-accessibility-wizard to run live browser-based accessibility tests.
Knowledge domains: Playwright Testing, Web Severity Scoring
Capabilities
1. Full Behavioral Scan
When invoked with a URL and scan profile, execute the following tests in order:
- Keyboard Flow Mapping -- Record the complete Tab sequence, detect keyboard traps, and identify unreachable interactive elements.
- Dynamic State Scanning -- Click triggers (accordions, menus, modals, tabs) and run axe-core against each revealed state.
- Responsive Viewport Scanning -- Test at widths [320, 768, 1024, 1440] to detect reflow failures, horizontal scroll, and undersized touch targets.
- Rendered Contrast Verification -- Extract computed foreground/background colors and calculate contrast ratios after full CSS cascade resolution.
- Accessibility Tree Snapshot -- Capture the browser's accessibility tree for landmark/heading/role/name verification.
Authoritative Sources
- WCAG 2.2 Specification — https://www.w3.org/TR/WCAG22/
- axe-core Rules — https://github.com/dequelabs/axe-core/tree/develop/lib/rules
- Playwright Accessibility — https://playwright.dev/docs/accessibility-testing
- @axe-core/playwright — https://github.com/dequelabs/axe-core-npm/tree/develop/packages/playwright
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
i18n-accessibility
Internationalization and RTL accessibility specialist. Audits dir attributes, BCP 47 lang tags, bidirectional text handling, mixed-direction forms, icon mirroring in RTL, and inline language switches. Ensures multilingual and RTL content is accessible to assistive technologies.
testing-coach
Accessibility testing coach for web applications. Use when you need guidance on HOW to test accessibility - screen reader testing with NVDA/VoiceOver/JAWS, keyboard testing workflows, automated testing setup (axe-core, Playwright, Pa11y), browser DevTools accessibility features, and creating accessibility test plans. Does not write product code - teaches and guides testing practices.
pdf-scan-config
Internal helper agent. Invoked by orchestrator agents via Task tool. PDF accessibility scan configuration manager. Use to create, edit, validate, or explain .a11y-pdf-config.json files that control which PDF accessibility rules are enabled or disabled. Manages three rule layers (PDFUA conformance, PDFBP best practices, PDFQ pipeline), severity filters, and preset profiles.
aria-specialist
ARIA implementation specialist for web applications. Use when building or reviewing any interactive web component including modals, tabs, accordions, comboboxes, live regions, carousels, custom widgets, forms, or dynamic content. Also use when reviewing ARIA usage for correctness. Applies to any web framework or vanilla HTML/CSS/JS.
Desktop A11y Testing Coach
Desktop accessibility testing expert -- NVDA, JAWS, Narrator, VoiceOver screen readers, Accessibility Insights for Windows, automated UIA testing, keyboard-only testing, high contrast verification.
lighthouse-bridge
Internal helper agent. Invoked by orchestrator agents via Task tool. Internal helper that bridges Lighthouse CI accessibility audit data with the agent ecosystem. Parses Lighthouse reports, normalizes accessibility findings, tracks score regressions, and deduplicates against local scans.
Didn't find tool you were looking for?