# WCAG 2.2 Accessibility Testing: The Manual Checks Automation Misses

> A practical WCAG 2.2 testing guide for developers: POUR, contrast, focus, target size, forms, alt text, screen readers, and a repeatable checklist.

**Quick answer:** WCAG 2.2 AA is a testable baseline: 4.5:1 text contrast, visible keyboard focus, 24x24 CSS pixel targets, text error messages, and correct semantics. Automated scanners catch only part of that, so verify with a keyboard, a 400% zoom pass, and an NVDA, JAWS, or VoiceOver smoke test against a fixed checklist.

## Key takeaways

- POUR is the mental model: every success criterion is a testable promise about perception, operation, understanding, or robustness.
- Semantic HTML supplies role, state, keyboard behavior, and a name for free; ARIA changes only the accessibility tree and cannot repair missing behavior.
- Automated scanners find missing names and simple contrast failures, but they cannot judge alt-text quality, focus order, or whether an error message helps.
- Contrast is arithmetic: 4.5:1 for normal text, 3:1 for large text and UI components, and color must never be the only carrier of meaning.
- A repeatable manual pass with a keyboard, 400% zoom, and one screen reader is the only credible evidence for a WCAG 2.2 AA claim.

---

Accessibility failures rarely look like failures. A page can be fast and polished while a keyboard user cannot reach checkout, a screen reader announces an icon as an unnamed button, and helper text misses contrast by a few percent. WCAG 2.2 turns those invisible defects into verifiable criteria, but only if you test the way people use the page.

This guide covers the criteria developers break most often, the checks that expose them, and where automation stops. The target is Level AA, and every section ends with recordable evidence.

## POUR: the four properties behind every success criterion

WCAG groups its criteria under four principles, POUR. The grouping is a diagnostic model.

**Perceivable**: content reaches at least one sense. Text alternatives, captions, contrast, and reflow belong here. A chart shipped as a screenshot with no text equivalent fails even when the surrounding copy is perfect.

**Operable**: content works with a keyboard, switch, voice, or touch. Focus order, target size, timing, and motion belong here. A click handler on a `div` never receives keyboard activation.

**Understandable**: content behaves predictably. Labels, instructions, errors, and consistent navigation belong here. An unlabeled icon-only search box fails at first interaction.

**Robust**: content exposes correct names, roles, states, and values. A custom combobox that reports no expanded state fails here.

They also form a test plan: contrast for P, keyboard for O, a broken form for U, the tree for R.

## The A and AA criteria that break real interfaces

Level A is the minimum, AA the usual procurement and legal baseline, and AAA stricter and often impractical site-wide. WCAG 2.2 (W3C Recommendation, October 2023) added 2.5.8 Target Size, 3.3.7 Redundant Entry, and 3.3.8 Accessible Authentication, and removed 4.1.1 Parsing.

| Success criterion | Level | Requirement | Typical failure | Pass check |
| --- | --- | --- | --- | --- |
| 1.3.1 Info and Relationships | A | Structure is programmatic | Font-size headings, `div` lists | Tree exposes headings, lists, headers |
| 1.4.3 Contrast (Minimum) | AA | 4.5:1 normal, 3:1 large | Gray helper text, placeholder labels | Sample rendered pixels |
| 2.4.7 Focus Visible | AA | Visible focus indicator | `outline: none`, clipped rings | Tab through every control |
| 2.5.8 Target Size (Minimum) | AA | 24x24 CSS pixels or exception | 16px icons, tiny close buttons | Measure the clickable box |
| 3.3.1 Error Identification | A | Text error identifies the item | Red border, generic message | Submit invalid data |

Conformance covers full pages and complete processes: a widget that passes alone does not rescue a checkout that fails at payment. Techniques must be accessibility-supported; an ARIA pattern no browser implements is not a fix.

## Semantic HTML, ARIA, and how the accessible name is computed

Native elements carry role, state, keyboard behavior, and often a name before you write JavaScript. A `<button>` responds to Enter and Space and takes its name from its text. A `<div role="button">` changes only the accessibility tree; it still needs a tab stop and key handlers, and most implementations forget one. This is the first rule of ARIA: do not use ARIA when a native element already provides the semantics.

