Use when
- Users switch between sibling panels frequently.
- Only one section needs to be visible at a time.
Group sibling panels behind labeled tabs, keep one active at a time, and make the active section and panel relationship explicit.
Users need to switch between peer sections without leaving the current page context.
The content areas are peers under the same parent task.
Group sibling panels behind labeled tabs, keep one active at a time, and make the active section and panel relationship explicit.
Default active tab and visible panel.
Changing URL pages while presenting the control as local tabs.
Expose the active tab and associated panel.
Change tabs and check whether section content changes without navigating away.
Launch the live UI/UX lab when you want to inspect states, keyboard behavior, and common failure modes.
Default active tab and visible panel.
Arrow keys move focus between tabs when using ARIA tabs.
Using tabs as a primary site navigation system.
W3C Web Accessibility Initiative - checked
APG documents tablist, tab, tabpanel, aria-controls, aria-selected, arrow-key movement, and manual activation.
GOV.UK Design System - checked
GOV.UK supports tabs for related content shown one section at a time and warns against page navigation, sequential reading, and cross-panel comparison.
IBM Carbon Design System - checked
Carbon distinguishes line, contained, and vertical tabs, connects selected tabs to panels, and warns not to use vertical tabs as replacement navigation.
Last verified: