Skip to content

Accessibility testing: how to check an application against WCAG 2.2

B2Bnetwork team · · 6 min

Testing and quality

In brief

You check an application against WCAG 2.2 in three steps: an automated scanner that quickly finds missing alt text and insufficient contrast, a manual test using only the keyboard and a screen reader, and a review of the criteria no tool can judge, such as whether error messages are understandable. The usual target is level AA. You test a representative sample of screens and complete user journeys, and record the result as a list of failed criteria with the location and the fix.

What WCAG 2.2 is and which level to test

WCAG (Web Content Accessibility Guidelines) are the W3C guidelines on making web content accessible to people with disabilities. Version 2.2 has been a W3C Recommendation since October 5, 2023. The guidelines rest on four principles: content must be perceivable, operable, understandable and robust. Each success criterion has a level: A, AA or AAA.

In practice the target is level AA, meaning all A and AA criteria. That is the level laws and contracts refer to, while AAA for a whole site is hard to achieve. Legal requirements for banks, online stores and other digital services are covered in the article on the European Accessibility Act. Directive (EU) 2019/882 requires member states to apply their national measures from June 28, 2025.

WCAG 2.2 is backward compatible with version 2.1: the 2.1 criteria are essentially unchanged, and only criterion 4.1.1 Parsing, which the W3C considers obsolete, was removed. An application that conforms to WCAG 2.2 therefore also meets requirements written against 2.1.

What is new in WCAG 2.2

WCAG 2.2 adds nine criteria. Six of them are at level A or AA, so they belong in a typical audit.

CriterionLevelHow to check it
2.4.11 Focus Not Obscured (Minimum)AATab through the screen: the focused element must not be entirely hidden by a sticky header, cookie banner or chat widget
2.5.7 Dragging MovementsAAEvery drag action (amount slider, reordering, map) must have a single-click alternative
2.5.8 Target Size (Minimum)AATouch targets are at least 24 by 24 CSS pixels or have enough spacing from their neighbors, with the exceptions listed in the criterion
3.2.6 Consistent HelpAContact details, chat or help sit in the same place on consecutive screens of a process
3.3.7 Redundant EntryAData entered earlier in the same process is not required a second time unless the system offers it
3.3.8 Accessible Authentication (Minimum)AASign-in does not require remembering or retyping a code without help: pasting and password managers work

The remaining three criteria (2.4.12, 2.4.13 and 3.3.9) are at level AAA. They are worth knowing, especially 2.4.13 Focus Appearance, because a clearly visible focus helps everyone who uses a keyboard.

Automated tests: what they catch and what they miss

Accessibility scanners (browser extensions, libraries in E2E tests, tools in the CI pipeline) check the page code against rules. They quickly find:

  • images without alt text;
  • form fields without a label;
  • insufficient text contrast, meaning below 4.5:1 for normal text and 3:1 for large text;
  • a missing page language and a broken heading structure;
  • invalid ARIA attributes.

What they cannot judge is whether the alt text describes the image meaningfully, whether the focus order is logical, whether an error message says what to fix, or whether a process can be completed with a screen reader from start to finish. So a scanner is the first filter, not an audit. It works well in CI as a regression guard: a new form without labels stops the release. How to bring such tests into automation is described in the article on where to start with test automation.

Manual tests: keyboard, screen reader, zoom

Manual tests run on complete journeys, not on individual screens: sign-in, a transfer, submitting an application, a purchase with payment. The minimum set:

  1. Keyboard only. Put the mouse aside and complete the journey with Tab, Shift+Tab, Enter, Space and the arrow keys. Every element must be reachable, the focus visible, and every modal dialog must let you out.
  2. Screen reader. NVDA or JAWS on Windows, VoiceOver on macOS and iOS, TalkBack on Android. Check that buttons have names, fields have labels, and error messages and on-screen changes are announced.
  3. Zoom and reflow. Enlarge text to 200% and set the window width to the equivalent of 320 CSS pixels. Content must not overlap or require scrolling in two directions.
  4. Color and contrast. Information must not be conveyed by color alone, for example a red field border with no error text.
  5. Time and motion. Session time limits can be extended, animations can be paused.

The most telling tests involve people who use assistive technologies every day. A tester who turns on a screen reader once a month works with it differently from a blind user. Such a test does not replace the criteria review, but it shows which barriers actually block a process and which only slow it down.

Mobile apps need the same tests on devices with the system accessibility features turned on. What is specific to such apps is covered in the article on mobile banking apps.

How to plan the audit and the report

The W3C publishes a methodology for evaluating conformance with WCAG (WCAG-EM). It describes five steps: defining the evaluation scope, exploring the product, selecting a representative sample, evaluating the sample and reporting the findings. With a large application you do not check every screen. The sample includes typical page templates, all key processes, screens with unusual components (charts, maps, calendars) and randomly selected pages.

For each problem, the audit report should give:

  • the number and name of the WCAG criterion;
  • the location: screen, component, process step;
  • a description of who is affected and how to reproduce it;
  • the proposed fix and its priority.

The report goes to the team like ordinary bug reports, so the same rules apply as described in the article on writing a bug report. An example of a full audit in practice is the accessibility audit of an online store.

Questions and answers

Is an automated accessibility tool enough?

No. A scanner checks only the criteria that can be judged from the page code, such as the presence of alt text or contrast. It cannot judge whether a description makes sense, whether the focus order is logical or whether a process can be completed with a screen reader. A full WCAG 2.2 test combines a scanner with manual tests on the key user journeys.

What is the difference between WCAG 2.2 and WCAG 2.1?

WCAG 2.2 adds nine criteria, six of them at levels A and AA: focus not obscured by other elements, an alternative to dragging, a minimum touch target size, help in a consistent place, no re-entering of data and accessible authentication. It also removes criterion 4.1.1 Parsing. The other 2.1 criteria apply unchanged.

Which WCAG level is required?

Most laws and contracts require level AA, meaning all A and AA criteria. Level AAA is usually not required for a whole site, because some of its criteria cannot be met for every type of content. The exact requirements depend on the law that applies to your service and the WCAG version it refers to.

How often should accessibility be tested?

Run the scanner on every change in CI, and manual tests for every new feature and every change to a key process. A full audit on a sample of screens is done before a major release, after an interface redesign or a component library change, and periodically, because small changes from successive sprints add up to new barriers.

What it looks like in a project

Planning testing for your project? Talk to a test manager.

Let's talk

Read more: Testing and quality