Skip to the activity

Interactive example

Can you order without a pointer?

Try ordering from the Corner Café with a keyboard only, and compare a pointer-only order control with the same action as a keyboard-operable button.

About this activity
Required:
Browser + keyboard.
Optional tools:
Pointer, touchscreen or screen reader.
Time
~4 minutes
You'll test
Keyboard reachability and operation

Explanation — interface demonstration: compare product behaviour, not disability or lived experience.

Why is this not a disability simulation?

Use your usual input method or assistive technology to examine the interface. This does not reproduce living with a disability or represent everyone’s experience.

Try it here

Warning: the first order row below is intentionally inaccessible to keyboard users. The “Add” controls there look like buttons but cannot be reached with Tab. The repaired version is directly below it, and the explanation is further down the page — you do not need to use the pointer-only row to reach either one.

Use Tab, then Enter or Space, to try the first row. Compare it with the repaired row. If you have a pointer, try both rows with it too. A shared status message makes each attempt visible; reset it whenever you want to compare again. No order is placed and no data is submitted.

The interactive controls need JavaScript. You can still read the explanation of the pointer-only control and its native-button repair below.

What did the interface require?

The barrier version requires a pointer. Its “Add” controls look like buttons, but looking like a button does not provide the semantics or interaction behaviour of a button. Keyboard users cannot reach them through normal focus navigation, and there is no visible focus to follow. The sold-out item is a separate problem: tomato soup is sold out, so it has no “Add” control in either version — that information is in words, not only in a coloured dot.

The repaired version uses native <button> elements for the same actions. Save draft, the repaired “Add” controls and Preview order are all reachable, operable and visibly focused with a keyboard.

What would a better implementation look like?

Use a native <button> for every action, connect it to the same order action, and keep visible keyboard focus. Do not build a control out of a <span> or <div> with a click handler and no keyboard handling — that is the fault in the barrier version. An equivalent keyboard-operable way to accomplish the same result may also satisfy the relevant keyboard requirement; the barrier version deliberately provides none.

Keep the order status in a live region, as this example does, so the result of an action is announced and not only shown visually. Make sure the sold-out state is in words too, so it is available to everyone, not only to people who can see the red dot.

Go deeper — optional

Keyboard: Tab through the whole page. Can you reach every control, see where focus is, and activate it with Enter or Space? Try Shift + Tab to go backwards.

Screen reader: compare the native buttons with the visual-only “Add” controls. The native buttons announce their name and role; the pointer-only controls are not announced as controls at all. The explanation and repaired version remain available without activating the inaccessible control.

Reduced motion: this page has no animation, and the status message changes by text only.

With developer tools, inspect the underlying elements: the barrier controls are <span> elements with a click handler, while the repaired controls are <button> elements.

Follow the evidence trail

Barrier: keyboard cannot reach it Testing guide: keyboard testing WCAG 2.1.1 Keyboard

Evidence limit: This is one controlled example. Its result is evidence about this example, not proof that every related state or user experience has been covered.

Reflect on the design (optional)

Could both versions complete the same order? Name the input method and environment you used.

If you record the result, separate observation from explanation and name the input method and environment.

Display settings

Theme
Text size

200% doubles No Default’s text size at the same browser zoom. It does not change your browser’s zoom setting.

100%
Reading font

Black and white with stronger borders.

Turns off transitions, animations and smooth scrolling.