accessibility-testing

Automates WCAG 2.1 accessibility checks in Playwright using axe-core.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/AbhiRKeesara/test-automation-skills --skill accessibility-testing-abhirkeesara
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accessibility-testing
Source: https://github.com/AbhiRKeesara/test-automation-skills/tree/main/skills/accessibility-testing
Command: npx skills add https://github.com/AbhiRKeesara/test-automation-skills --skill accessibility-testing-abhirkeesara

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Accessibility testing is often manual and error-prone; this skill automates WCAG checks in Playwright using axe-core to ensure consistent conformance.

Core Features & Use Cases

  • Automated WCAG checks on pages and components during Playwright test runs.
  • Keyboard navigation and screen reader compatibility testing patterns.
  • CI/CD integration to enforce accessibility before release.

Quick Start

Install the package: npm install --save-dev @axe-core/playwright In a Playwright test, create an AxeBuilder instance and run analyze(), then assert that violations is empty.

Frequently Asked Questions about accessibility-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate WCAG checks in Playwright tests?

Automate WCAG checks in Playwright by installing @axe-core/playwright, creating an AxeBuilder instance, running analyze(), and asserting that the violations array is empty to catch accessibility issues.

Can I validate keyboard navigation and screen reader compatibility with axe-core?

Yes, axe-core validates keyboard navigation and screen reader compatibility by injecting rules into Playwright test runs, ensuring components meet WCAG 2.1 standards for interactive elements.

What is the best way to integrate accessibility testing into a CI/CD pipeline?

Integrate accessibility testing into CI/CD by running Playwright test suites containing axe-core assertions to enforce WCAG compliance automatically before release.

Does this automated accessibility testing approach verify color contrast?

Automated accessibility testing with axe-core verifies color contrast across pages and components during Playwright runs, catching WCAG 2.1 visual compliance violations.

Do I need to install additional packages to run accessibility checks in Playwright?

Yes, you need to install the @axe-core/playwright package as a development dependency to enable automated WCAG checks within your existing Playwright test suite.

Why are my manual accessibility checks missing WCAG violations?

Manual accessibility checks are error-prone; automating them with axe-core in Playwright ensures consistent WCAG conformance by programmatically analyzing pages and components for violations.