Live example
Accessible FAQ Accordion
The accordion below is the module itself. Try it with the mouse, then put the mouse down and press Tab.
Try this
Press Tab until the focus outline lands on a question, then press Enter or Space. The answer opens and the state is announced, not just drawn. Tab again and focus goes to the next question rather than into hidden content.
Every colour above is a field
Question and answer text, both backgrounds, the border, the hover and open states, the arrow at three states, the shadow, and the focus outline. Nothing here needed custom CSS.
What to do next
Read the setup guide, or tell us what you are building: support@freelopers.com.