Misused ARIA is worse than none. `aria-hidden="true"` on a container holding focusable links removes them from the tree but leaves them in the tab order, producing focus on nothing. `role="presentation"` on a focusable element strips semantics users need, and an `aria-label` that disagrees with the visible label breaks 2.5.3 Label in Name for speech-input users.

The accessible name algorithm has a fixed order: `aria-labelledby` concatenates referenced elements, then `aria-label`, then native sources such as `<label for>`, `alt`, button content, or `<legend>`. The `title` attribute is a last resort, and a `placeholder` is not a label: it disappears, often fails contrast, and is inconsistently announced.

```html
<!-- Wrong: no role, no keyboard behavior, no accessible name -->
<div class="icon-button" onclick="save()">💾</div>

<!-- Right: native button, visible text, name computed from content -->
<button type="button" onclick="save()">Save</button>

<!-- Icon-only button: aria-label supplies the name, the SVG is decorative -->
<button type="button" aria-label="Save changes">
  <svg aria-hidden="true" focusable="false" viewBox="0 0 24 24"><path d="M5 13l4 4L19 7"/></svg>
</button>
```

Verify in the browser's Accessibility pane, not by reading source: Chrome DevTools and Firefox expose the computed name, role, and state. An empty or duplicated name is a markup bug.

## Keyboard order, focus visibility, and skip links

Focus order follows the DOM, not the visual layout. CSS `order`, grid placement, and absolute positioning can make a page look logical and tab unpredictably. Positive `tabindex` values impose a fragile separate order; use `tabindex="0"` only on custom controls.

Every focusable control needs an indicator with 3:1 contrast against adjacent colors. `outline: none` without a replacement is the most common 2.4.7 failure. Prefer `:focus-visible`, but never remove the ring without drawing another. Sticky headers and chat widgets can cover the focused element and fail 2.4.11; add scroll padding or move the overlay.

Modals need deliberate focus management: move focus inside, keep Tab within it, close on Escape, and return focus to the trigger. Native `<dialog>` with `showModal()` and `inert` on the background provide most of this. A trap is allowed only if the user can leave with a standard action; an exitless trap fails 2.1.2.

A skip link is cheap insurance:

- Use `<a href="#main">Skip to main content</a>` as the first focusable element.
- Give the target `<main id="main" tabindex="-1">` so focus moves there in every browser.
- Clip it visually and reveal it on `:focus`.

Audit hidden content: `display: none` and `visibility: hidden` remove elements from the tab order, but `opacity: 0` and off-screen positioning often leave controls reachable. A closed menu that still accepts Tab is a common failure.

## Contrast is arithmetic, and color is never the only signal

Success criterion 1.4.3 sets 4.5:1 for normal text and 3:1 for large text, defined as 18 point regular or 14 point bold, roughly 24 and 18.66 CSS pixels. The ratio comes from relative luminance: linearize each sRGB channel, compute `0.2126R + 0.7152G + 0.0722B`, then divide `(lighter + 0.05)` by `(darker + 0.05)`. Do not estimate by eye.

The shipped color is often not the design token: opacity, overlays, gradients, images, and dark mode change the effective pair. Sample the rendered pixel with a [color picker](/tools/image-color-picker) and test both themes. Placeholder text and text over photography are frequent failures; WCAG exempts inactive controls, but essential information should not look disabled.

Success criterion 1.4.11 extends 3:1 to non-text content: input borders, toggle states, icon buttons, chart segments, and focus indicators. A focus ring that matches the card behind it is invisible even when it exists in the DOM.

Color alone is prohibited by 1.4.1. Inline links need an underline or another cue; a red error border needs an icon and text; required fields need a label, not just an asterisk; chart series need patterns, labels, or a table. Switch to grayscale: if meaning disappears, color is doing all the work.

## Forms: labels, errors, and recovery

Every control needs a programmatic label: `<label for>` with a matching `id`, or a wrapping label. Group radios and checkboxes in `<fieldset>`/`<legend>`. Add `autocomplete` tokens such as `email` or `one-time-code` so 1.3.5 Identify Input Purpose and 3.3.8 Accessible Authentication hold and password managers work.

Errors fail 3.3.1 when the message is only a red border. Identify the field and describe the problem in text, keep the input, connect the message with `aria-describedby`, and set `aria-invalid="true"` until corrected. Announce asynchronous errors with `role="alert"` or a polite live region, and move focus only when the user must act. A summary linking each invalid field works for long forms; a generic message does not.

