Web design accessibility: a practical WCAG 2.2 AA guide
Web accessibility means designing and building websites so that people with disabilities can perceive, understand, navigate and use them, including people who are blind or have low vision, are deaf or hard of hearing, have motor impairments, or have cognitive and learning disabilities. The working standard is the W3C's Web Content Accessibility Guidelines, and level AA of WCAG 2.2 is the target most organisations should aim for.
Accessibility also helps everyone else. Captions help people watching in a noisy metro. Good contrast helps people reading in sunlight. Keyboard support helps power users. Clear forms help people in a hurry. Most accessibility fixes are simply good design, applied consistently.
This guide covers what WCAG 2.2 AA asks for in the areas that matter most on business websites: colour and contrast, keyboard use, screen readers, forms and media. It also explains, at a high level, the Indian context, and how to build accessibility into a project rather than bolting it on later.
What web accessibility means under WCAG 2.2
WCAG is published by the World Wide Web Consortium's Web Accessibility Initiative. It is organised around four principles. Content must be perceivable, so people can sense it through sight, hearing or touch. It must be operable, so people can use it with different input methods. It must be understandable, so people can follow its language and behaviour. And it must be built on sound, standards-based code that browsers and assistive technologies can interpret reliably.
Each principle contains guidelines, and each guideline has testable success criteria at three levels: A, AA and AAA. Level A covers the most basic barriers. Level AA, which includes all of level A, is the level referenced by most policies and procurement rules around the world. Level AAA is demanding and is usually applied to specific content rather than whole sites.
What is new in WCAG 2.2
WCAG 2.2 builds on 2.1 and adds criteria that matter especially for mobile users and people with cognitive or motor disabilities. At levels A and AA, the additions are:
- Focus not obscured: a focused element must not be completely hidden by sticky headers, cookie banners or chat widgets.
- Dragging movements: anything done by dragging must also be possible with a simple tap or click.
- Target size minimum: interactive targets should be at least 24 by 24 CSS pixels, or have enough space around them.
- Consistent help: help options such as contact details or chat appear in the same place across pages.
- Redundant entry: users should not have to re-enter information they already gave in the same process.
- Accessible authentication: logging in should not depend on a memory or puzzle test, and users must be able to paste passwords and codes.
WCAG 2.2 also removed one older criterion, about parsing, because modern browsers and assistive technologies handle markup errors differently than they once did.
Colour and contrast
Low contrast is one of the most common accessibility failures on the web, and one of the easiest to prevent at the design stage.
| Requirement | WCAG 2.2 AA level | What it means in practice |
|---|---|---|
| Normal text contrast | At least 4.5:1 | Body text, labels and links against their background |
| Large text contrast | At least 3:1 | Text that is large or bold, such as headings |
| Non-text contrast | At least 3:1 | Input borders, icons that convey meaning, focus indicators, chart elements |
| Use of colour | Colour is never the only cue | Errors, links and status need text, icons or patterns as well as colour |
Pale grey text on white, white text on bright brand colours and thin placeholder text are frequent offenders. Check contrast while choosing the palette, not after the site is built. Our guide to choosing a website colour scheme explains how to build a palette that passes these checks, and our guide to typography in UI design covers readable sizes and spacing.
Also check that content works when zoomed. At level AA, text should be resizable to twice its size without loss of content, and pages should reflow to a narrow width, equivalent to 320 CSS pixels, without horizontal scrolling, except for content such as maps and data tables that genuinely needs two dimensions.
Keyboard access and focus
Many people do not use a mouse. They navigate with a keyboard, a switch device, voice control or a screen reader, all of which depend on keyboard access.
- Every link, button, form field, menu and custom widget must be reachable and usable with the keyboard alone.
- Focus order should follow the visual and logical order of the page.
- The focused element must always be visible, with a clear focus indicator. Never remove focus outlines without replacing them with something equally visible.
- Sticky headers, banners and chat widgets must not cover the focused element.
- There must be no keyboard traps, where focus enters a component and cannot leave.
- Provide a skip link so keyboard users can jump past repeated navigation to the main content.
- Dialogs should move focus into the dialog when opened and return it when closed.
A simple test catches many problems: unplug the mouse and try to complete the main tasks on your site using only Tab, Shift and Tab, Enter, Space and the arrow keys. If you cannot see where you are, or cannot reach something, neither can many of your users.
Screen readers and semantic structure
Screen readers, such as NVDA and JAWS on Windows, VoiceOver on Apple devices and TalkBack on Android, read page content aloud or send it to a braille display. They depend on the structure of the code, not the visual design.
The essentials
- Use real HTML elements for their purpose: headings for headings, buttons for actions, links for navigation, lists for lists.
- Use one clear H1 per page and a logical heading order, since many screen reader users navigate by headings.
- Use landmarks such as header, nav, main and footer, so users can jump between regions.
- Give every meaningful image a text alternative that describes its purpose, and mark decorative images so they are skipped.
- Give icon-only buttons an accessible name, such as 'Search' or 'Close menu'.
- Write link text that makes sense out of context. 'Download the brochure' is better than 'Click here'.
- Set the page language, and mark passages in other languages, such as Hindi text on an English page, so the screen reader uses the right pronunciation.
Custom components such as carousels, tabs, accordions and dropdown menus need particular care. The W3C ARIA Authoring Practices Guide documents the expected keyboard behaviour and roles for each common pattern. Our guide to designing FAQ sections shows how this applies to accordions.
Accessible forms
Forms are where accessibility failures cost businesses most directly, because they block enquiries, sign-ups and purchases.
- Give every field a visible label that is programmatically linked to the input. Placeholder text is not a label.
- Mark required fields in text, not only with colour or an asterisk without explanation.
- Use autocomplete attributes for personal details such as name, email, phone and address, which helps people with motor and cognitive disabilities.
- Identify errors in text, next to the field, and explain how to fix them.
- Do not rely on time limits, or let users extend them.
- Do not ask for the same information twice in a process; carry it forward or let users select it.
- Allow pasting into password and OTP fields, and avoid image puzzles as the only way to log in. Offer an accessible alternative where a CAPTCHA is unavoidable.
These practices also reduce friction for every user, which is why our guide to frictionless UX and smooth user flows covers many of the same points from a conversion angle.
Video, audio and motion
Media needs alternatives so people who cannot see or hear it still get the content.
| Content | What level AA expects |
|---|---|
| Pre-recorded video with sound | Synchronised captions, plus audio description where important visual information is not spoken |
| Live video with sound | Live captions |
| Audio-only content, such as podcasts | A text transcript |
| Video-only content | A text alternative or audio track describing it |
| Audio that plays automatically | A way to pause or stop it, or keep it under a few seconds |
| Moving, blinking or auto-updating content | Controls to pause, stop or hide it |
| Flashing content | No flashing more than three times in any one second |
Auto-generated captions are a useful starting point but often mishandle names, technical terms and Indian accents, so review and correct them before publishing. Respect the reduced motion setting in operating systems by toning down animations for users who request it.
Accessibility in India, and how to build it in
In India, many people use the web with a disability, a temporary injury or ageing eyesight, and many browse on small, low-cost phones in bright sunlight. Government bodies and large organisations increasingly ask for WCAG conformance in briefs and tenders, and Indian accessibility standards draw on WCAG. From a practical standpoint, building to WCAG 2.2 AA is the sensible target for any Indian organisation serving the public.
Building accessibility into a project
- Include WCAG 2.2 AA in the brief and the contract, so it is a requirement rather than a wish.
- Check contrast, focus states and target sizes in the design system before pages are designed.
- Build components with semantic HTML and test them with keyboard and screen reader as they are built.
- Use automated tools such as axe or Lighthouse to catch common issues, knowing they find only part of the problems.
- Run manual checks with keyboard, zoom and at least one screen reader on desktop and mobile.
- Test with disabled users where possible, since they find issues no checklist covers.
- Train content editors on headings, alt text, link text and captions, because accessibility can break with every new upload.
Accessibility is far cheaper when designed in than when retrofitted. If your current site has issues, a structured UX research and audit can include an accessibility review against WCAG 2.2 with prioritised fixes. For new builds and redesigns, our UI/UX design services include accessible design systems, components tested with assistive technology, and handover guidance for your content team. Good accessibility also strengthens learnability, since clear structure and feedback help every new visitor.