Course outline
Lab: buy a book with the keyboard only
Buy a book without touching the mouse, then list every barrier you met against WCAG 2.2 level AA.
Many people never use a mouse: they move through a page with the keyboard, a switch, or a screen reader. WCAG 2.2 level AA, the standard most teams test against, asks that everything work for them too.
In this lab you buy a book from Cedar Books with the keyboard alone, then listen to part of the shop with a screen reader. The shop has planted barriers for you to find.
What you need
- The shop and a keyboard. Put the mouse out of reach.
- A screen reader: NVDA on Windows (free), VoiceOver on a Mac or an iPhone, or TalkBack on Android.
- A table with four columns: where, what happened, who it stops, which WCAG rule.
Steps
- Move with Tab and Shift+Tab, act with Enter and Space. Search for a book and open it.
- Add the book to the basket from a list of books, using a card's basket button.
- Open the mini basket with its button and close it again. Note where the keyboard focus goes after it closes.
- Go to checkout, fill in a made-up address, and pay with the approved test card. Note every place where you could not see where you were, or could not go on.
- Turn on the screen reader and repeat the search and the basket buttons. Write down what it announces for each control.
- For each barrier, fill in the table: where, what happened, who it stops, and the WCAG rule (for example 2.1.1 Keyboard, 2.4.3 Focus order, 4.1.2 Name, role, value, 1.4.3 Contrast).
Hints
Stuck? Open one hint at a time, and try again after each one.
Hint 1
Watch the focus outline at every step. If it disappears, write down where you were.
Hint 2
A button that shows only an icon still needs a name that a screen reader can say.
Hint 3
Small grey text on white can fail the contrast rule. WCAG asks for 4.5 to 1 for normal text.
Done? Record it
Sign in to QAIA to record this lab and keep track of the labs you finish.
Finished the steps and compared your work? Mark the lab done to keep it with your Academy progress.
The planted bugs
This lab is about 3 of the shop's planted bugs. Compare your table with the planted barriers of this lab below, then run the Lighthouse lab to see which of them a tool finds on its own.
Sign in to see the planted bugs this lab is about. They are kept off this page, so nobody reads them by accident before trying.
Try the lab before you look: a bug you find yourself teaches far more than one you read about.