Tabs are a component that subdivides page content into panes, which are displayed individually based upon which tab is active. They typically span the entire container width, and the active tab is clearly indicated.
Tabs are only used when there are two or more in the set.
When filtering the content of a tab, the filter controls should appear at the top of the active tab panel, beneath the row of tab links.
Only images and text may be displayed within a tab link.
Tab links should use meaningful text that clearly communicates what's within the corresponding tab panel.
Words within a tab link may hyphenate.
If there's insufficient space to display all of the text in a tab link, then truncate using ellipses "...". As always, mouse hover (or hold-press on touchscreen) should reveal the full text within a tooltip.
When the tab links exceed the available container width, they are clipped at the right fold.
Overflow controls (left/right arrows) are shown when the tab links are clipped. These function like the controls for filmstrip carousel.
On smaller breakpoints, tab links become a vertical option list.
Select one of the options in the vertical list to open an off-canvas modal that contains the tab content.
Selecting a tab (other than the active default) should modify the page URL so that users can easily share or return to the context.
Tab links become right-aligned, and their order is reversed, for languages that read right-to-left.
When focus moves into a tab list, place focus on the active tab.
When the tab list already has focus, Tab key moves focus to the next element outside the tablist, which is either the first focusable element inside the tab panel or the tab panel itself.
When the tab list already has focus, Left Arrow moves focus to the previous tab. If focus is on the first tab, move focus to the last tab.
When the tab list already has focus, Right Arrow moves focus to the next tab. If focus is on the last tab element, move focus to the first tab.
Home key moves focus to the first tab.
End key moves focus to the last tab.
Tabs are automatically activated, and their corresponding panel is displayed, when they receive focus.
Title case, 2-3 words maximum.
Do not combine actions in a label (exception: "Customize & Buy").
If standard labels don't fit the button's purpose, align label with the task the user is attempting.
Please refer to the Dell Technologies branding website, https://brand.delltechnologies.com/faq/#voice, for further information regarding call-to-action labels and usage.
To be determined.
The W3C Web Accessibility Initiative (WAI) develops standards and support materials to help you understand and implement accessibility.
Please follow the best practices for tabs from WAI-ARIA authoring practices 1.1.
Please also refer to these recommendations for tabs from WAI-ARIA 1.1.