WCAG 2.1 and the Three Levels: A, AA and AAA

The Web Content Accessibility Guidelines (WCAG) are written by the World Wide Web Consortium (W3C). Almost every accessibility law in the world either adopts them or borrows from them, so learning how they are organised pays off whichever law applies to you.

Four principles

Every requirement in WCAG sits under one of four principles, often shortened to POUR:

  • Perceivable. People must be able to perceive the content: text alternatives for images, captions for video, enough contrast.
  • Operable. People must be able to operate the interface: everything works from a keyboard, nothing flashes dangerously, there is enough time to act.
  • Understandable. Content and controls behave in predictable ways, and forms explain errors.
  • Robust. The code works with browsers and assistive technology such as screen readers.

Under the principles are guidelines, and under those are testable statements called success criteria. Each success criterion has a level.

The three levels

LevelWhat it meansExample
AThe minimum. Without it some people cannot use the content at all.Images have text alternatives. All functions work from a keyboard.
AAThe level most laws and policies require. Removes the most common barriers.Text contrast of at least 4.5 to 1. Text can be resized to 200%.
AAAThe highest level. W3C does not recommend requiring it for whole websites, because some content cannot meet every AAA criterion.Text contrast of at least 7 to 1. Sign language for recorded audio.

Levels are cumulative. To claim Level AA, a page must meet every Level A and every Level AA criterion.

Versions 2.0, 2.1 and 2.2

WCAG 2.0 was published in December 2008 and later became an ISO standard, ISO/IEC 40500. It has 61 success criteria.

WCAG 2.1 followed in June 2018 and added 17 criteria, mostly for mobile devices, low vision and cognitive disabilities. Examples are reflow (content works at a width of 320 CSS pixels without scrolling in two directions), text spacing, and non-text contrast for icons and form borders.

WCAG 2.2 was published in October 2023. It added nine criteria, including a minimum size for touch targets and rules that keep the keyboard focus visible, and it retired one old criterion (parsing).

Each version is backwards compatible. A page that meets 2.2 also meets 2.1 and 2.0.

Which version should you aim for?

Aim for WCAG 2.1 Level AA as a minimum, because it is the version named by the U.S. Title II rule and by the European standard EN 301 549. If you are starting a new project, build to 2.2 Level AA and you will cover all of them.

How a widget fits in

Several WCAG criteria are about letting people adapt the page: resize text, change spacing, pause motion. The free ADA Okay! widget gives visitors those controls on any website. The criteria about your own code, such as labels, headings, alternative text and keyboard access, still have to be met in the code. Our keyboard checklist and alt text guide are good places to begin.

Thaddeus Okonjo-Reyes, Front-end developer and widget maintainer
Thaddeus has built front ends for retailers and local councils since 2011 and tests everything with a keyboard and a screen reader before it ships. He maintains the ADA Okay! widget and writes the hands-on technical guides.

Get your ADA Widget today - for FREE!

Text reader, keyboard navigation, contrast modes and more with one line of code.

Get the free widget

Keep reading

What Accessibility Widgets Can and Cannot Do