Skip to main content
Welcoma

WCAG

Automated WCAG Testing: What It Can—and Cannot—Do

By Alexander Flach Updated 4 min read

Contents

Automated WCAG tests are the fastest way to find accessibility barriers—and the most oversold. “WCAG testing tool, one click, done” is a promise that technology cannot fulfil. This article explains what automated tests can reliably detect, what they fundamentally cannot assess, why a green result is not proof of conformance, and how to use them honestly.

What automated WCAG tests are

An automated test programmatically examines a page’s code and checks it against WCAG rules. Violations are flagged within seconds and across many pages. This makes these tools particularly effective at identifying errors early after website changes. Well-known examples include axe, WAVE, Lighthouse, and Pa11y. For a general explanation of the WCAG, see the WCAG Guide.

What they can reliably detect

Automation works well wherever clear, programmable rules exist. Examples include missing alt attributes, mathematically measurable contrast ratios, missing form labels, missing language declarations, and certain structural errors in the heading hierarchy. These are genuine, valuable findings—and they cover many of the most common types of accessibility errors.

What they cannot assess—and why

This is the crucial limitation. Measured against the WCAG success criteria, an automated tool can meaningfully assess only about one-third of them—approximately 16 of the 50 criteria at Level AA. The rest require human judgement.

For accuracy, one important distinction must be made: when measuring the proportion of individual accessibility issues detected rather than the number of WCAG criteria covered, the percentage can be higher. Deque states that axe-core can detect approximately 57% of accessibility issues because common error types frequently occur in large numbers. However, this is different from success-criterion coverage and certainly does not constitute proof of conformance.

The reason is simple: a tool cannot determine whether alternative text is meaningful—it can only detect whether an alt attribute exists. It cannot reliably judge whether an image is decorative or informative, whether the focus order is logical, whether text is understandable, or whether a link’s purpose is clear from its context. An automated test sees that an alt attribute is present and approves it—even if it contains “image123.jpg” or describes a steak as bread.

Why “green” does not mean “conformant”

Passing an automated test is necessary but insufficient. The 2024 WebAIM Million report found automatically detectable errors on more than 96% of home pages. Automation therefore finds a great deal, but “no automatically detected errors” still leaves around two-thirds of the criteria unassessed.

Conformance at each level also follows an all-or-nothing principle: a single unmet Level AA criterion means that the page is not AA conformant. A high score is therefore not a conformance certificate. Selling automation as complete compliance is precisely the mechanism behind the overlay illusion, explained in detail in Accessibility Overlays.

Overview of the tools

  • axe (Deque)—the engine behind many tools, available as a browser extension and for use in automated testing pipelines.
  • WAVE (WebAIM)—displays findings visually and directly on the page.
  • Lighthouse—built into Chrome DevTools and includes an accessibility audit.
  • Pa11y—designed for automated workflows and continuous monitoring.

All of these tools are useful for a quick initial assessment, but none can replace manual testing.

Using automated testing honestly

The correct role of automation is clearly defined: it provides a rapid initial assessment and ongoing monitoring that identifies new errors when changes are made. It must be combined with manual testing for everything else. Accessibility Testing explains how these approaches work together.

An honest tool clearly states what it can and cannot test. It identifies genuine problems in the source code so that you can fix them—instead of hiding them to produce a green score. This is exactly what Welcoma’s upcoming WCAG scanner is designed to do. The dishonest approach does the opposite: it conceals problems and displays a green badge.

Frequently Asked Questions

Can I test my website using only a WCAG testing tool?

No. An automated test covers only about one-third of the criteria. The rest—meaningful alternative text, focus order, and understandability—must be assessed by a person.

Which tool is the best?

It depends on the purpose: axe and WAVE for a quick assessment, Lighthouse directly in the browser, and Pa11y for automated monitoring. None of them replaces manual testing.

Does a green result mean that I am conformant?

No. It is necessary but not sufficient. Conformance is assessed on an all-or-nothing basis at each level, and automated tests evaluate only some of the criteria.

Updated: . This article gives a general overview. Not legal advice.

Written by

Alexander Flach

Updated:

Keep reading.

Scanner Pre-Registration

Detect, Don’t Conceal.

Start our honest WCAG scan. It will identify genuine source-code issues and clearly show what can be tested automatically and what requires manual review. No green badge hiding unresolved barriers.

Start your free WCAG scan.

We scan your website automatically. We take a short look at the report before we email it to you. The automated check covers roughly a third of the WCAG criteria. We use your data only for this, more in the privacy policy.