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 full lab is intentionally loaded on request. That keeps this reading page fast while preserving the strong and weak states, keyboard checks, and failure scenarios.
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.
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.
Source trail checked: