Skip to content
Performance & Accessibility

Accessible Accordions and Disclosure: What Actually Works

Expandable sections that hide and reveal content, used for FAQs and long pages.

MediaScaleUp Editorial Team 2 min read 18 views
Accessible Accordions and Disclosure: What Actually Works

Where most projects go wrong

The usual mistakes:

  • Div elements as triggers
  • Content hidden visually but exposed to screen readers
  • Missing state attributes
  • Accordions used for essential short content

What good looks like instead

  • Use buttons with aria-expanded for triggers
  • Wrap triggers in appropriate heading levels
  • Hide collapsed content from assistive technology
  • Support keyboard activation
  • Keep icons decorative and hidden
What to do and what to avoid with accessible accordions and disclosure, side by side
Good practice against the usual mistakes, from the sources listed below.

Why it matters

Accordions are simple to build badly, and incorrect markup leaves screen reader users unable to tell what is open.

The specs that matter

Published figures for Accessible Accordions and Disclosure
MeasureFigure
Buttonsthe trigger should be a button
Statearia-expanded communicates open and closed
Headingsaccordion triggers often sit inside headings
Contenthidden content must be hidden from assistive technology too

Knowing when to hand it over

Tip: Bring in help when FAQ sections must be accessible.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Performance & Accessibility work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Performance & Accessibility