0Pricing
Web Accessibility Academy · Lesson

Managing roving tabindex in Widgets

Let arrow keys move within a composite control.

One Stop for a Whole Widget

In a toolbar or radio group, Tab should reach the widget once, not every item. Roving tabindex is the pattern that makes this work.

The Core Idea

Exactly one item holds tabindex="0" at a time. Every other item gets tabindex="-1", so Tab enters the group at a single point.

All lessons in this course

  1. tabindex 0, -1, and Never Positive
  2. Moving Focus After an Action
  3. Returning Focus When a Layer Closes
  4. Managing roving tabindex in Widgets
← Back to Web Accessibility Academy