Skill library / For developers

Cursor skill for accessibility audits

For front-end developers who want accessibility checked as they build rather than after launch.

Accessibility bugs are easy to ship and hard to spot. This skill makes Cursor check components against WCAG 2.2 and fix issues in place.

Use this skill nowSee the SKILL.md

Answer up to 4 quick questions, add your email, and get a version written around you, ready to paste into Cursor. Free, no account needed.

What it's good for

The SKILL.md file

Save as accessibility-audit/SKILL.md. It follows the open Agent Skills format.

---
name: accessibility-audit
description: "Audits UI code for WCAG 2.2 accessibility issues (labels, contrast, keyboard access, ARIA) and fixes them. Use when the user asks for an accessibility check, a11y audit or WCAG compliance."
---

# Accessibility Audit

## Workflow
1. Scan for images without alt text and inputs without labels
2. Check interactive elements are keyboard reachable with visible focus
3. Review ARIA usage (prefer native elements)
4. Flag colour contrast issues in styles
5. Fix issues and list each with its WCAG criterion

## Rules
- Prefer semantic HTML over ARIA
- Never remove focus outlines without a replacement
- Cite the WCAG success criterion for each fix

How to install it in Cursor

Put the folder in .cursor/skills/ (or .agents/skills/), or copy the included .mdc file into .cursor/rules/.

Example

Illustrative example. This shows the kind of request and result to expect. It is not a real conversation, and your result will depend on what you give it.

You ask: “Audit the checkout form”

What you get back: 7 issues fixed: 3 missing labels, 1 div-button, 2 contrast failures, 1 missing error announcement.

Pro tip

Set globs to your components and pages so it applies during UI work only.

Make your own version

This prompt is a good start, but it doesn't know you. Answer a few quick questions about your situation and how you like things done, and we'll write a version that does. It appears on screen with a Copy button and setup steps for your AI, and we email you a copy. Free, up to 10 a month.

Make my own version free

Questions

Does it replace testing with real users?

No. It catches common code issues. Testing with a screen reader and real users still matters.

Which standard does it use?

WCAG 2.2, the current version of the Web Content Accessibility Guidelines.

How do I install it in Cursor?

Put the folder in .cursor/skills/ (or .agents/skills/), or copy the included .mdc file into .cursor/rules/.

Is it free?

Yes. You can copy the prompt on this page for free, with no sign-up. If you want a version written around you, our generator is free too (up to 10 a month, no account needed): answer a few questions and we email you a copy.

Related skills

One small, practical way to get more from the AI you already use. Free, every Tuesday, five minutes to read.