Skip to main content

BETANow in public beta.Public betaBeta

日本語Español

STEP-005 Published · Updated

Expandable steps

A design that lists the stages of a process by name and duration only, and opens "What happens", "What you receive" and "What we need from you" when a stage is pressed.

Wireframe (desktop) | Expandable steps

Expandable steps UI design (desktop wireframe)

Wireframe (mobile) | Expandable steps

Expandable steps UI design (mobile wireframe)

What changes on mobile

  1. Duration under the name: Side by side the name would wrap, so the duration moves beneath.
  2. Labels and content stacked: Two columns leave the content too narrow, so they stack.
  3. The whole row is tappable: Large enough to press with a thumb.

Before you choose this pattern | Expandable steps

Good fit

  • You want to show the overall order first while providing detail too
  • Each stage can carry about three items (what happens, what you receive, what we need from you)
  • Listing every explanation would make the page too long
  • Agencies, professional practices, consulting, renovation: fields where each stage needs explaining

Poor fit

  • You only want to show the overall shape briefly (the <a href="/patterns/en/step-horizontal/">horizontal steps</a> work better)
  • You want each stage read without opening anything (the <a href="/patterns/en/step-vertical/">vertical timeline steps</a> work better)
  • You want to show your work and the client's side by side (the <a href="/patterns/en/step-swimlane/">swimlane steps</a> work better)

Why this wireframe works | Expandable steps

Names and durations only at first, so the order is clear

Showing every explanation from the start hides the overall order. Only the names and durations are listed at first, and readers open just the stage they want.

The items inside are consistent

Different items at different stages cannot be compared. Each opened stage shows “What happens”, “What you receive” and “What we need from you” in the same order.

The open state reaches screen readers

The direction of an arrow does not tell people who cannot see it whether a stage is open. The buttons carry aria-expanded, and aria-controls points to the opened section.

Only one opens at a time, so the page stays short

Several open at once are hard to compare and make the page long. Opening one closes the others.

The same behavior on mobile

Changing the form on mobile confuses people who saw the desktop version. Mobile keeps the same toggles, moves the duration under the name and makes the whole row tappable.

Common mistakes | Expandable steps

Nothing about a stage is known until it is opened

A stage name alone may not suggest what happens. Use names that convey the content, such as “Consultation and quote”.

Hard to tell that stages can be opened

A small arrow alone goes unnoticed. Make the whole row a button, add the arrow, and keep the clickable area wide.

Every button named “See details”

A row of identically named buttons is indistinguishable to screen readers. Use the stage name as the button name.

Heading levels that do not fit the page

When each stage is a button inside a heading element, set the level to fit the page’s document structure. A row of mismatched h2s mixes up the outline and screen reader navigation.

Everything closed when the page opens

With nothing open, readers get no sample of the detailed content. Opening the first stage shows at once both that stages open and what they contain.

FAQ | Expandable steps

Can several stages be open at once?

Yes, but they become harder to compare and the page gets long. Opening one at a time is easier to handle. If most people want to read everything, the vertical timeline steps suit better than toggles.

What attributes do the toggle buttons need?

aria-expanded to show whether it is open, and aria-controls pointing to the section it opens. Use the stage name itself as the button name.

What items should go inside?

The three basics: what happens, what you receive and what we need from you. Keep them the same at every stage so the items do not vary.

Can the details element be used?

It can, but styles elsewhere on the site may affect it. If you use it, check the appearance and the toggle behavior. Building with button and aria-expanded is another option that makes the behavior easier to control.

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