Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

ACD-001 Published · Updated

Exclusive accordion

An accordion where opening one item automatically closes any other that is open.

Wireframe (desktop) | Exclusive accordion

Exclusive accordion UI design (desktop wireframe)

Wireframe (mobile) | Exclusive accordion

Exclusive accordion UI design (mobile wireframe)

What changes on mobile

  1. Pressable area kept about 56px tall: When pressed with a finger, the heading text can shrink but the pressable area must not.
  2. Tighter right margin inside the body: Stops the text running thin and tall in the narrow mobile width.

Before you choose this pattern | Exclusive accordion

Good fit

  • Only one of the listed items applies to the reader
  • Three to six items, each with a short body
  • On mobile, you do not want opened bodies piling up down the page

Poor fit

  • You want readers to open several items and compare them (<a href="/patterns/en/faq-accordion/">accordion FAQ</a>)
  • Some readers read everything, as with terms and conditions (<a href="/patterns/en/accordion-toggle-all/">accordion with expand all</a>)

Why this wireframe works | Exclusive accordion

Unrelated items never stay open

Opening one closes the others, so the only item on screen is always the one the reader chose. For items like payment methods, where only one is used, the other explanations never get in the way.

The position barely shifts

The previously opened item closes, so the page does not keep growing. On mobile, opening the next item does not sweep the reader far from where they were.

Closed bodies still found by find-in-page

Closed bodies stay in the page, hidden; when the browser’s find-in-page matches one, that item opens and the others close. Words in unopened items remain searchable.

Common mistakes | Exclusive accordion

Items meant for comparison made exclusive

For items readers compare, such as prices or specifications, being able to open only one means remembering what was read on each trip back and forth. Put items for comparison in a table or tabs, or let them open independently.

The screen jumping on opening

When the item above closes, the items below rise by that much, and the pressed item can leave the screen. Check the position so the opened item’s heading stays on screen.

No way back to all closed

If pressing an open item again does not close it, readers cannot survey the list once they have finished. Make an open item close when pressed.

Closed bodies removed from the page

Loading the body on every open means find-in-page cannot find it and search engines struggle too. Keep the bodies in the page, hidden.

State drifting after find-in-page opens a panel

When the browser’s find-in-page reveals closed content, update the toggle button’s aria-expanded and its indicator too. In an exclusive accordion, close the other open items and do not move focus unexpectedly.

FAQ | Exclusive accordion

Exclusive, or independently opening items?

When only one item need be read, exclusive suits; when readers open several to compare, independent items suit. When in doubt, independent items restrict the reader less.

Should one item be open from the start?

When the item most people choose is clear, opening it also shows that the items can be opened. When there is no telling which will be chosen, leave them all closed.

Can an exclusive accordion be used by keyboard?

With the headings as buttons, Tab moves between them and Enter or Space opens and closes. Letting the up and down arrow keys move between headings makes a long list easier to use.

Related pages

Share this pattern

Send this page to your team or your design partner.

Was this pattern useful?

Written by

Yuta Okano

ENVY DESIGN Inc.

CEO / Director / Designer

14 years in the web industry. Has worked on more than 500 web projects, from corporate and recruiting sites to e-commerce. Focuses on information architecture, direction and design, from planning websites to improving them. In recent years he has focused on AIO (AI optimization) and GEO, helping sites get cited by generative AI search such as ChatGPT, Perplexity and Google AI Overviews.

Review and revision history

  1. Published AvatarYuta Okano Pattern published