# WCAG and Inclusive Design Principles

> The POUR principles, WCAG 2.2 AA success criteria, colour contrast and motion, and why accessibility is a legal and product requirement. Free notes, key...

Canonical: https://www.internhack.in/roadmaps/tracks/frontend/wcag
Last updated: 2026-11-28

The POUR principles, WCAG 2.2 AA success criteria, colour contrast and motion, and why accessibility is a legal and product requirement.

Intermediate · about 4 hours · difficulty 2/5

Learn first: [Semantic and Accessible HTML](https://www.internhack.in/roadmaps/tracks/frontend/semantic-html), [Responsive Design](https://www.internhack.in/roadmaps/tracks/frontend/responsive-design)

Around one in six people lives with a disability, and everyone is temporarily impaired sometimes: a broken arm, bright sunlight, a noisy train. Accessibility (a11y) is also a legal requirement in many regions (the ADA in the US, the European Accessibility Act, and similar laws elsewhere), so companies expect frontend developers to know the standard.

### WCAG in a nutshell

The **Web Content Accessibility Guidelines** are organised under four principles, **POUR**:

- **Perceivable**: text alternatives for images, captions for video, sufficient colour contrast, content that does not rely on colour alone.
- **Operable**: everything works with a keyboard, users have enough time, nothing flashes dangerously, clear navigation.
- **Understandable**: readable language, predictable behaviour, helpful error messages and labels.
- **Robust**: valid, semantic markup that assistive technologies can interpret.

Each guideline has testable **success criteria** at levels A, AA and AAA. **WCAG 2.2 level AA** is the usual target in contracts and law.

### Criteria you will meet daily

- Contrast of at least 4.5:1 for normal text and 3:1 for large text and UI components.
- Visible focus indicators, and focused elements not hidden behind sticky headers.
- Target sizes large enough to tap (at least 24 by 24 CSS pixels).
- Text that can resize to 200% and reflow at narrow widths without horizontal scrolling.
- Respect `prefers-reduced-motion` for large animations.

### Good enough to move on

You can explain POUR, check contrast with DevTools, list ten common AA criteria and include accessibility acceptance criteria when you plan a feature.

## Key concepts

- **Why accessibility matters**
- **POUR principles**
- **WCAG levels A, AA and AAA**
- **Colour contrast and use of colour**
- **Resize, reflow and target size**
- **Reduced motion and flashing**
- **Accessibility laws and conformance**

## Mini project

Audit a popular website against a WCAG 2.2 AA checklist of 15 criteria, record each failure with a screenshot and the relevant success criterion, and propose a fix for each.

## Check yourself

Light grey text (#999) on white fails WCAG AA. What contrast ratio does normal-size body text need?

## Free resources

- [WCAG 2 Overview](https://www.w3.org/WAI/standards-guidelines/wcag/) (W3C WAI)
- [How to Meet WCAG (Quick Reference)](https://www.w3.org/WAI/WCAG22/quickref/) (W3C WAI)
- [Learn Accessibility](https://web.dev/learn/accessibility) (web.dev)

Previous: [End-to-End Testing with Playwright](https://www.internhack.in/roadmaps/tracks/frontend/e2e-testing) · Next: [ARIA and Accessible Custom Widgets](https://www.internhack.in/roadmaps/tracks/frontend/aria)

## More in Accessibility in Depth

- [WCAG and Inclusive Design Principles](https://www.internhack.in/roadmaps/tracks/frontend/wcag)
- [ARIA and Accessible Custom Widgets](https://www.internhack.in/roadmaps/tracks/frontend/aria)
- [Keyboard Navigation and Focus Management](https://www.internhack.in/roadmaps/tracks/frontend/keyboard-focus)
- [Screen Readers and Accessibility Testing](https://www.internhack.in/roadmaps/tracks/frontend/a11y-testing)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Frontend Developer Roadmap](https://www.internhack.in/roadmaps/tracks/frontend)
