Skip to content

Lesson 28 of 52Accessibility in depth

WCAG 2.2: What the Standard Actually Asks

Read WCAG like an auditor: how the criteria are organised, what changed in 2.2, the failures audits find most, and what the law expects.

16 min read0/4 questions

Accessibility Basics gave you the foundations. This unit goes deeper, at the level you need when you ship a real product, so on a first pass you can skip ahead to Tailwind and come back later. A sales lead forwards you a message from a hospital group that wants to buy your product: "Please send your Accessibility Conformance Report against WCAG 2.2 AA before procurement continues." Nobody on the team has read WCAG. Someone suggests buying an overlay widget that "makes the site compliant with one line of JavaScript". You need to know what the standard really asks for, which parts your product probably fails, and how long fixing them will take. This lesson teaches you to read WCAG the way an auditor does, criterion by criterion, so that "is it accessible?" becomes a list of testable questions with answers.

How WCAG is organised

Accessibility basics gave you the contrast numbers, alt text and labels. Those are individual rules. WCAG (the Web Content Accessibility Guidelines, from the W3C) arranges every rule into a hierarchy, and knowing the hierarchy is what lets you find the right rule quickly in an audit or a code review.

The shape of WCAG 2.2
WCAG 2.2one standard1.1.1 Non-text Content (A)1.1 Text alternatives1.4.3 Contrast Minimum (AA)1.4 DistinguishablePerceivablecan people sense it?2.1.1 Keyboard (A)2.1 Keyboard accessible2.5.8 Target Size Minimum (AA)2.5 Input modalitiesOperablecan people work it?3.3.8 Accessible Authentication (AA)3.3 Input assistanceUnderstandablecan people follow it?4.1.2 Name Role Value (A)4.1 CompatibleRobustdoes assistive tech get it?root

Four principles, remembered as POUR. Every problem a user can hit falls under one of them.

1/3

The levels are cumulative. To conform at AA you must meet every A criterion and every AA criterion. AAA is not expected for whole sites, and the W3C itself says some AAA criteria cannot be met for all content. WCAG 2.2 has 86 success criteria: 31 at A, 24 at AA and 31 at AAA, so an AA claim covers 55 of them.

Each criterion links to two documents you should open whenever you are unsure: Understanding (why the rule exists, who it helps, edge cases) and How to Meet (techniques that pass and documented failures). When a teammate argues that a tooltip "is fine", the Understanding page for 1.4.13 settles it faster than any opinion.

Conformance is also stricter than people think. A page conforms only if the whole page meets the criteria, and a process (a checkout, a sign-up) conforms only if every page in it does. One inaccessible step breaks the whole flow.

What changed in 2.2

WCAG 2.2 became a W3C Recommendation in October 2023 (with a minor update in December 2024), and in 2025 it was also published as the international standard ISO/IEC 40500:2025. It is backwards compatible: anything that meets 2.2 also meets 2.1 and 2.0. It adds nine criteria and removes one.

CriterionLevelThe rule in one line
2.4.11 Focus Not Obscured (Minimum)AAA focused element is not entirely hidden by your own content, such as a sticky header or cookie banner.
2.4.12 Focus Not Obscured (Enhanced)AAANo part of it is hidden.
2.4.13 Focus AppearanceAAAThe focus indicator is at least as large as a 2 CSS px perimeter and has 3 to 1 contrast between focused and unfocused states.
2.5.7 Dragging MovementsAAAnything you can do by dragging, you can also do with single clicks or taps.
2.5.8 Target Size (Minimum)AAPointer targets are at least 24 by 24 CSS px, or have enough space around them.
3.2.6 Consistent HelpAHelp links or contact details that appear on several pages stay in the same relative place.
3.3.7 Redundant EntryADo not make people type the same information twice in one process.
3.3.8 Accessible Authentication (Minimum)AALogging in must not depend on a memory or puzzle test unless there is an alternative or help, such as paste and password managers.
3.3.9 Accessible Authentication (Enhanced)AAAAs above, without the object-recognition and personal-content exceptions.

The removal is 4.1.1 Parsing. It required valid, well-nested HTML because old assistive technology parsed markup itself. Modern browsers repair markup the same way, following the HTML spec, and pass a consistent accessibility tree on, so the rule stopped protecting anyone. Duplicate ids still matter when they break aria-labelledby or for, but that now fails 1.3.1 or 4.1.2, not a parsing rule.

