RuleMembers

Cypress accessibility testing Cursor rules

This Cursor rule file has the assistant act as a QA engineer writing accessibility tests with Cypress and TypeScript. It is for teams who want key pages checked against WCAG standards with the wick-a11y package, including keyboard navigation and ARIA attributes.

What it does

Cursor checks for TypeScript by looking for tsconfig.json, .ts or .tsx files in the cypress/ folder, or TypeScript dependencies. Tests cover critical flows and pages, verify accessibility best practices and document which concern each test covers, using a login page as the example.

How to use it

Ask for an accessibility test for a page; the rule applies to the whole project.

Requirements and limits

You need the wick-a11y package installed in your Cypress setup.

More in Rules and the Cursor library.

The full text is in the members library

Book a call and we will give you access to the full Cursor library: every entry in full, search by meaning, copy and download.

Source and license

Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/cypress-accessibility-testing-cursorrules-prompt-file.mdc

Author: PatrickJS, Awesome cursorrules. License: CC0-1.0.

Related entries