Tabs vs accordion
Both hide content behind labels. Tabs sit in a row and show one panel at a time; an accordion stacks headings down the page, and each one opens its section underneath.
Example
A product page might use tabs for 'Details' and 'Reviews', while its FAQ uses an accordion of questions that open up.
When to use it
Tabs suit a few long sections; accordions suit many short ones and often work better on phones. Avoid both when people need to read most of the content or compare sections.
The evidence 5 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
W3C APG: tabs are a set of layered sections of content, known as tab panels, that display one panel at a time; each tab element serves as a label for one panel.
NN/g: use tabs to divide content into meaningful groups when users don't need to see or compare content across tabs at the same time; keep tabs in a single row, use short labels, and make the selected tab clearly highlighted.
NN/g: on mobile, accordions often work better than tabs.
W3C APG: an accordion is a vertically stacked set of interactive headings, each revealing a section of content.
NN/g: tabs suit a few long sections and accordions fit many short ones (video summary); accordions should be avoided when users need most of the content or must compare across sections, as they reduce visibility and add interaction cost.