How do tabs work, and when should you use them?

ProcrustesPR

Tabs let users click or tap a label to view its content panel, showing one panel at a time and temporarily hiding the others to simplify the interface. They work well for lengthy content divided into clear groups that users do not need to compare simultaneously. If users need to view information side by side, tabs make that harder. This article discusses tabs that switch between content panels, not pagination that divides search results into numbered pages.

ProcrustesPRProcrustesPRDoes my website need a speed score of 100?

How tabs work: select a label to display its content

According to Nielsen Norman Group’s 2024 explanation, tabs consist of a list of options, short labels, a selected-state indicator, and a panel that displays content. When a user selects a label, the panel displays the corresponding content. A distinctive visual style makes it clear which tab is selected.

In-page tabs let users stay on the same page while switching between related content presented in a consistent format. The article uses Google Finance as an example: market categories and time ranges each have their own set of tabs. When users switch tabs, the data is still shown as a line chart, and users remain on the same page. This design lets users change the scope of what they are viewing without having to make sense of the entire screen again.

When to use tabs: clear groups that can be read separately

The value of tabs lies not just in hiding content, but in dividing lengthy information into easily scannable sections. Before using them, check the following conditions:

  • Clear groupings: Content falls into distinct categories rather than being divided arbitrarily just to shorten the page.
  • A small number of groups: Fewer tabs make the options easier to see at a glance; when tabs extend beyond the visible area and require horizontal scrolling, hidden tabs are harder to discover and take more effort to access.
  • Short labels: Names describe the content concisely without taking up too much horizontal space.
  • No need to view sections together: Users can read each section separately without repeatedly switching tabs to make comparisons.

If some sections are more important than others, bear in mind that the default tab tends to receive more attention, while other tabs may be overlooked. Non-default tabs should therefore contain supplementary information rather than content users need to complete their tasks.

Two arrangements that can increase user effort

The first is placing information that needs to be compared in separate tabs. Users must remember the content of the previous panel, then switch tabs to compare it with another. This puts more strain on short-term memory, makes the comparison harder to process, and requires more interaction. In this situation, placing the information on the same page makes it easier to use.

The second is mixing different behaviors within the same set of tabs: most labels switch panels, but one takes users away from the page. In-page tabs and navigation tabs should not be mixed in the same set; options within a set should also use consistent selected and unselected styles so users can anticipate the result of each interaction.

ProcrustesPRProcrustesPREight SEO essentials for beginners: Website speed

Tabs: perspectives from across the web

How should in-page tabs and navigation tabs be distinguished when an interface needs both?

Both can be used within the same experience, but they should have distinct visual styles so users can anticipate what each interaction will do. In-page tabs switch between related content on the same page; navigation tabs take users to other pages. Do not mix these two behaviors within the same set of controls, as inconsistent results may disorient users and make the site’s organization harder to understand.

ProcrustesPRWhat Ten Years of SEO Taught Me About Its Real Purpose

References

  1. Tabs, Used Rightwww.nngroup.com · 2024-08-02T17:00:00+0000 — Discusses: How should in-page tabs and navigation tabs be distinguished when an interface needs both?

Related articles

Does my website need a speed score of 100?Eight SEO essentials for beginners: Website speedWhat Ten Years of SEO Taught Me About Its Real PurposeHow Do RWD and AWD Work, and Which Should You Choose for Your Website?What are the benefits and development challenges of SPAs?How do UTF-8 and Big5 differ in their effects on search rankings and user experience?What are single-page websites best suited for, and what are their pros and cons?Keep different topics on one site or split them up? Start with audience overlap and maintenance capacity
ProcrustesPR
ProcrustesPR