Command Palette

Search for a command to run...

Hectal
Phase 15: Accessible Charts
Data Visualization · Exercise 4 of 5 PreviousNext
Intermediate

One Tab stop and the arrow keys

Three station buttons each have tabindex="0": three Tab stops.

Make the list one Tab stop (the first row), and let ArrowDown and ArrowUp move focus and the stop to the next or previous row. Do not stop the Tab key.

What Check tests

  1. Only the first row is a Tab stop
  2. ArrowDown moves focus to the second row
  3. The Tab stop moved with the focus
  4. ArrowUp at the first row stays there
  5. Tab is not stopped

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.

Console

Nothing logged yet.