Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Lesson 1 of 6 · Concept · 20 min · revision 3

Who Accessibility Serves and How WCAG 2.2 Is Organized

Meet the people your interface serves through assistive technology, learn how WCAG 2.2 is structured, and turn a success criterion into a number you can check.

Contentsand lesson path

On this page

  1. Why it matters
  2. Who your interface serves
  3. POUR and the shape of WCAG 2.2
  4. From criterion to check
  5. Check your understanding
  6. Apply it
  7. Review prompt

Lessons of Web Accessibility

  1. Who Accessibility Serves and How WCAG 2.2 Is Organized Concept · 20 min
  2. Keyboard Access and Focus Management Worked example · 25 min
  3. ARIA: When, Why and How Little Concept · 20 min
  4. Accessible Dialog and Tabs, Step by Step Worked example · 30 min
  5. Lab: Audit with axe, a Keyboard and a Screen Reader Lab · 30 min
  6. Check: Triage Accessibility Defects Knowledge check · 8 questions

What you will learn

  • Map WCAG 2.2 AA success criteria to concrete UI checks, including the 2.2 additions such as focus not obscured, target size, dragging alternatives and accessible authentication.

Prerequisites: Semantic HTML

01. Why it matters

Accessibility is often introduced with guilt and complicated diagrams. It is simpler than that: people use the web in an enormous range of situations, and an interface that only works for a sighted user with a mouse, a large screen and plenty of time excludes many of them. A person may be blind or have low vision, be deaf or hard of hearing, have limited use of their hands, live with dyslexia or ADHD, or simply be holding a phone in one hand on a sunlit platform. Disability is not a niche: most product teams serve people with disabilities every day without noticing, because those users leave when the interface stops working.

Accessibility work is also ordinary engineering work. WCAG 2.2, the standard this skill targets, turns it into requirements you can verify — some by machine, some with a keyboard, some with a screen reader. This lesson maps the territory: who you are building for, how the standard is organised, and how to read a success criterion as a concrete check.

02. Who your interface serves

Assistive technology is any tool a person uses to operate a computer beyond the default keyboard, mouse and screen. The ones a frontend engineer meets most often:

  • Screen readers (NVDA and JAWS on Windows, VoiceOver on macOS and iOS, TalkBack on Android) speak or braille the content, navigating by headings, landmarks, links and form controls rather than reading linearly.
  • Keyboard-only use: many sighted people never touch the mouse — developers, writers, users with repetitive strain injury. They need a visible focus indicator and a sensible tab order.
  • Magnification and zoom, up to 400% browser zoom, which reflows the page instead of overlapping it.
  • Speech input (Dragon, Voice Control), where every control needs a speakable name and targets need to be big enough to hit by voice grid.
  • Switch access and reduced-motion settings, which reward interfaces that work without precise pointing or animation.

The needs are also temporary or situational: a broken wrist, an eye operation, a noisy commute where you cannot listen to a video, bright sunlight that washes out low-contrast text. When you fix a contrast failure, you are fixing it for all of these at once. This is the practical case for building accessibility into the component layer from the start rather than retrofitting it — the same case the semantic HTML lessons make for meaningful markup.

03. POUR and the shape of WCAG 2.2

WCAG (the Web Content Accessibility Guidelines) is published by the W3C. Its current version, WCAG 2.2, became a W3C Recommendation in October 2023 and was revised in December 2024. Everything is organised under four principles — remember them as POUR:

  1. Perceivable — information must be presentable in ways users can detect: text alternatives for images, captions for video, contrast between text and background.
  2. Operable — every function must work by many inputs: keyboard, voice, no dragging required, no time pressure that cannot be extended.
  3. Understandable — readable text, predictable behaviour, labels and error messages that help people correct mistakes.
  4. Robust — content must be reliably parsed by browsers and assistive technology, which in practice means correct semantics and names.

Each principle contains guidelines, and each guideline contains numbered success criteria — the testable statements, such as 1.4.3 Contrast (Minimum) or 2.4.7 Focus Visible. Every criterion belongs to a level:

  • Level A is the floor; failing it blocks some users from some content entirely.
  • Level AA is the accepted standard for production sites, and the level most laws and policies reference. A page conforms at AA only when it meets every applicable A and AA criterion.
  • Level AAA is stricter. WCAG itself advises against requiring AAA as a general policy for whole sites, because some content cannot meet every AAA criterion; treat it as a reference for the pages where it fits.

