Skip to main content
Brian Schwartz
← All Articles

Run an Accessibility Audit With AI, Then Never Stop

Brian SchwartzDecember 20266 min read
  • Accessibility
  • AI Tools
  • Workflow
A blue knit beanie beside a checklist of accessibility checks: contrast, keyboard, focus, names and labels, and screen reader

Yesterday was the 20th Blue Beanie Day. Every November 30 since 2007, people who build for the web have put on a blue hat to support web standards and accessibility. Douglas Vos started it, and Jeffrey Zeldman, whose blue cap is on the cover of Designing with Web Standards, made it popular. I reposted this one.

Then I went back through my own posts. In 2009 I was telling someone about my blue beanie for web standards. In 2010 I wrote that wearing it was fitting because I was validating XHTML for a site at that moment. My wife and kids bought me a real one for Christmas in 2011. Here's me in it, from 2012.

Validating markup was something you did by hand, one page at a time. Checking accessibility took even longer, so it often waited for a launch checklist or a complaint. AI changes the math. Point a tool at your site and you get a first list of problems and fixes in minutes.

This Is Part of the Job Now

Treat accessibility like tests or a security review. You run it on every project and you keep running it, because every new component can break something that passed last week. The people on the other end use screen readers, keyboards, zoom and voice control. If a button has no name or a dialog traps focus, they can't finish what they came to do.

WCAG AA in Two Minutes

The Web Content Accessibility Guidelines (WCAG) come from the W3C. They are organized around four principles. Content has to be perceivable, operable, understandable and robust. Each requirement is graded A, AA or AAA, and AA is the level most laws and contracts point to. Meeting it means passing every A and AA requirement. In practice you will spend a lot of time on these:

  • Text contrast of at least 4.5:1, or 3:1 for large text.
  • Everything works from a keyboard, and you can see where focus is.
  • Images that carry meaning have text alternatives.
  • Form fields have labels, and errors say what went wrong.
  • Custom controls expose a name, role and state to assistive technology.
  • In version 2.2, pointer targets of at least 24 by 24 CSS pixels, with some exceptions.

WCAG 2.2 is the current version. Some laws still name 2.1. Content that meets 2.2 AA also meets 2.1 AA, so aim for the newer one.

What Skipping It Costs

The first cost is people who can't use your product. The legal exposure is real too. This is a summary and not legal advice.

  • US lawsuits. UsableNet counted more than 5,000 digital accessibility lawsuits in 2025. Of those, 1,427 targeted companies that had already faced a claim. E-commerce drew most of them.
  • State and local government. The Justice Department requires WCAG 2.1 AA under ADA Title II. The deadline moved in April 2026 to April 26, 2027 for populations of 50,000 or more, and April 26, 2028 for smaller entities and special districts. If you sell software to them, their deadline is yours.
  • Health and human services funding. Recipients with 15 or more employees now have until May 11, 2027.
  • The European Union. The European Accessibility Act has applied since June 28, 2025 to many products and services sold there, including e-commerce. Each member state sets its own penalties.

Fixing it late also costs more. A contrast problem in a color token takes minutes to change while the design system is young. The same problem copied across forty screens is a project.

A Prompt for a One-Time Audit

Open Claude, ChatGPT, Gemini or whichever AI tool you already use. Turn on web search or browsing if it's a setting. Paste this prompt and swap in your own web address.

Review my website at [your web address] for accessibility. Use the
WCAG 2.2 AA guidelines. Start with the home page and the pages people
use most.

Look at text contrast, keyboard use, image descriptions, forms and
error messages, headings, link text, and how the pages work on a phone
or when zoomed in.

For each problem, explain in plain language what is wrong, who it
affects, which guideline applies, how serious it is and how to fix it.

Tell me which pages you actually looked at and what you could not
check, so I know what to test another way.

Read the part about what it couldn't check. A chat tool often reads a page's text without seeing it the way a visitor does, and it usually can't get past a login. Screenshots help with anything visual, so attach a few if it says it can't judge color or layout.

When the findings look right, ask for a plan.

Turn the most serious problems into a short to-do list I can hand to
a designer or developer. For each one, describe what "fixed" looks
like and how I can check it myself.

Get a second opinion from Lighthouse

Lighthouse is a free checker built into the Chrome browser. It tests the page as it actually renders.

  1. Open your page in Chrome.
  2. Right-click anywhere on it and choose Inspect.
  3. In the panel that opens, select the Lighthouse tab. You may find it behind the » arrows.
  4. Check Accessibility under categories, then run the analysis.

You get a score and a list of failed checks for that one page. Copy the list or take a screenshot, give it to your AI tool and ask it to explain each item. Then run Lighthouse on your next most important page.

A score of 100 doesn't mean you comply. Automated tools miss a lot. Deque, whose testing engine powers the Lighthouse accessibility checks, found that automation caught about 57% of issues in its audit data, and other estimates run lower. Try your main tasks using only the keyboard. Listen to a page with a screen reader such as VoiceOver on Apple devices or NVDA on Windows. Testing with disabled users will find things nobody else does.

Build It Into Your Workflow

A one-time audit starts going stale with your next change. The fix is to make the checks part of how your team works.

  • Run automated accessibility and contrast checks on every code change, so a failure blocks the release.
  • Write your accessibility rules into the instructions your AI coding agent reads.
  • Once a release, go through the main tasks with a keyboard and a screen reader.

I saw this on deckhandAI, my open source job search tracker, during its November redesign. A scan written by the agent found a box of text that a keyboard couldn't reach, and the fix took one line. A week later I made the contrast check run on every pull request. The full scan still runs by hand, and that is the next gap to close.

Claude skills that help

A skill is a packaged set of instructions Claude loads when the task calls for it. These are public. Read what a skill does before you install it.

  • accessibility-review from Anthropic, part of the design plugin. It reviews a Figma file, URL or description against WCAG 2.1 AA, which makes it a good fit before handoff. Its checklist asks for 44 pixel touch targets, which WCAG itself places at AAA.
  • Accessibility Agents from Community Access. It packages WCAG 2.2 AA skills with scanners and an edit gate for coding agents.
  • web-quality-skills from Addy Osmani. Includes an accessibility skill for WCAG 2.2 alongside performance and SEO skills.
  • a11y-specialist-skills from masuP9. Covers audit planning and WCAG 2.2 AA conformance checks with test scripts.

Start this week. Pick one project, run the audit prompt and fix the worst issue it finds.

Brian Schwartz

AI Product & Design Leader with 20+ years of experience building teams and shipping enterprise products.