writing-accessibility-tests

Community

Two-layer Playwright accessibility tests.

Authormattobee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates web accessibility testing by combining axe-core scans with Playwright assertions to identify and prevent accessibility regressions early in the development process.

Core Features & Use Cases

  • Two-layer testing approach: automated axe-core scans plus targeted Playwright assertions to cover gaps in accessibility coverage.
  • Setup and reuse: provides a reusable scan function and fixture patterns to minimize boilerplate in test suites.
  • Real-world guidance: includes practical patterns for accessible names, landmarks, ARIA states, focus management, and dark mode scanning.

Quick Start

Run a test that performs an axe-core WCAG scan followed by targeted Playwright assertions for accessible names and landmarks.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-accessibility-tests
Download link: https://github.com/mattobee/skills/archive/main.zip#writing-accessibility-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.