edubun
English
Making websites · 6 units · about 139 min · 58 practice questions

Web accessibility

Six units on building pages that work for people who use screen readers, keyboards, zoom or high contrast. Each unit follows the WCAG 2.2 success criteria it covers, and each has live HTML exercises that check your code, flashcards and 9 or 10 practice questions with explanations.

Progress
Start

What you will learn

  • Write alt text that serves the same purpose as the picture
  • Use real h1 to h6 elements so headings can be listed and jumped to
  • Make every control work from the keyboard
  • Tie every field to a label
  • See a page as roles, names and states

Units

  1. 1Alternative text for images19 pages23 minExplain5Explore2Problem9Practice2
  2. 2Heading structure and landmarks18 pages22 minExplain3Explore2Problem9Practice3
  3. 3Colour contrast19 pages23 minExplain4Explore1Problem10Practice3
  4. 4Using a page with the keyboard20 pages25 minExplain4Explore2Problem10Practice3
  5. 5Form labels18 pages23 minExplain2Explore3Problem10Practice2
  6. 6Screen readers and the first rule of ARIA19 pages23 minExplain3Explore3Problem10Practice2

About this course

A decorative swirl and a sales chart both use the same img element, yet the right alt text for the swirl is an empty string and for the chart a full sentence. That small gap is the whole subject in miniature: the markup is identical, and the right answer depends on who is reading and how. This course teaches pages for people who use screen readers, keyboards, zoom or high contrast, and every unit follows the WCAG 2.2 success criteria it covers.

One mistake the course corrects is giving a div or span a button role when a real button would already work with the keyboard and screen readers, with no extra code.

Before you start

The exercises are live HTML, so you should be able to write elements, attributes and forms as covered in HTML. The contrast unit talks about text and background colours, which is easier after CSS. One unit asks you to put the mouse aside and move through a page with Tab.

Course map

Making websites · Courses: 3
Sources for this course (8)
  • W3C, Web Content Accessibility Guidelines (WCAG) 2.2, W3C Recommendation first published 5 October 2023, current edition 12 December 2024 (w3.org/TR/WCAG22/, checked 2026-10-17)
  • W3C WAI, What's new in WCAG 2.2 (w3.org/WAI/standards-guidelines/wcag/new-in-22/, checked 2026-10-17)
  • W3C WAI, Images tutorial and alt decision tree (w3.org/WAI/tutorials/images/decision-tree/, checked 2026-10-17)
  • W3C, Using ARIA (w3.org/TR/using-aria/, Discontinued Draft 24 February 2026, rules 1 to 4, checked 2026-10-17)
  • W3C WAI-ARIA Authoring Practices Guide, Read Me First, "No ARIA is better than bad ARIA" (w3.org/WAI/ARIA/apg/practices/read-me-first/, checked 2026-10-17)
  • MDN Web Docs, tabindex (developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex, checked 2026-10-17)
  • MDN, Heading elements, accessibility notes (developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements, checked 2026-10-17)
  • MDN, autocomplete attribute (developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete, checked 2026-10-17).

Checked: 2026-10-17