Free, independent guides since 2010

Build with AI

Using AI for accessibility checks and website testing

How AI can help make your website accessible and well-tested: alt text, code audits against WCAG 2.2, explaining checker results, writing test plans – and why manual testing with real users still matters.

<guide section="Build with AI" type="article" read="2 min"/>

Accessibility is no longer optional for many websites – see web accessibility basics on WCAG 2.2 and the European Accessibility Act. AI cannot make a site accessible on its own, but it makes the work much faster and less intimidating.

Step 1: run automated checkers

Start with free tools: Lighthouse in Chrome, WAVE and axe DevTools. They find missing alt texts, low contrast, missing labels and structural problems. Their output can be technical – that is where AI helps.

Plain text
Here is my axe report (pasted). Explain each issue in plain language,
who it affects, and the exact HTML or CSS change to fix it. Sort by
impact on users.

Step 2: AI code audit

Plain text
Audit this HTML against WCAG 2.2 level AA. Check headings, landmarks,
labels, link texts, focus order, ARIA use and keyboard access. For each
issue give the success criterion number, severity and a fix.

AI catches things automated checkers miss, such as illogical heading order or vague link texts. It also produces false alarms – check each finding.

Step 3: content fixes

  • Draft alt texts with AI, then edit them for purpose and context (see the alt attribute).
  • Ask for simpler versions of complex texts.
  • Generate captions and transcripts for videos and podcasts – and correct names and terms.
  • Rewrite “click here” links into descriptive ones.

Step 4: human testing (do not skip)

  1. Use the whole site with only a keyboard.
  2. Listen to key pages with a screen reader: VoiceOver, NVDA, Narrator or TalkBack.
  3. Zoom to 200% and test on a small phone.
  4. If you can, ask people with disabilities to test – and pay them for their time.

AI for broader website testing

  • Test plans: “Write test cases for this booking form, including edge cases and error states.”
  • Cross-page consistency: prices, names and contact details on every page.
  • Automated browser tests: coding assistants can write tests that click through your site.
  • Reviewing as a persona: “Use this page as a 70-year-old on a phone and tell me where you get stuck.”

Check your colours with our contrast checker.

Frequently asked questions

Can AI make my website WCAG compliant automatically?

No. AI and automated tools catch many technical issues, but accessibility also depends on meaning, order and usability, which need human judgement. Be especially wary of overlay widgets that promise instant compliance.

Is AI-generated alt text good enough?

It is a useful draft. AI describes what it sees, but not why the image is on the page. Edit each alt text so it serves the purpose of the image in context.