Skip to content

Accessibility pass to WCAG 2.2 AA

Make your main pages and flows usable by keyboard and screen reader, with readable contrast.

  • Free, no sign-up
  • 2 to 3 hours with an agent
  • By Devvrat Hans
  • Version 1.0, updated Oct 26, 2026

1Your site and stack

Optional. The prompt adapts as you type; leave a field blank and the agent works it out.

2Copy it into your agent

accessibility-pass.md62 lines, about 886 tokens

Paste into any coding agent: Claude Code, Cursor, Codex, Copilot, Windsurf or Cline.

# Accessibility pass to WCAG 2.2 AA

Launch visitors to the production site include people who use keyboards, screen readers, zoom and high-contrast settings. Accessibility problems also tend to be the same ones that confuse everyone else. Review the main pages and flows against WCAG 2.2 AA and fix what blocks people, starting with sign-up.

Site: not given. Find the production URL in the project config, or ask me.

## Ground rules

1. Read before you write. Explore the parts of the codebase this job touches and tell me what is already in place.
2. Plan, then stop. Give me a numbered plan: what you will change, in which files, and why. Wait for my approval before editing anything.
3. Fix things at their source (the shared layout, the config, the generator), not with one-off patches page by page.
4. Keep the project's conventions: its framework APIs, file layout, naming and code style. Add no new dependency without asking.
5. Where something is already done well, say so and leave it alone.

## You will not

- Edit `.env` files, secrets or API keys, or print their values.
- Deploy, push, merge or publish anything.
- Delete data, or run migrations or scripts against a production database.
- Add tracking, third-party scripts or links to any site I did not ask for.
- Change copy, design or behaviour that this job does not need.
- Change the visual design beyond what accessibility needs without showing me first.
- Add an accessibility overlay widget.

## Your stack

- Framework: Work out the framework, router and build output from the project files (package.json, lockfiles, framework config) before planning, and say which you found.
- Host: Work out where the site is hosted from the config files (vercel.json, netlify.toml, wrangler config, Dockerfile, fly.toml) and say which you found.

## Steps

### 1. Pick the flows and check them

Cover the landing page, pricing, sign-up, login and the first screen of the product. For each, check: every action works with the keyboard alone in a sensible order; focus is always visible; nothing traps focus except open dialogs, which return focus when closed.

### 2. Names and structure

Every input has a visible label tied to it; every button and link has an accessible name (icon buttons get `aria-label`); images have meaningful `alt` text or `alt=""` when decorative; each page has one `h1` and headings in order; landmarks (`header`, `nav`, `main`, `footer`) are present.

### 3. Visual

Text contrast at least 4.5:1 (3:1 for large text and UI components), nothing conveyed by color alone, content usable at 200% zoom and 320px wide, click targets at least 24 by 24 pixels, and motion reduced when `prefers-reduced-motion` is set.

### 4. Forms and feedback

Errors are announced and tied to their fields, required fields are marked in text, and status messages (saved, sent, failed) use a live region so screen readers hear them. Fix at the shared component level so every page benefits.

## Done means

- [ ] Every main flow works by keyboard with visible focus and no focus traps.
- [ ] Inputs, buttons, links and images have accessible names; pages have one h1 and ordered headings.
- [ ] Contrast meets 4.5:1, targets are at least 24px, and pages work at 200% zoom.
- [ ] Form errors and status messages are announced to screen readers.

## Report back

When you finish, give me:

- what you changed, file by file;
- anything you skipped, and why;
- anything I must do by hand (DNS records, dashboards, accounts, deploys);
- how to check each change on the live site.

One-line version

For agents that can read a URL. It fetches this prompt with your settings applied.

Read https://abacklaunch.com/prompts/accessibility-pass.md and follow it for this project.

3Check the result

When the changes are live, run these free checks. Add your site URL above and each one opens already running on it.