Native validation bubbles are not enough: they are inconsistently announced, disappear quickly, and cannot describe server-side rules, which must map back to the field with the same markup. Escape literal angle brackets and ampersands so the browser renders text; an [HTML entity encoder](/tools/html-entities) produces `&lt;` and `&amp;`.

Two new criteria matter early. 3.3.7 Redundant Entry forbids asking for the same information twice in one process unless essential or auto-populated. 3.3.8 Accessible Authentication forbids cognitive tests such as memorizing a code; allow paste and password managers, and offer an alternative. Blocking paste fails directly.

## Alt text is a decision tree, not a sentence

Alt text is the information an image contributes, not a description of its pixels. Walk the same tree for every image:

1. Decorative, visual texture, or already described nearby? Use `alt=""` and no title. A missing `alt` makes some readers announce the filename.
2. A control or link? Name the action or destination, not the picture.
3. Informative? Describe what the reader needs in context, without "image of" or "picture of".
4. Complex data or a process? Give a short alt plus a long description nearby: a data table, a `<details>` block, or text referenced by `aria-describedby`.
5. Text inside the image essential? Reproduce the words, or better, render them as real text.

Quality still matters. Do not repeat a caption, include a filename, or write "chart" for a chart. A logo linking home can use the brand name; the same logo in a footer is decorative. Inline SVG needs `role="img"` and a `<title>` or `aria-label` when meaningful, `aria-hidden="true"` when decorative. Automation confirms that `alt` exists; only a human confirms that it is useful.

## Motion, zoom, reflow, and target size

Motion can cause nausea and block interaction. Success criterion 2.2.2 requires a pause, stop, or hide mechanism for content that starts automatically, lasts over five seconds, and sits alongside other content. 2.3.3 Animation from Interactions is Level AAA, but honoring `prefers-reduced-motion` is cheap and expected.

```css
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
```

The blanket rule is a starting point. Remove parallax and large zoom transitions under the preference; keep small state changes that communicate progress. Test with the OS setting and DevTools emulation.

Zoom and reflow are separate tests. At 200% browser zoom, 1.4.4 requires no loss of content or functionality; use relative units and avoid fixed-height containers that clip text. At 400% zoom on a 1280px viewport, equivalent to 320 CSS pixels, 1.4.10 requires no horizontal scrolling except for content that needs two dimensions, such as data tables or maps. Check the viewport meta tag: `maximum-scale=1` or `user-scalable=no` blocks pinch zoom and fails 1.4.4 on mobile. A [meta tag generator](/tools/meta-tag-generator) can produce a clean `width=device-width, initial-scale=1` declaration; verify that no zoom lock is added.

Target size is new at AA in 2.2. Success criterion 2.5.8 requires 24x24 CSS pixels, measured on the clickable area rather than the glyph. Exceptions: undersized targets pass with sufficient spacing (a 24px circle around each target must not intersect another), an equivalent control, inline text, a user-agent default, or an essential size. Audit icon toolbars, table actions, and close buttons first. 2.5.7 requires a single-pointer alternative to dragging, such as a slider with plus and minus buttons.

## Scanners are a first pass; screen readers are the smoke test

Automated tools such as axe-core, Lighthouse, WAVE, and pa11y are fast and incomplete. They find missing labels, invalid ARIA, duplicate IDs, empty links, and simple contrast failures, but cannot judge alt-text quality, focus order, keyboard traps, helpful errors, or a widget's announced state. Estimates put automated coverage at 30 to 50 percent of WCAG failures.

Lighthouse's score aggregates some axe rules, not WCAG conformance; 100 means those rules passed. Contrast checks return "incomplete" over images and gradients, which teams misread as a pass. Gate merges on zero serious or critical axe violations, then require the manual checklist.

Screen-reader testing needs a script, not expertise. Use NVDA with Firefox, JAWS with Chrome, VoiceOver with Safari, or TalkBack on Android; test one desktop reader per release and record versions.

1. Load the page, listen to the title and first heading, then walk headings and landmarks. Levels should nest, and one main region should exist.
2. Tab through every control. Each stop should announce name, role, and state; Enter and Space should activate, Escape should close overlays.
3. Submit invalid data. Confirm the error is announced, associated with the field, and focus moves sensibly.
4. Open and close a dialog. Focus should enter, stay inside, and return to the trigger.
5. Check images: informative ones announce useful text; decorative ones stay silent.

