03.5.5 · Skill in Accessibility

WCAG principles

The web accessibility guidelines, built on four principles.

The Web Content Accessibility Guidelines set the reference standard, and many laws point to them. Knowing the four principles and the common success criteria covers most everyday work. Automated checkers find only part of the problems.

Your status · WCAG principles

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

The Web Content Accessibility Guidelines (WCAG) are the reference for making a product usable by people with disabilities, and many laws point to them. Most of the fixes live in code: markup, labels, focus, contrast, keyboard support. An engineer who knows the main criteria prevents most problems while building, when they are cheap.

How to do it

  1. Learn the four principles. Content must be perceivable, operable, understandable and robust.
  2. Use the right HTML element for each job: buttons for actions, links for navigation, labels for inputs, headings in order.
  3. Check contrast for text and for controls, in light and dark mode.
  4. Use the product with only a keyboard: every action reachable, focus always visible, no traps.
  5. Run an automated checker in development and in CI. It finds part of the problems, not all.
  6. Test the main tasks with a screen reader, and fix what blocks them first.

Common mistakes

  • Treating accessibility as a final audit instead of part of each feature.
  • Trusting an automated score of 100 as proof of conformance.
  • Divs and spans with click handlers instead of buttons.
  • Images without alternative text, or with text that repeats the file name.
  • Hiding the focus outline because it looks untidy.

Example

Each year WebAIM tests the home pages of the top million websites. In 2026, 95.9% had WCAG failures that a tool could detect, with 56.1 errors per page on average. 96% of all the errors fell into six types, and these have been the same for seven years. Fixing those six would remove most of the barriers.

Bars

The six most common WCAG failures, share of the top million home pages

  • Low contrast text83.9%
  • Missing alternative text for images53.1%
  • Missing form input labels51%
  • Empty links46.3%
  • Empty buttons30.6%
  • Missing document language13.5%

All six are basic, and all six are in the code. Most of them a linter can catch before release.

MeasuredWebAIM, The WebAIM Million, 2026 report

Sources: The WebAIM Million, 2026 report (WebAIM) ↗ · Quick reference to web accessibility principles (WebAIM) ↗

Resources

3

Tools

2
  • ToolFree
    WAVE

    Free accessibility evaluation tool that marks problems directly on the page.

  • ToolFreemium
    axe DevTools

    Automated accessibility checks in the browser and in tests, built on the open-source axe-core engine.