This prompt will not

  • Edit .env files, secrets or API keys, or print their values.
  • Deploy, push, merge or publish anything.
  • Delete data, or run migrations or scripts against a production database.
  • Add tracking, third-party scripts or links to any site I did not ask for.
  • Change copy, design or behaviour that this job does not need.
  • Change the visual design beyond what accessibility needs without showing me first.
  • Add an accessibility overlay widget.

It reads your code first, shows you a plan, and waits for your approval before it changes anything.

What you get

  • An accessibility review of your main flows
  • Fixes in shared components, so every page benefits
  • Keyboard, contrast, label and screen reader issues closed

How to use this prompt

  1. 1

    Describe your stack

    Add your site, framework and host. The prompt adapts; blank fields are left for the agent to work out.

  2. 2

    Paste it into your agent

    Open your project in Claude Code, Cursor, Codex, Copilot, Windsurf or Cline, and paste the prompt or the one-line version.

  3. 3

    Approve the plan

    The agent reads your code, shows you a plan with the files it will touch, and waits. Change anything you disagree with.

  4. 4

    Check the result

    When the changes are live, run the free checks below on your site to confirm each fix.

What the agent does

Launch visitors to the production site include people who use keyboards, screen readers, zoom and high-contrast settings. Accessibility problems also tend to be the same ones that confuse everyone else. Review the main pages and flows against WCAG 2.2 AA and fix what blocks people, starting with sign-up.

  1. 1. Pick the flows and check them

    Cover the landing page, pricing, sign-up, login and the first screen of the product. For each, check: every action works with the keyboard alone in a sensible order; focus is always visible; nothing traps focus except open dialogs, which return focus when closed.

  2. 2. Names and structure

    Every input has a visible label tied to it; every button and link has an accessible name (icon buttons get aria-label); images have meaningful alt text or alt="" when decorative; each page has one h1 and headings in order; landmarks (header, nav, main, footer) are present.

  3. 3. Visual

    Text contrast at least 4.5:1 (3:1 for large text and UI components), nothing conveyed by color alone, content usable at 200% zoom and 320px wide, click targets at least 24 by 24 pixels, and motion reduced when prefers-reduced-motion is set.

  4. 4. Forms and feedback

    Errors are announced and tied to their fields, required fields are marked in text, and status messages (saved, sent, failed) use a live region so screen readers hear them. Fix at the shared component level so every page benefits.

Done means

  • Every main flow works by keyboard with visible focus and no focus traps.
  • Inputs, buttons, links and images have accessible names; pages have one h1 and ordered headings.
  • Contrast meets 4.5:1, targets are at least 24px, and pages work at 200% zoom.
  • Form errors and status messages are announced to screen readers.

Questions

What about accessibility overlay widgets?

Overlays do not fix the underlying code, often get in the way of screen readers, and have not protected sites from complaints. Fixing the components is the real solution.

What is new in WCAG 2.2?

Among others: a minimum target size of 24 by 24 pixels, focus that is not hidden behind sticky headers, and not requiring people to re-enter information they already gave.

Do I need to test with a screen reader?

A quick pass with VoiceOver (Mac and iPhone) or NVDA (Windows) on sign-up catches problems automated checks miss. The prompt covers the code side.

Does this prompt add links to Aback Launch to my site?

No. Nothing in the prompt mentions Aback Launch or asks your agent to link to us. The only exception is an optional badge step, which stays off unless you tick it. Some prompt libraries slip their own link into your codebase by default; we think that should always be your choice.

Which coding agents does it work with?

Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and any agent that can read your project and edit files. You can copy it as a plain prompt, save it as a Claude Code skill or a Cursor rule, or add it to AGENTS.md.

Is it safe to run on my real codebase?

The prompt makes the agent read first, show a plan and wait for your approval, and it forbids touching secrets, deploying and deleting data. Still review the changes and run your tests before you deploy, as with any change.

Changelog

  • v1.0First version.

Launch your startup on Aback Launch

Get a launch page that search engines and AI assistants can read, a place in the weekly launch list, and a review by a real person. Free to join.