NVDA: Insert+Down reads, H headings, D landmarks, F fields. JAWS: Insert+F5 fields. VoiceOver: Control+Option, VO+U rotor. Test browse and focus modes; one reader passing is evidence, not proof.

## A repeatable WCAG 2.2 verification checklist

A release checklist should produce evidence, not a feeling. Run it on every template and every flow that takes money, creates an account, or submits data.

| Area | Pass criteria | How to verify |
| --- | --- | --- |
| Semantics and structure | One `h1`, nested headings, real lists and tables, landmarks | Inspect the tree; navigate by headings |
| Names and roles | Every control has a non-empty name and correct role | Accessibility pane; axe name rules |
| Keyboard | All functions work with Tab, Shift+Tab, Enter, Space, Escape, arrows; no exitless trap | Complete the task without a mouse |
| Focus visibility | Visible on every stop, 3:1 against adjacent colors | Tab through; screenshot each stop |
| Contrast and color | 4.5:1 normal, 3:1 large and UI; no color-only meaning | Sample pixels; grayscale test |
| Forms and errors | Every field labeled; errors in text, tied to field, input preserved | Submit invalid data; listen |
| Images | Decorative empty, functional named, complex described | Code review plus screen reader |
| Zoom and reflow | No loss at 200%; no horizontal scroll at 320 CSS pixels; pinch zoom on | Browser zoom, DevTools width, viewport |
| Motion and targets | Reduced motion honored; targets 24x24 or exception | Emulate motion; measure boxes |
| Automation | Zero serious or critical axe violations, manual checks complete | CI plus manual record |

Record the date, browser and assistive-technology versions, pages tested, and defects found; a claim without that record is a guess. After a fix, rerun the original check and one adjacent check, because fixes often move the failure rather than remove it.

## Frequently asked questions

### What is the difference between WCAG 2.2 Level A, AA, and AAA?

Level A contains the minimum criteria, such as keyboard access, text alternatives, and error identification. Level AA adds the requirements most organizations adopt, including 4.5:1 contrast, visible focus, reflow, and 24x24 target sizes. Level AAA is stricter and is usually applied selectively because not every page can meet it.

### Can an automated accessibility scanner certify WCAG 2.2 conformance?

No. Scanners reliably detect missing attributes, invalid ARIA, duplicate IDs, and some contrast failures, but they cannot judge whether alt text is meaningful, whether focus order makes sense, whether a keyboard trap exists, or whether an error message helps a person recover. Use scanners as a first pass and finish with manual keyboard and screen-reader testing.

### What contrast ratio does WCAG 2.2 require for text and UI components?

Normal text needs at least 4.5:1 against its background, and large text needs at least 3:1. Large text means 18 point (about 24 CSS pixels) regular or 14 point (about 18.66 CSS pixels) bold. Non-text UI components, meaningful graphics, and focus indicators need at least 3:1 against adjacent colors.

### How large must a target be to pass success criterion 2.5.8?

The target must be at least 24 by 24 CSS pixels, unless it qualifies for an exception such as sufficient spacing, an equivalent control elsewhere, text inline in a sentence, a user-agent default, or a size that is essential to the function. Measure the clickable area, not just the visible icon.

### How do I smoke-test a page with a screen reader if I do not use one daily?

Pick NVDA with Firefox on Windows, JAWS with Chrome if available, or VoiceOver with Safari on macOS. Load the page, listen to the title and first heading, navigate by headings and landmarks, tab through every control, submit a broken form, and open and close a dialog. Record the browser, screen reader, and version for each finding.

## References

- [W3C: Web Content Accessibility Guidelines 2.2](https://www.w3.org/TR/WCAG22/)
- [W3C: WAI-ARIA 1.2](https://www.w3.org/TR/wai-aria-1.2/)
- [MDN: Accessibility](https://developer.mozilla.org/en-US/docs/Web/Accessibility)
- [web.dev: Learn Accessibility](https://web.dev/learn/accessibility)

---

- Canonical: https://www.jsonmind.com/guides/wcag-accessibility-testing
- Locale: en
- Published: 2026-11-17
- Updated: 2026-11-17
- Tools: image-color-picker, html-entities, meta-tag-generator