Frontend Developer

Case File: Tabs That Everybody Can Use

The shop's information box shows one panel at a time and does not work without a mouse: the tabs are divs, a keyboard cannot reach them, and a screen reader has no idea what is open. Make it a proper tab widget: the right roles and states, linked tabs and panels, one tab in the tab order, and the arrow, Home and End keys, with wrap-around. The lab presses real keys on your page and reads the result. The tabs are generated for you alone.

60 min

Case File: Tabs That Everybody Can Use

The shop's information box shows one panel at a time and does not work without a mouse: the tabs are divs, a keyboard cannot reach them, and a screen reader has no idea what is open. Make it a proper tab widget: the right roles and states, linked tabs and panels, one tab in the tab order, and the arrow, Home and End keys, with wrap-around. The lab presses real keys on your page and reads the result. The tabs are generated for you alone.

In this lesson:

  • javascript
  • accessibility
  • aria
  • keyboard
  • tabs
  • roving tabindex
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans