Are plus and minus icons enough to explain an accordion’s expanded state?

A tablet on a shop counter displays an expanded information list beside a leaflet.

Key points

  1. Icons are only visual cues; the control name, expanded state and actual content must agree.
  2. Decide whether content needs collapsing before designing keyboard-operable controls.
  3. Check expansion, collapse and interactions between panels, not just whether an icon changes.

Is changing a plus icon to a minus enough?

No. A visual icon alone does not communicate the state to every user. Give the control a clear name and appropriate semantics for expanded or collapsed content. MDN’s aria-expanded documentation explains how the attribute conveys that state to assistive technology. Its value must agree with the displayed content rather than remaining fixed.

This article concerns components that genuinely need collapsing; it does not recommend collapsing every FAQ. This article’s own FAQ answers remain visible. For shorter content, avoiding an extra interaction can be sensible.

What content might be better left open?

Ask whether visitors need to compare sections simultaneously. Hiding package conditions, essential notices or a short answer may create unnecessary back-and-forth. Consider an accordion when sections are independent and most visitors need only some of them.

This is editorial and design judgement, not a platform rule or measured outcome. Organise the content and headings before deciding on interaction. Making the page appear shorter should not be the sole reason.

Hands use an external keyboard while an expanded content panel appears on the laptop.

What belongs in the developer brief?

Specify which heading controls which panel and whether several panels may stay open. The W3C APG Accordion pattern uses a button within a heading, with aria-expanded reflecting the panel state and aria-controls identifying its panel. Do not turn plain heading text into a mouse-only imitation button.

Check heading levels and labels that make sense independently. “Payment arrangements” is more informative than “Details”. The developer must select the implementation for the component and technology; adding one attribute alone cannot guarantee complete behaviour.

How can state synchronisation be checked?

Reach a heading control by keyboard, expand it and collapse it. Compare the content, icon and state exposed to assistive technology. The APG pattern describes Enter or Space activation and Tab navigation. If only one panel may remain open, check the first panel’s state when opening the second.

Have a tester with suitable tools verify the result. Seeing a minus icon is not enough to declare accessibility passed. Also check that a collapsed panel does not leave visitors navigating unseen interactive content.

What should an acceptance record contain?

Record the page, component version, panel names, starting states, expansion rules and actual keyboard and screen-reader coverage. A fictional test might specify three service panels that can stay open together, with the second panel’s state matching its display after collapse. This is not a client test result.

Recheck control-to-panel relationships after replacing a component or reordering content. Mark untested devices as pending; a desktop screenshot does not represent every interaction method or whole-site certification.

Frequently asked questions

Can the control have only a plus or minus without a title?

A clear text label is preferable so visitors know which content will open and what the control does.

Should aria-expanded change with interaction?

It should match the actual state. MDN explains that it describes whether controlled content is expanded; it must not remain fixed.

Must only one panel be open at a time?

No. Choose rules that suit reading and comparison, then implement and test them consistently.

Why are this article’s FAQs not collapsed?

These answers are short. Keeping them visible lets readers compare them without opening each item.

Does mouse operation prove the component is accepted?

No. Keyboard use, state semantics, content relationships and actual coverage still need checks.

About the author: This article was written by the HKONE team. HKONE is a Hong Kong digital marketing and AI automation company providing social media management, website design, AI customer service and GEO / SEO for SMEs. Where this article mentions platform fees or policies, the platform's official information takes precedence.

Tell us about your business first. Then decide.

The consultation is free. We will understand your situation before recommending a plan and a quote.