Do not mix up the two target-size criteria. 2.5.8 (AA, new in 2.2) is 24 by 24. 2.5.5 Target Size (Enhanced) is the AAA criterion from 2.1 and asks for 44 by 44. Apple's and Google's design guidelines suggest 44 pt and 48 dp, which are good design targets, but the AA legal floor is 24.

Quick check
A product manager says a 32 by 32 px icon button fails WCAG 2.2 AA because 'the rule is 44 pixels'. Who is right?
Need a nudge? A hint rules out a wrong answer.

Fixing the new criteria in HTML and CSS

Most of the 2.2 additions are cheap to fix once you know they exist. Here are the three that show up in nearly every product.

Focus hidden under a sticky header (2.4.11)

A sticky header and a cookie banner are the classic failures. A keyboard user tabs down the page, the browser scrolls the focused link into view, and the link lands right under the header. The user cannot see where they are.

HTML & CSS
<style> html { scroll-padding-top: 0; } html.fixed { scroll-padding-top: 64px; } header { position: sticky; top: 0; height: 56px; background: #1e293b; color: white; display: flex; align-items: center; gap: 12px; padding: 0 12px; } a:focus-visible, button:focus-visible { outline: 3px solid #b45309; outline-offset: 2px; } .spacer { height: 140px; } main a { display: block; margin: 18px 0; }</style><header> <strong>Shop</strong> <button id="toggle" style="background: white; color: #1e293b; border: 0; padding: 6px 10px;">Turn the fix on</button></header><main> <p>Click the button, then press Tab and Shift+Tab through the links. Without the fix, scrolling back up hides focused links under the header.</p> <div class="spacer"></div> <a href="#a">Link one</a><a href="#b">Link two</a><a href="#c">Link three</a> <a href="#d">Link four</a><a href="#e">Link five</a><a href="#f">Link six</a> <a href="#g">Link seven</a><a href="#h">Link eight</a> <div class="spacer"></div></main><script> const btn = document.getElementById("toggle"); btn.addEventListener("click", () => { const on = document.documentElement.classList.toggle("fixed"); btn.textContent = on ? "Turn the fix off" : "Turn the fix on"; });</script>

Preview

scroll-padding-top on the scroll container (here html) tells the browser that the top 64 px are covered, so anything it scrolls into view, including focused elements and #anchor targets, stops below the header. scroll-margin-top on individual targets is the per-element version. Keyboard support and focus covers focus styles in depth.

Small targets (2.5.8)

Icon buttons in table rows and the "x" on filter chips are usually 16 to 20 px. Either make the hit area bigger without changing the icon, or space the targets out. The spacing exception says a small target passes if a 24 px circle centred on it does not touch another target or another target's circle. Inline links inside a sentence are exempt, as are targets whose size the browser controls.

HTML & CSS
<style> .row { display: flex; align-items: center; gap: 2px; margin-bottom: 16px; font: 14px system-ui; } .tag { background: #e2e8f0; padding: 2px 6px; } .x { border: 0; background: none; padding: 0; width: 14px; height: 14px; font-size: 12px; line-height: 1; } .x.big { width: 24px; height: 24px; display: inline-grid; place-items: center; } button.x:focus-visible { outline: 2px solid #1d4ed8; } .x:hover { background: #cbd5e1; }</style><p>Hover the buttons to see each hit area.</p><div class="row"><span class="tag">Fails: 14 px, touching</span><button class="x" aria-label="Remove red">x</button><button class="x" aria-label="Remove blue">x</button><button class="x" aria-label="Remove green">x</button></div><div class="row"><span class="tag">Passes: 24 px hit area</span><button class="x big" aria-label="Remove red">x</button><button class="x big" aria-label="Remove blue">x</button><button class="x big" aria-label="Remove green">x</button></div>

Preview

The visible glyph is the same size in both rows. Only the box changed. That is the usual fix: designers keep a small icon, and you give the button padding or a minimum size.

Drag-only interactions (2.5.7)

Sortable lists, kanban boards, sliders and map panning are often drag-only. People with tremors, head pointers or switch devices cannot hold and move. 2.5.7 asks for a single-pointer alternative, and the cheapest one is a pair of buttons. These buttons also give you keyboard support for 2.1.1 at the same time.

HTML & CSS
<style> ol { padding-left: 20px; } li { display: flex; gap: 8px; align-items: center; margin: 6px 0; } li span { flex: 1; } li button { min-width: 24px; min-height: 24px; }</style><p>Reorder without dragging. The status line tells screen reader users what happened.</p><ol id="list"> <li><span>Write tests</span><button data-dir="-1" aria-label="Move Write tests up">Up</button><button data-dir="1" aria-label="Move Write tests down">Down</button></li> <li><span>Fix login bug</span><button data-dir="-1" aria-label="Move Fix login bug up">Up</button><button data-dir="1" aria-label="Move Fix login bug down">Down</button></li> <li><span>Update docs</span><button data-dir="-1" aria-label="Move Update docs up">Up</button><button data-dir="1" aria-label="Move Update docs down">Down</button></li></ol><p role="status" id="status"></p><script> const list = document.getElementById("list"); const status = document.getElementById("status"); list.addEventListener("click", (e) => { const btn = e.target.closest("button"); if (!btn) return; const item = btn.closest("li"); const dir = Number(btn.dataset.dir); const other = dir < 0 ? item.previousElementSibling : item.nextElementSibling; if (!other) return; if (dir < 0) list.insertBefore(item, other); else list.insertBefore(other, item); btn.focus(); const items = [...list.children]; status.textContent = item.querySelector("span").textContent + " moved to position " + (items.indexOf(item) + 1) + " of " + items.length; });</script>

Preview

Notice the btn.focus() after the move. Moving a DOM node can drop focus in some browsers, and the user should stay on the button they pressed so they can press it again.

Accessible authentication and redundant entry

3.3.8 bans making people remember, transcribe or solve something to log in, unless there is another way. Typing a password is allowed only if the user can paste it or let a password manager fill it. Two very common patterns fail:

<!-- Fails 3.3.8: blocks paste, and autocomplete="off" fights password managers -->
<input type="password" autocomplete="off" onpaste="return false">
 
<!-- Passes: paste allowed, the browser and password manager know what the field is -->
<input type="email" name="email" autocomplete="username">
<input type="password" name="password" autocomplete="current-password">
<input type="text" name="code" inputmode="numeric" autocomplete="one-time-code">

The "type the characters you see" CAPTCHA, "enter the 3rd and 7th characters of your password" and splitting a one-time code into six boxes that block paste are all failures unless an alternative exists. Passkeys, magic links and "sign in with" providers pass easily because nothing has to be remembered. At AA, recognising objects ("click every bicycle") is still allowed as an alternative, and so is recognising content the user supplied, like their own photo. The AAA version removes both exceptions.

3.3.7 Redundant Entry is the checkout rule. If the user typed a shipping address on step 2, step 4 must either fill in the billing address or offer "Same as shipping". It does not apply when re-entering is essential (confirming a new password) or needed for security.

Match the pairs0/6 matched

Match each design to the 2.2 criterion it fails.

Choose an item, then its match on the other side.

The 2.1 criteria audits fail most

New criteria get the headlines, but most audit findings are older rules. WebAIM's yearly scan of a million home pages finds low-contrast text on roughly four in five of them, followed by missing alt text, unlabelled form fields, empty links and empty buttons. In a full manual audit of an app, these criteria fill most of the report:

  • 1.1.1 Non-text Content (A). Missing or useless alt text, icon buttons with no name, CAPTCHAs with no alternative.
  • 1.3.1 Info and Relationships (A). Structure shown only visually: bold text instead of headings, fake tables built from divs, radio groups without a fieldset and legend, error text not linked to its field.
  • 1.4.3 Contrast Minimum (AA). Placeholder-grey text, text over images. Large text means 24 px regular or about 18.66 px bold, and only then is 3 to 1 enough.
  • 1.4.10 Reflow (AA). At 320 CSS px wide (a 1280 px window at 400 percent zoom) content must work without scrolling in two directions. Data tables, maps and toolbars are allowed to scroll sideways.
  • 1.4.11 Non-text Contrast (AA). Input borders, focus rings, icons and chart lines need 3 to 1 against neighbouring colours. A pale grey input border on white is the usual failure.
  • 1.4.12 Text Spacing (AA). If a user's stylesheet sets line height to 1.5, paragraph spacing to 2 times the font size, letter spacing to 0.12 em and word spacing to 0.16 em, nothing may be cut off or overlap. Fixed heights on text containers cause it.
  • 1.4.13 Content on Hover or Focus (AA). Tooltips and hover cards must be dismissible (Escape closes them without moving focus), hoverable (the pointer can move onto the tooltip without it vanishing) and persistent (they stay until dismissed or no longer relevant).
  • 2.1.1 Keyboard (A) and 2.4.7 Focus Visible (AA). Click handlers on divs and removed outlines.
  • 4.1.2 Name, Role, Value (A). Custom widgets with no role, no name, or states such as expanded and selected that are never exposed. ARIA widget patterns is about exactly this.

You can test 1.4.12 in seconds. Paste the values into a bookmarklet or the DevTools console and look for clipped text:

document.querySelectorAll("*").forEach((el) => {
  el.style.setProperty("line-height", "1.5", "important");
  el.style.setProperty("letter-spacing", "0.12em", "important");
  el.style.setProperty("word-spacing", "0.16em", "important");
});
document.querySelectorAll("p").forEach((p) => p.style.setProperty("margin-bottom", "2em", "important"));
Predict the outputHTML & CSS

What does this print?

.card {
height: 120px;
overflow: hidden;
line-height: 1.2;
}
/* The card's text fills it exactly at line-height 1.2.
 A user applies the 1.4.12 spacing values.
 Does the card pass 1.4.12 Text Spacing? */
Need a nudge? Hints walk you through it.

The law, carefully

Most laws do not invent their own rules. They point at WCAG, usually at an older version, at level AA.

WCAG versions and the laws that point at them
  1. 2008

    WCAG 2.0

    The base of the 2.x family. The US Section 508 refresh (2017) references WCAG 2.0 AA for federal agencies.

  2. 2018

    WCAG 2.1

    Adds mobile, low vision and cognitive criteria such as reflow, non-text contrast and text spacing. EN 301 549, the European standard, references 2.1 AA.

  3. 2023

    WCAG 2.2

    Adds nine criteria and removes 4.1.1 Parsing. Published as ISO/IEC 40500:2025.

  4. 2024

    US ADA Title II rule

    The Department of Justice adopted WCAG 2.1 AA for state and local government websites and apps, with deadlines phased by population size. Check ada.gov for the current dates.

  5. June 2025

    European Accessibility Act applies

    Covers many consumer products and services sold in the EU, including e-commerce, banking, e-books and transport, with an exemption for micro-enterprises providing services.

The practical line for any team: build to WCAG 2.2 AA, which also covers 2.1 AA and 2.0 AA. Then you meet what current laws reference and are ready when they update. In the US, private businesses face ADA lawsuits under Title III, where courts commonly treat WCAG AA as the benchmark even without a formal rule. The UK's public sector regulations also reference WCAG. Laws, dates and scope change, so when a contract or legal question depends on it, read the official source and involve your legal team rather than relying on a blog post or this lesson.

Reports, statements and overlays

Three artefacts come up in enterprise sales and in public sector work:

  • VPAT and ACR. The VPAT is a template from the Information Technology Industry Council. Once filled in for your product it becomes an Accessibility Conformance Report: a table of every criterion marked "Supports", "Partially Supports", "Does Not Support" or "Not Applicable", with remarks. Buyers read the remarks. An ACR that says "Supports" everywhere with no notes looks like nobody tested.
  • Accessibility statement. A public page listing the standard you target, known issues, the date of the last review and a way to report problems. Public sector bodies in the EU and UK are required to publish one.
  • Audit report. A specialist's findings, each tied to a criterion with steps to reproduce. It feeds your ACR.

And overlays: the one-line script widgets that promise automatic compliance. They cannot fix a missing label on a field they do not understand or a custom widget with no keyboard support, and they often add new barriers for screen reader users who already have their own settings. Hundreds of accessibility practitioners have signed a public statement against them, sites with overlays are still sued, and in 2025 the US Federal Trade Commission finalised an order requiring one overlay vendor to pay a million dollars over misleading claims. Fix the code instead.

Put it in order6 steps

A customer asks for an ACR against WCAG 2.2 AA. Put the work in a sensible order.

  1. Tap the steps below in the right order.
Need a nudge? A hint shows where it starts.
Key terms
POUR
WCAG's four principles: Perceivable, Operable, Understandable and Robust.
success criterion
A testable WCAG rule with a number and a level, such as 1.4.3 Contrast Minimum (AA).
conformance level
A, AA or AAA. Levels are cumulative, and AA is the usual legal and contract target.
Understanding document
The W3C page for each criterion explaining its intent, who it helps and edge cases.
ACR
Accessibility Conformance Report: a filled-in VPAT stating how a product supports each criterion.
EN 301 549
The European accessibility standard behind the EAA and public sector rules. It references WCAG 2.1 AA.
overlay
A third-party script that claims to fix accessibility automatically. It does not make a site conform.