Status | ||||
---|---|---|---|---|
|
Table of Contents |
---|
Description
Tabs enable content organization at a high level. They allow the user to switch between views, data sets, or functional options.
...
Types
...
...
Note: these guidelines do not apply to navigation items in the Verintop.
Types
Type | Usage | Image |
Horizontal tabs | Single row above the associated content. Use it as tabbed navigation. |
2nd level horizontal tabs | Use only as a second level to main horizontal tabs. |
Shown as a single row beneath the main horizontal tabs |
, above the associated content |
. | ||
Vertical Tabs | Use where there is not enough space to show horizontal tabs, for example:
| |
Details pane tabs | Use only in the Details Panel. |
Single
Shown as a single row above the associated content. |
Ribbon tabs | Use only in the Ribbon as tabbed navigation. |
Usage & Behavior
Tabs organize content into groups and allow navigation between them. Content should be:
...
Tab items, shown using short text labels.
Divider line between beneath the tabs, above the content.
Active tab. To differentiate the active tab from inactive tabs, apply a 3 px colored underline. (Designs for tabs in the Details Panel and Ribbon are different).
...
An active tab, which is visually different.
Vertical tabs also include a horizontal line underneath each tab.
The layout of tabs never changes.:
They always appear side by side in a single row or column.
They always remain in the same order.
There's always only one active tab selected at a timeat any given time.
Tab widths
Horizontal and Ribbon tabs
Each individual tab hugs its label. A row of tabs may therefore have varying widths.
A maximum tab width may be applied. Where a tab label is longer than the maximum size, it will be truncated with a Tooltip shown on hover.
Where the container is wider than the entire tab row, the tabs will be aligned to the left. The grey tab underline should always extend to the full width of the container.
Tabs should never be wrapped onto multiple rows. See Responsive design below for guidelines within narrow containers.
Details pane tabs
Details pane tabs all have equal width, and always fill container.
Where a tab label does not fit, it will be truncated with a Tooltip shown on hover.
Default state
By default, :
the left tab is the first active horizontal tab.
...
the top tab is the first active vertical tab.
Note: the default may change in specific use cases.
Content
...
Focused, Selected
...
The label describes the content contained within each tab, and sets user expectations
They should be short, one to two words maximum.
Icons are not permitted as tab labels.
States
...
Regular
...
Hover
...
Active
...
Selected
...
Focused, Regular
...
Focused, Hover
...
Focused, Active
...
.
States
Horizontal tabs | 2nd level horizontal tabs | Vertical tabs | Details pane tabs | Ribbon tabs | Ribbon tabs - collapsed | |
---|---|---|---|---|---|---|
Regular | ||||||
Hover | ||||||
Active | ||||||
Selected | Expands the Ribbon | |||||
Focused, Regular | ||||||
Focused, Hover | ||||||
Focused, Active | ||||||
Focused, Selected | Expands the Ribbon |
Interaction
Only one tab can be selected at a time.
A tab can be selected by clicking on the entire label. This will change it to active and show the tab’s it.
Selecting a tab will change the view in the container to the new tab’s associated content.
Clicking on a new tab will automatically remove the selection from the previously-active selected tab.
When the a tab label is truncated, hovering over it will show a Tooltip with the full label.
Where necessary, vertical tabs may be scrollable. (Not recommended).
Validations and errors
...
Tab item error
...
Tab item warning
...
Best practices
...
Error type | Regular tab | Selected tab | Alongside other tabs |
---|---|---|---|
Horizontal tab item error | |||
Horizontal tab item warning | |||
Vertical tab item error | |||
Vertical tab item warning |
Best practices
Use
to switch between views, data sets, or functional options.
when the content needs to be organized into exclusive groups.
Don’t use
when there is not a lot of content. In this case consider using an Accordion.
when there are dependencies between tabs. In this case, consider using a Wizard.
when all the data needs to be visible in one place.
horizontal and vertical tabs together within the same container.
more than four tabs within the Details Pane.
General
Use clear and short labels.
Do not use icons for tab labels.
Keep in mind reduced mobile widths and space for translated labels - the character length of a label will impact the experience. Do not use icons for tab labels.
A maximum of six tabs is recommended. This is to maintain an uncluttered UI and reduce cognitive load for users.
In the Details panel, a maximum of four tabs is recommended.
Tab .
Tabs should be ordered by importance, popularity or user’s workflow. The order should be consistent across an the experience.
Tabs with related content should be grouped adjacent to each other.
Accessibility compliance
Each component should be A11y complied. Please follow the 3 guidelines linked below. At the very least we should document that each component is in compliance with each of the 3.
Focus management
We already set a general guidelines described in Keyboard & Focus Management Guidelines
Screen reader support
Make sure the components support screen reader for content or behavior where needed - see Screen Reader Guidelines
...
Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility
Focus management
Keyboard | Description |
---|---|
Tab |
|
Shift + Tab |
|
Space | Changes the view to the focused tab. |
Enter | Changes the view to the focused tab. |
Esc | N/A |
Arrows | N/A |
Responsive Design
Verint products should support all devices down to the common tablet size (960px width). For general guidelines, see Fundamentals - Responsive design.
Horizontal tabs
Where the container width does not allow all tabs to be shown at once, Back and Next arrows should be shown, allowing users to scroll along the tab line.
Once the focus is removed from the tab area, the selected item should automatically move into view.
Click and drag should be supported on touch devices, allowing the user to drag the tabs list horizontally.
...
Vertical tabs
When the screen is narrowed and there is no longer room to show the full vertical tabs alongside the main content, the tabs column may be narrowed.
Design
Zeplin link | Screen thumbnail |
---|---|
Main Tabs |
2nd Level Tabs |
Details Pane Tabs |
Ribbon Tabs - Expand |
Code
TBD
Current appearances in our products
Resources
Vertical Tabs |
...
...
Needs to be designed
Open issues
Maximum tab number - vertical and horizontal
Scroll tab - out of the window
Align tab solution between mobile and desktop (card / line)
Decide about maximum letter on title
Next Steps/Tasks
UX design
To see full view of tab with other components
General suggestion - implementation more interaction for update system to today design
New LUX design
...
sanitize | false |
---|
...
Code
...