Skiplink

Guides

The WCAG 2.2 additions, and which of them a scanner can detect

WCAG 2.2 became a W3C Recommendation in October 2023. Of the six new criteria at levels A and AA, exactly one has an automated rule in axe-core. Here is each of them, what a scanner sees and what you have to check yourself.

What changed

WCAG 2.2 keeps everything in 2.1, removes one criterion and adds nine. The W3C's What's new in WCAG 2.2 (opens in a new tab) is the authoritative summary. The additions:

CriterionLevel
2.4.11 Focus Not Obscured (Minimum)AA
2.4.12 Focus Not Obscured (Enhanced)AAA
2.4.13 Focus AppearanceAAA
2.5.7 Dragging MovementsAA
2.5.8 Target Size (Minimum)AA
3.2.6 Consistent HelpA
3.3.7 Redundant EntryA
3.3.8 Accessible Authentication (Minimum)AA
3.3.9 Accessible Authentication (Enhanced)AAA

The removal is 4.1.1 Parsing, which is obsolete in 2.2. axe-core still tags its duplicate id rules with 4.1.1, so a result citing 4.1.1 is not evidence of a WCAG 2.2 failure.

Most teams target level AA, which means the six A and AA criteria. Skiplink's default standard, wcag22aa, runs every axe-core rule tagged with WCAG 2.0, 2.1 or 2.2 at A and AA. For the new criteria, that is one rule.

The one a scanner can check: 2.5.8 Target Size (Minimum)

2.5.8 (opens in a new tab) asks that pointer targets be at least 24 by 24 CSS pixels, or be spaced so that a 24px circle centred on each target does not overlap another target or its circle. There are exceptions for inline links in a sentence, targets whose size the browser controls, cases where an equivalent larger control exists, and presentations that are essential.

axe-core's target-size (opens in a new tab) rule measures this. The common failures are close buttons, pagination links and icon rows:

/* Before: 16 by 16, and packed tightly */
.pager a { display: inline-block; width: 16px; height: 16px; margin: 0 2px; }

/* After: the visual can stay small; the target does not have to */
.pager a { display: inline-block; min-width: 24px; min-height: 24px;
           padding: 4px; margin: 0 2px; }

The rule is a real check, but not a complete one. Overlapping elements and unusual layouts can leave it unable to decide, which axe reports as needing review rather than as a violation. And it measures the page at the size it was rendered: a target that is fine at 1280px wide and cramped on a phone is only caught if you scan at that width too (the API's viewport parameter sets it).

The five no scanner can check

These have no axe-core rule. Our criteria table marks them "needs a person", and no other scanner can test them reliably either.

2.4.11 Focus Not Obscured (Minimum). When an element receives keyboard focus, it must not be entirely hidden by content the author put on top: a sticky header, a cookie banner, a chat launcher. Detecting this means tabbing through the page and checking geometry at every stop, against overlays that may appear only after a delay. Test it: tab through the page with the cookie banner still open, then scroll and tab again under the sticky header.

2.5.7 Dragging Movements. Anything done by dragging needs a single-pointer alternative: a sortable list also needs move up and move down buttons, a map that pans by dragging also needs buttons. Whether an alternative exists, and does the same job, is not something a rule can infer from the DOM. Test it: complete every drag interaction using only clicks or taps.

3.2.6 Consistent Help. If help (contact details, a help link, a chat widget) appears on several pages, it must appear in the same relative order on each. This is a property of a set of pages, while a scanner looks at one page at a time, and it would also have to know which elements count as help. Test it: compare the header and footer across templates.

3.3.7 Redundant Entry. Information a user has already entered in the same process must be filled in or selectable when asked for again, such as the delivery address offered as the billing address. A scanner sees one step of a form at a time and has no idea what was typed two steps earlier. Test it: walk every multi-step flow and note each repeated question.

3.3.8 Accessible Authentication (Minimum). Signing in must not depend on a cognitive function test, such as remembering a password or solving a puzzle, unless there is an alternative or a mechanism to help. In practice that means password managers and pasting must work. At AA, a test that asks you to recognise objects is an allowed exception; one that asks you to transcribe distorted text needs an alternative. The Understanding document (opens in a new tab) has the exceptions in full. Test it: sign in using a password manager, and paste a one-time code into the code field.

A common way to fail 3.3.8 looks harmless in code:

<!-- Blocks paste, so the password has to be remembered and typed: fails 3.3.8 -->
<input type="password" name="password" onpaste="return false">

<!-- Lets the browser and a password manager help -->
<input type="password" name="password" autocomplete="current-password">

No axe-core rule looks for that onpaste handler, and a script that blocks paste can be attached in a dozen other ways.

And the AAA additions

2.4.12, 2.4.13 and 3.3.9 are AAA and outside the AA rule sets. axe-core has no rule for any of them. 2.4.13 Focus Appearance in particular sets measurable requirements for the focus indicator's size and contrast, but measuring it means drawing focus on every element and comparing pixels, which axe does not do.

What this means for a 2.2 audit

Moving a scan from wcag21aa to wcag22aa adds one rule. If a tool reports that your site "passes WCAG 2.2" after a scan, it has checked one of the six new A and AA criteria and none of the other five. That is not a criticism of scanners: the five are about behaviour across time, across pages and across a user's input, which is exactly what a single scan of a single page cannot see.

Run the scan for what it can catch, including target-size, then put the five manual checks above into your release checklist for the flows that matter: sign-in, checkout, anything with a sticky header. What a scan does not tell you covers the general case, and the criteria table shows every 2.2 criterion next to the rules that map to it.

Try it on your own site: scan a URL for free, or read the docs to add a baseline to your pipeline.