WCAG 2.2 for developers: how to meet the six new A and AA rules
WCAG 2.2 adds six Level A and AA success criteria, from focus not obscured to accessible authentication. Here is what each requires and code that meets it.
Updated 8 min read

In this article
Part 8 of 8
Shipping code as a small team
All partsHide
Part 8 of 8
Shipping code as a small team
How changes get merged and reviewed, how to find what broke, and what to check before release.
WCAG 2.2 for developers: how to meet the six new A and AA rules
You are here · 8 min read
The WCAG 2.2 new success criteria that matter for most sites are the six at Level A and AA, such as Target Size (Minimum) at 24 by 24 CSS pixels. With 4.1.1 Parsing removed, they are the whole gap from WCAG 2.1 AA.
WCAG 2.2 adds nine success criteria to WCAG 2.1, and six of them are at Level A or AA, the levels most laws and contracts require: Focus Not Obscured (Minimum), Dragging Movements, Target Size (Minimum), Consistent Help, Redundant Entry and Accessible Authentication (Minimum). It also removes 4.1.1 Parsing. If your site already meets WCAG 2.1 AA, these six criteria are the whole gap, and most are fixed with a few lines of CSS and HTML.
This guide explains what each criterion requires, quotes the normative text where it matters, and shows code that meets it. All requirements were checked against the W3C Recommendation and its Understanding documents in October 2026.
Why WCAG 2.2 is the version to target
WCAG 2.2 became a W3C Recommendation on 5 October 2023; the current edition is dated 12 December 2024. In October 2025 the W3C announced that WCAG 2.2 had been approved as an international standard, ISO/IEC 40500:2025, which makes it easier for more countries to adopt formally. WCAG versions are backwards compatible: content that conforms to 2.2 also conforms to 2.1 and 2.0, apart from 4.1.1 Parsing, which 2.2 treats as obsolete. If a contract still names WCAG 2.0 or 2.1, you may need to keep testing and reporting 4.1.1.
| Criterion | Level | In one sentence |
|---|---|---|
| 2.4.11 Focus Not Obscured (Minimum) | AA | A focused element must not be entirely hidden by author-created content. |
| 2.5.7 Dragging Movements | AA | Anything done by dragging can also be done with single pointer actions. |
| 2.5.8 Target Size (Minimum) | AA | Pointer targets are at least 24 by 24 CSS pixels, or meet an exception. |
| 3.2.6 Consistent Help | A | Repeated help mechanisms stay in the same relative order across pages. |
| 3.3.7 Redundant Entry | A | Do not make users type the same information twice in one process. |
| 3.3.8 Accessible Authentication (Minimum) | AA | Signing in must not depend on a memory or puzzle test without an alternative or help. |
The other three new criteria, 2.4.12 Focus Not Obscured (Enhanced), 2.4.13 Focus Appearance and 3.3.9 Accessible Authentication (Enhanced), are Level AAA.
2.4.11 Focus Not Obscured (Minimum)
The text: "When a user interface component receives keyboard focus, the component is not entirely hidden due to author-created content." The usual offenders are sticky headers, sticky footers and cookie banners. A keyboard user tabs down the page, the browser scrolls the focused link to the edge of the viewport, and it lands underneath a fixed header.
The W3C's sufficient technique C43 is CSS scroll-padding, which tells the browser to keep a strip of the viewport clear when it scrolls content into view:
:root {
--header-height: 4rem;
--footer-height: 3rem;
}
html {
/* Keep focused and anchored content clear of fixed bars */
scroll-padding-top: calc(var(--header-height) + 0.5rem);
scroll-padding-bottom: calc(var(--footer-height) + 0.5rem);
}
.site-header {
position: sticky;
top: 0;
block-size: var(--header-height);
}The minimum criterion fails only when the focused element is entirely hidden; partly covered passes AA, although the AAA version (2.4.12) requires no part to be hidden. For a cookie banner, the Understanding document lists three passing patterns: make it modal so it must be dismissed first, use scroll padding so it does not overlap content, or close it when it loses focus. Content the user opened themselves, such as a menu, can cover the focused element as long as the user can reveal it without moving focus, for example by pressing Escape.
2.5.7 Dragging Movements
The text: "All functionality that uses a dragging movement for operation can be achieved by a single pointer without dragging, unless dragging is essential or the functionality is determined by the user agent and not modified by the author." People with tremors, or who use a head pointer or eye tracking, may be able to click but not hold and move.
Typical cases are sortable lists, kanban boards, sliders and map panning. Keep the drag interaction, and add single-pointer controls next to it:
<li class="task" draggable="true">
<span>Write release notes</span>
<button type="button" aria-label="Move 'Write release notes' up">↑</button>
<button type="button" aria-label="Move 'Write release notes' down">↓</button>
</li>A native <input type="range"> slider passes, because its behaviour is determined by the browser and users can click a point on the track. A custom slider built from divs needs its own alternative, such as clicking on the track or plus and minus buttons. Note that keyboard support alone does not satisfy this criterion; it is about pointer users.
2.5.8 Target Size (Minimum)
The text: "The size of the target for pointer inputs is at least 24 by 24 CSS pixels", followed by five exceptions:
- Spacing: an undersized target passes if a 24 CSS pixel diameter circle centred on its bounding box does not intersect another target or the circle of another undersized target.
- Equivalent: the same function is available through another control on the same page that meets the size.
- Inline: the target is in a sentence, or its size is constrained by the line height of surrounding text. Links inside a paragraph are exempt.
- User agent control: the browser sets the size and you have not changed it.
- Essential: a particular presentation is essential or legally required.
Icon buttons, pagination links, close buttons and table row actions are where sites usually fail. Enlarge the clickable area without changing the visual design:
.icon-button {
/* Visual icon can stay 16px; the target is at least 24px */
min-inline-size: 24px;
min-block-size: 24px;
display: inline-grid;
place-items: center;
padding: 4px;
}
.pagination a {
display: inline-block;
min-inline-size: 24px;
min-block-size: 24px;
margin-inline: 2px;
}24 pixels is a floor, not a target. For primary actions, the Understanding document suggests aiming for the stricter Level AAA criterion 2.5.5 Target Size (Enhanced), which asks for 44 by 44 CSS pixels.
3.2.6 Consistent Help
If a page offers any of these help mechanisms, and they are repeated across pages, they must "occur in the same order relative to other page content, unless a change is initiated by the user": human contact details, a human contact mechanism (such as a contact form or chat), a self-help option (such as an FAQ), or a fully automated contact mechanism (such as a chatbot).
The criterion does not require you to provide help. It requires that help, when present, does not move around. In practice, put the help link in a shared layout component, such as the header or footer, rather than adding it page by page.
3.3.7 Redundant Entry
Information "previously entered by or provided to the user that is required to be entered again in the same process" must be either auto-populated or available for the user to select. The exceptions are when re-entering is essential, when it is required for security, or when the earlier information is no longer valid.
<fieldset>
<legend>Billing address</legend>
<label>
<input type="checkbox" name="billingSameAsShipping" checked>
Same as shipping address
</label>
<!-- Address fields shown only when the box is unchecked -->
</fieldset>The classic case is a checkout that asks for the shipping address and then the billing address. Multi-step forms that lose data on the back button are another. Asking for a password twice when it is created falls under the security exception.
3.3.8 Accessible Authentication (Minimum)
The text: "A cognitive function test (such as remembering a password or solving a puzzle) is not required for any step in an authentication process" unless an alternative method exists, a mechanism assists the user, or the test is to recognise objects or to identify content the user provided to the site.
A username and password form can pass, because password managers and copy and paste count as assisting mechanisms. What fails is anything that defeats them: blocking paste, disabling autofill with scripts, or asking for "the 1st, 3rd and 5th character" of a password.
<form method="post" action="/login">
<label for="email">Email</label>
<input id="email" name="email" type="email" autocomplete="username" required>
<label for="password">Password</label>
<input id="password" name="password" type="password"
autocomplete="current-password" required>
<button type="submit">Sign in</button>
</form>
<!-- One-time code: one field, so a pasted or autofilled code fills completely -->
<label for="otp">6-digit code</label>
<input id="otp" name="otp" inputmode="numeric" autocomplete="one-time-code"
pattern="[0-9]{6}" maxlength="6">The Understanding document specifically calls out one-time codes split into six separate inputs, where pasting the full code "only fills in one digit in the first input". If you keep a split design for visual reasons, handle paste so the whole code is distributed across the boxes. Email sign-in links and WebAuthn (device biometrics or security keys) are listed as compliant ways to avoid the cognitive test altogether.
Image CAPTCHAs that ask users to pick out objects are allowed at AA under the object recognition exception, but not at AAA, and a text CAPTCHA whose audio alternative must be transcribed does not count as an alternative.
Gotchas when testing the WCAG 2.2 new success criteria
- Automated scanners catch little of this. Focus obscuring, dragging alternatives and consistent help need manual checks. Tab through every template with the sticky elements and banners showing.
- Test at zoom. Sticky headers grow at 200% zoom and on small screens, which is exactly when they start hiding focus.
- Measure targets in CSS pixels, using the browser's developer tools, not by eye.
- Do not remove Parsing tests blindly. Valid, well-formed HTML still matters for assistive technology; 4.1.1 was removed because browsers now handle the errors it covered.
What to do next
Add the six criteria to your definition of done and your design system. Concretely: set scroll-padding globally, give icon buttons a 24 pixel minimum in the shared component, move help links into the layout, audit login and checkout flows for paste blocking and repeated fields, and add button alternatives to every drag interaction. Those five changes cover the gap between WCAG 2.1 AA and 2.2 AA for most sites.
Frequently asked questions
How many new success criteria are in WCAG 2.2?
Nine. Six are Level A or AA (2.4.11, 2.5.7, 2.5.8, 3.2.6, 3.3.7 and 3.3.8) and three are Level AAA (2.4.12, 2.4.13 and 3.3.9). WCAG 2.2 also removes 4.1.1 Parsing.
Is WCAG 2.2 an ISO standard?
Yes. The W3C announced in October 2025 that WCAG 2.2 was approved as ISO/IEC 40500:2025.
What is the minimum touch target size in WCAG 2.2?
24 by 24 CSS pixels at Level AA (2.5.8), with exceptions for spacing, equivalent controls, inline links, browser-controlled targets and essential presentation. Level AAA (2.5.5) asks for 44 by 44 CSS pixels.
Does a password login fail Accessible Authentication?
Not if users can rely on a password manager or paste the password. It fails when the site blocks paste or autofill, or asks for individual characters of the password, and no alternative sign-in method is offered.
Are CAPTCHAs allowed under WCAG 2.2?
At Level AA, a CAPTCHA that asks users to recognise objects is allowed under an exception. Text CAPTCHAs that require transcription fail unless another method is available. At Level AAA the object recognition exception does not apply.
Does keyboard support satisfy Dragging Movements?
No. 2.5.7 is about pointer users who cannot drag. You need a single-pointer alternative, such as buttons or clicking a target position.
Sources
- Web Content Accessibility Guidelines (WCAG) 2.2 — W3C, 2024-12-12
- What's New in WCAG 2.2 — W3C Web Accessibility Initiative, 2023-10-05
- Understanding Success Criterion 2.4.11: Focus Not Obscured (Minimum) — W3C Web Accessibility Initiative
- Understanding Success Criterion 2.5.8: Target Size (Minimum) — W3C Web Accessibility Initiative
- Understanding Success Criterion 3.3.8: Accessible Authentication (Minimum) — W3C Web Accessibility Initiative
- WCAG 2.2 Approved as an ISO Standard — W3C Web Accessibility Initiative, 2025-10-21
Read next
Previous part
Industry updateDevelopment3 min read
GitHub Copilot model removals on 16 November: what to do
GitHub Copilot removes Claude Opus 4.8, Claude Opus 5 and GPT-5.6 Terra on 16 November 2026. See the replacements, the exception and the admin checks.
New tools, once a week
One short email listing what joined the directory.
Comments
No comments yet. Be the first to join the conversation.
Leave a comment
Every comment is read by a moderator before it appears. Your email address is never published; it is used only to contact you about this comment.
More from Cloudsoft Zone

TutorialDevOps5 min read
Prometheus and Grafana monitoring for Laravel and Node.js applications
Use Prometheus and Grafana to connect private application metrics, host observations and actionable dashboards for Laravel and Node.js production workloads.
By Nilesh Kushvaha

TutorialDevOps5 min read
Production monitoring for a small SaaS: signals, alerts and recovery evidence you actually need
Build production monitoring around critical user journeys, application errors, queue progress and capacity signals, with actionable alerts and a verified delivery path.
By Nilesh Kushvaha

TutorialDevOps5 min read
Deployment approval gates: when a production release needs a human decision
Use deployment approval gates for concrete production decisions with artifact identity, migration risk, acceptance evidence and a clear recovery plan before credentials are released.
By Nilesh Kushvaha