Accordion

An interactive component that expands and collapses content to organize information efficiently.

What the component handles

  • Expand button is properly labeled and linked to the accordion title
  • aria-expanded state management for button (true/false based on open state)
  • Accordion content container has role="region" with aria-labelledby using the title