Navigational Tabs group related pages or sections within the same product. Selecting a tab loads a new page or URL route, while keeping users within the overall navigation experience.
Removing the label from the Navigational Tabs violates WCAG 1.3.1 - Info and Relationships and WCAG 4.1.2 - Name, Role, Value, resulting in inaccessible experiences for assistive tech users. Never rely solely on visual design or color alone to convey purpose of a Tab. Without a visible or programmatically associated label, screen readers cannot announce the correct name or role of the tab, leaving users unsure of its purpose of destination.
| Component | Use When | Avoid When | Performance Note | Accessibillity |
|---|---|---|---|---|
| Segmented Control | Filtering between alternative views of similar or related content | Each view requires a unique URL or separate route | Minimal impact; limit number of segments to prevent UI overload | Uses button and role radio, keyboard arrow navigation |
| Tabs | Swap content within the same page; no route views | Sections are unrelated, require separate URLs or deep navigation | Avoid placing large volumes of content in each tab as heavy page loads impact performance | Uses semantic tab pattern, role === tab and aria selected |
| Navigational Tabs | Sections are part of the same feature / topic but rout to different views | Section requires deep hierarchies, heavy loads or duplicate primary navigation | Optimize route changes/API calls for smooth transitions | Uses links with appropriate href for routing, aria-current= page for active tab |
Connect with the DLS Team on Slack or by email.
Check out additional resources.