Skip to main content
Apply for a Cheap Website
Website explainer · 1:47

Website Accordions Explained: Expandable Sections That Visitors Can Use

What is the website control that opens a section of content? An accordion uses interactive headings to reveal or hide associated panels.

Jersey Web video: Open a section. See the answer.

1:47 · No narration: the video shows each step as text on screen, and every step is written out below, with buttons that jump the video to it.

Download the on-screen text track (VTT)

The six points in the video

This is a silent video. The headings, explanations and labels below reproduce the information on screen.

  1. Step 1: Use a clear section heading

    The heading should explain the content available inside.

    On-screen labels: Specific heading; Associated panel; Clear content purpose.

  2. Step 2: Make the opener a real control

    The interactive heading needs appropriate button behaviour.

    On-screen labels: Keyboard activation; Button semantics; Reachable control.

  3. Step 3: Communicate open and closed

    The expanded state should be available to assistive technology.

    On-screen labels: Collapsed state; Expanded state; Associated content.

  4. Step 4: Choose the opening behaviour

    Decide whether one or several panels can remain open.

    On-screen labels: Single open panel; Several open panels; Consistent behaviour.

  5. Step 5: Review what is hidden

    Visitors still need a clear route to important information.

    On-screen labels: Important content; Discoverable labels; Useful organisation.

  6. Step 6: Test the actual interaction

    Check opening, closing and moving through the content with a keyboard.

    On-screen labels: Open and close; Read the panel; Continue the task.

A practical check for your business

Open and close each important accordion with a keyboard and review the content it reveals. Necessary instructions should stay discoverable and the expanded state should be communicated accurately.

Sources and further detail

Common questions

What is the website control that opens a section of content?

An accordion uses interactive headings to reveal or hide associated panels. Keep the content findable and the interaction understandable.

Go further

Guide Read the practical guide More context for planning and maintaining your business website. 7 min read → Jargon Buster Accordion explained Read the related Jargon Buster explanation. Read the explanation →

Keep the content findable and the interaction understandable.

Tell Jersey Web what your website needs to do and which part you want help with.

Talk to Jersey Web →

More video tips

All 205 videos →
Length 1:47 Website accessibility

Website Tabs Explained: Switching Between Related Content Panels

Tabbed interfaces, explained.
Length 1:47 Website accessibility

Modal Dialogs Explained: Focus, Closing and Returning to the Page

Modal dialogs, explained.
Length 1:47 Website accessibility

Website Tooltips Explained: Helpful Hints Without Hidden Instructions

Tooltips and hover content.