# WCAG: The Web Content Accessibility Guidelines

Source: https://allyway.ai/glossary/wcag

WCAG (Web Content Accessibility Guidelines) is the technical standard of the W3C that describes how to make websites and other web content accessible to people with disabilities. It is organized into four principles, 13 guidelines and testable success criteria at levels A, AA and AAA.

WCAG – the Web Content Accessibility Guidelines – is the international standard that defines what an accessible website is. It is written by the W3C, the body behind HTML and CSS, and almost every accessibility law in the world points to it, directly or through a national standard. If a scanner, an audit or a contract says "WCAG 2.2 AA", it means the success criteria of this document.

## What it means

WCAG is developed by the Accessibility Guidelines Working Group of the W3C Web Accessibility Initiative (WAI). It describes outcomes, not a specific technology: a requirement like "text has enough contrast" applies to a WordPress theme, a React app or a PDF exported to the web alike.

The guidelines are built in layers. Four principles – the [POUR principles](https://allyway.ai/glossary/pour-principles) perceivable, operable, understandable and robust – contain 13 guidelines. Each guideline has testable success criteria, and each criterion has a level: A, AA or AAA. Most laws ask for level AA, which means meeting every A and AA criterion (see [WCAG conformance levels](https://allyway.ai/glossary/wcag-conformance-levels)).

| Version | Published | What changed |
|---|---|---|
| WCAG 2.0 | 11 December 2008 | 12 guidelines, the base of all later versions; also ISO/IEC 40500:2012 |
| WCAG 2.1 | 5 June 2018 | 1 guideline and 17 success criteria added (mobile, low vision, cognitive) |
| WCAG 2.2 | 5 October 2023 | 9 success criteria added, 4.1.1 Parsing obsolete; ISO/IEC 40500:2025 |

According to the W3C [WCAG 2 Overview](https://www.w3.org/WAI/standards-guidelines/wcag/), the versions are backwards compatible: content that conforms to WCAG 2.2 also conforms to 2.1 and 2.0. The one exception is 4.1.1 Parsing, which is obsolete in 2.2. Counting from the levels, [WCAG 2.2](https://allyway.ai/regulations/wcag-2-2) has 86 success criteria – 31 at level A, 24 at AA and 31 at AAA.

> **Note:** > **Use the latest version**
> W3C encourages you to use the latest version of WCAG. A site built for WCAG 2.2 AA also meets 2.1 AA, which is what [EN 301 549](https://allyway.ai/glossary/en-301-549) and many laws still reference.

WCAG 3, formerly called "Silver", is an early draft and does not replace WCAG 2 yet.

## Examples

Most WCAG failures on real sites come from a handful of criteria. Here is one form field that fails three of them, and the fixed version:

```html title="Example"
<!-- Fails 1.1.1 (no alt text), 1.3.1 / 4.1.2 (no label), 1.4.3 (contrast) -->
<img src="newsletter.png">
<input type="email" placeholder="Email" style="color:#aaa">

<!-- Meets them -->
<img src="newsletter.png" alt="Get our monthly newsletter">
<label for="nl-email">Email address</label>
<input id="nl-email" type="email" autocomplete="email" style="color:#333">
```

The fixed field has [alt text](https://allyway.ai/glossary/alt-text) for the image, a visible label and text with sufficient [color contrast](https://allyway.ai/glossary/color-contrast).

**Do:** Do

Name a version and level in every requirement ("WCAG 2.2 Level AA"), design with [keyboard navigation](https://allyway.ai/glossary/keyboard-navigation) and screen readers in mind from the start, and test real pages.

**Don't:** Don't

Write "WCAG compliant" without a version or level, or treat an automated score as proof that a site meets WCAG.

## How to check a website against WCAG



## Questions

Q: What does WCAG stand for?
A: Web Content Accessibility Guidelines. It is the accessibility standard of the World Wide Web Consortium (W3C) and is also published as ISO/IEC 40500.

Q: Which WCAG version should I use?
A: WCAG 2.2, the latest version. Because the versions are backwards compatible, meeting 2.2 also meets 2.1 and 2.0, so you cover older requirements at the same time.

Q: Is WCAG a law?
A: No. WCAG is a technical standard. Laws such as the [European Accessibility Act](https://allyway.ai/glossary/european-accessibility-act) or the [ADA](https://allyway.ai/regulations/ada) set the obligation, and WCAG – directly or through standards like EN 301 549 – describes how to meet it.

Q: How many success criteria does WCAG 2.2 have?
A: 86 that apply: 31 at level A, 24 at level AA and 31 at level AAA. Level AA conformance means meeting the 55 criteria of levels A and AA.

Q: How can I test my website against WCAG for free?
A: Start with an automated check, then test keyboard use and a screen reader by hand. The [free WCAG scanner](https://allyway.ai/free-wcag-accessibility-scanner-for-websites) checks a page against WCAG 2.2 AA and shows what to fix.