WCAG 2.2 added nine criteria and removed 4.1.1 Parsing, which browsers had made obsolete. Of the additions, the ones at level A or AA that you will act on first: 2.4.11 Focus Not Obscured (Minimum), 2.5.7 Dragging Movements, 2.5.8 Target Size (Minimum), 3.2.6 Consistent Help, 3.3.7 Redundant Entry and 3.3.8 Accessible Authentication (Minimum). The later lessons in this skill put several of these to work.

04. From criterion to check

A success criterion is only useful once you can map it to something concrete. Take 1.4.3 Contrast (Minimum): normal text needs a contrast ratio of at least 4.5:1 against its background; large text (18.66 px bold or 24 px regular and above) needs 3:1. The ratio is not a feeling — it is computed from the relative luminance of the two colours, and you can compute it yourself in a few lines:

JavaScript · contrast.mjs
function channel(value) {
  const c = value / 255;
  return c <= 0.04045 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
}
function luminance(hex) {
  const n = parseInt(hex.slice(1), 16);
  return 0.2126 * channel(n >> 16) +
    0.7152 * channel((n >> 8) & 255) + 0.0722 * channel(n & 255);
}
function ratio(a, b) {
  const [hi, lo] = [luminance(a), luminance(b)].sort((x, y) => y - x);
  return (hi + 0.05) / (lo + 0.05);
}
for (const fg of ['#777777', '#767676', '#595959']) {
  const r = ratio(fg, '#ffffff');
  const verdict = r >= 4.5 ? 'passes AA' : 'fails AA';
  console.log(`${fg} on white  ${r.toFixed(2)}:1  ${verdict}`);
}
Expected output
#777777 on white  4.48:1  fails AA
#767676 on white  4.54:1  passes AA
#595959 on white  7.00:1  passes AA

The 0.04045 cut-off is the one in the current WCAG definition of relative luminance; older tools use 0.03928, which the W3C notes makes no practical difference to these ratios. Three greys, two verdicts. A designer who asks for #777777 body text on white has asked for a measurable WCAG failure by 0.02 of a ratio point — the kind of finding you can file with the criterion number attached. Later lessons run exactly this check inside the browser, where the tool works out which colours actually apply, including through transparency and overlapping layers.

Not every criterion reduces to arithmetic. "Focus Visible" is checkable by tabbing; "Link Purpose" asks whether the link text makes sense out of context, which is a judgement a person makes. Knowing which side of that line each criterion falls on is what the audit lab at the end of this skill teaches.

05. Check your understanding

Practice check · 3 questions

WCAG structure and levels

Three questions on how the standard is put together.

Q1. Contrast (Minimum), 1.4.3, sits under guideline 1.4 Distinguishable. Which of the four principles does it belong to?
Q2. A team ships a page that meets every level A criterion and most level AA ones, plus several AAA criteria. What is the correct conformance claim?
Q3. A board app moves cards between columns only by dragging them with a pointer. Under WCAG 2.2 AA, which success criterion addresses this, and what does it require?
Practice only: not graded, not saved, not evidence.

06. Apply it

In the skill's practice task you audit a real app against WCAG 2.2 AA. Start the paperwork now: create a findings document with one row per issue — the URL and component, what a user experiences, the success criterion number and level, and the severity. Then pick one screen you own and map five criteria to five concrete checks you could perform on it, naming for each whether a machine, a keyboard or a screen reader performs the check. Keep the list; the lab at the end of this skill turns it into a workflow.

07. Review prompt

Without looking back: name the four WCAG principles and one example criterion for each. Say what a conformance claim at level AA commits you to, list three of the WCAG 2.2 additions at A or AA, and explain why 4.48:1 fails 1.4.3 while 4.54:1 passes.

References

Your progress

Reading state

Sign in to save that you finished reading this lesson.

Sign in to mark reading complete

Prove this skill

8 questions · about 6 minutes · scored automatically. Marking a lesson as read never demonstrates a skill.
Take the skill check