Web Accessibility

Build websites everyone can use: semantic HTML, alt text, forms, keyboard focus, contrast, ARIA and testing, following WCAG 2.2, in short lessons.

  • 0 students
  • 89 lessons
  • 6 h 17 min

Created by Ayim Nelson

What you will learn

  • Explain why accessibility matters for people, the law and search engines
  • Describe how people use the web with screen readers, keyboards, zoom and colour blindness
  • Use WCAG 2.2, POUR and the A/AA levels to judge a page
  • Write semantic HTML with landmarks, ordered headings, clear links, real buttons and good alt text
  • Build accessible forms with labels, hints and helpful errors
  • Make pages work with the keyboard: visible focus, skip links and sensible tab order
  • Calculate colour contrast and use ARIA roles, names, states and live regions correctly
  • Test pages with a keyboard pass, DevTools' accessibility tree, Lighthouse and axe

About this course

One in six people lives with a disability, and many more are holding a baby, squinting in the sun or browsing on a cheap phone. This course shows you how to build web pages that all of them can use: how people with screen readers, keyboards and zoom use the web, and what WCAG 2.2, the world's accessibility standard, asks of your HTML, CSS and JavaScript. You fix real pages in the Web runner, and write small Python tools that check pages the way automated testers do.

For: beginners who've finished the HTML and CSS crash courses. A little Python helps for the checker exercises, but every starter is mostly written for you.

By the end: you'll write semantic, keyboard-friendly pages with good alt text, labelled forms and enough contrast, use ARIA only where it's needed, build an accessible disclosure and dialog, and test any page with the keyboard, DevTools and tools like Lighthouse and axe.

Course content

11 sections · 89 lessons

Why accessibility matters7 lessons
How people use the web7 lessons
  • Screen readersReading · 3 min
  • The accessibility treeReading · 3 min
  • Keyboard, switch and voice usersReading · 3 min
  • Zoom, magnifiers and large textReading · 3 min
  • Colour blindness and low visionReading · 3 min
  • Cheap phones and slow networksReading · 3 min
  • What a screen reader saysExercise · 10 min
WCAG basics6 lessons
  • What WCAG isReading · 3 min
  • The four POUR principlesReading · 3 min
  • Levels A, AA and AAAReading · 3 min
  • What's new in WCAG 2.2Reading · 3 min
  • Reading a success criterionReading · 3 min
  • Which criteria does AA need?Exercise · 8 min
Semantic HTML and landmarks7 lessons
  • Why semantic HTML mattersReading · 3 min
  • Landmark regionsReading · 3 min
  • One main and named navigationReading · 3 min
  • Page title and languageReading · 3 min
  • Lists that are real listsReading · 3 min
  • Accessible data tablesReading · 3 min
  • From div soup to landmarksExercise · 12 min
Headings, links and buttons8 lessons
  • Headings are a map of the pageReading · 3 min
  • Heading levels in orderReading · 3 min
  • Writing clear link textReading · 3 min
  • Links go places, buttons do thingsReading · 3 min
  • The trouble with clickable divsReading · 3 min
  • Every control needs a nameReading · 3 min
  • Reading HTML with PythonReading · 4 min
  • A heading-order checkerExercise · 12 min
Images, alt text and media9 lessons
  • What alt text is forReading · 3 min
  • Writing good alt textReading · 3 min
  • Decorative imagesReading · 3 min
  • Images that are links or buttonsReading · 3 min
  • Charts and complex imagesReading · 3 min
  • Icons and SVGReading · 3 min
  • Captions and transcriptsReading · 3 min
  • Audio description and autoplayReading · 3 min
  • An alt-text checkerExercise · 12 min
Accessible forms8 lessons
  • Every input needs a labelReading · 3 min
  • Placeholders are not labelsReading · 3 min
  • Grouping with fieldset and legendReading · 3 min
  • Hints and required fieldsReading · 3 min
  • Input types and autocompleteReading · 3 min
  • Error messages that helpReading · 3 min
  • Connecting errors to fieldsReading · 3 min
  • An accessible airtime top-up formExercise · 15 min
Keyboard and focus9 lessons
  • Keys every tester should knowReading · 3 min
  • Focus order follows the sourceReading · 3 min
  • Using tabindexReading · 3 min
  • Visible focusReading · 3 min
  • Focus must not be hiddenReading · 3 min
  • Skip linksReading · 3 min
  • Keyboard trapsReading · 3 min
  • Targets big enough to tapReading · 3 min
  • Skip link and focus stylesExercise · 12 min
Colour and contrast8 lessons
  • Don't rely on colour aloneReading · 3 min
  • What contrast ratio meansReading · 3 min
  • WCAG contrast thresholdsReading · 3 min
  • Relative luminanceReading · 4 min
  • The contrast ratio formulaReading · 3 min
  • Non-text contrastReading · 3 min
  • Checking contrast in DevToolsReading · 3 min
  • A contrast-ratio calculatorExercise · 12 min
ARIA and accessible components11 lessons
  • What ARIA isReading · 3 min
  • The first rule of ARIAReading · 3 min
  • RolesReading · 3 min
  • Naming with aria-label and aria-labelledbyReading · 3 min
  • Hiding content with aria-hiddenReading · 3 min
  • States like aria-expandedReading · 3 min
  • Live regions with aria-liveReading · 3 min
  • A disclosure buttonReading · 4 min
  • A modal dialogReading · 4 min
  • TabsReading · 3 min
  • Chop bar menu with a disclosure and a dialogExercise · 15 min
Testing your pages9 lessons
  • Start with a keyboard passReading · 3 min
  • Zoom and text size checksReading · 3 min
  • The accessibility tree in DevToolsReading · 3 min
  • Lighthouse and axeReading · 3 min
  • What automated tools missReading · 3 min
  • Trying a screen readerReading · 4 min
  • Making accessibility a habitReading · 3 min
  • A mini accessibility auditExercise · 15 min
  • Final quizQuiz · 10 min

Reviews

No reviews yet.

Comments

Log in to join the conversation.

Loading comments...