AcademyRulesDevelopment

Playwright accessibility testing rules for Cursor

QA and front-end teams checking that their web app is usable by people with disabilities.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/playwright-accessibility-testing-cursorrules-prompt-file.mdc -o .cursor/rules/playwright-accessibility-testing.mdc
playwright-accessibility-testing.mdc

Loading the file...

What it does

A Cursor rules file for writing accessibility tests with Playwright and TypeScript. It uses @axe-core/playwright to check critical user flows against WCAG 2.1 AA, and covers viewports, color contrast, focus order, ARIA use and notes on how to fix common violations.

Use cases

  1. 01Run axe checks on a checkout or signup flow
  2. 02Test keyboard focus order across screen sizes
  3. 03Document fixes for accessibility violations

Questions about
Playwright accessibility testing rules for Cursor.

What is Playwright accessibility testing rules for Cursor used for?

QA and front-end teams checking that their web app is usable by people with disabilities. A Cursor rules file for writing accessibility tests with Playwright and TypeScript. It uses @axe-core/playwright to check critical user flows against WCAG 2.1 AA, and covers viewports, color contrast, focus order, ARIA use and notes on how to fix common violations.

How do I install Playwright accessibility testing rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/playwright-accessibility-testing-cursorrules-prompt-file.mdc -o .cursor/rules/playwright-accessibility-testing.mdc

Is Playwright accessibility testing rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Playwright accessibility testing rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.