SpinTheMic
Pro

Interview practice question

Building an accessible accordion

Frontend Engineering · Accessibility · Intermediate

How would you build an accessible FAQ accordion?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Headings wrapping buttons.
  • aria-expanded on button; aria-controls panel.
  • Enter/Space toggle (native button).
  • Hidden content truly hidden when collapsed.
  • details/summary option.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics