Pa11y Accessibility Testing CLI and CI

Pa11y is a real open-source accessibility testing tool that lets agents audit pages for WCAG issues from the command line or in CI. This skill uses Pa11y to turn page-level accessibility checks into actionable reports with issue counts, selectors, and remediation context.

agentskillexchange Updated 28 repo stars

File contents

Pa11y Accessibility Testing CLI and CI

Pa11y is a real open-source accessibility testing tool that lets agents audit pages for WCAG issues from the command line or in CI. This skill uses Pa11y to turn page-level accessibility checks into actionable reports with issue counts, selectors, and remediation context.

Installation

Use the upstream install or setup path that matches your environment:

  • brew install nvm
  • npm install -g pa11y
  • npm install pa11y --save-dev
  • npm run lint # Lint the code

Requirements and caveats from upstream:

  • Pa11y is your automated accessibility testing pal. It runs accessibility tests on your pages via the command line or Node.js, so you can automate your testing process.
  • [![Node.js version support][shield-node]][info-node]
  • const pa11y = require('pa11y');

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/pa11y-accessibility-testing-cli-and-ci commit febdbc9ef8

Frequently asked questions

npx skillmds@latest add agentskillexchange/pa11y-accessibility-testing-cli-and-ci