Quick Reminder that Details/Summary is the Easiest Way Ever to Make an Accordion
Gosh bless the <details
element. Toss some content inside it and you have an accessible expand-for-more interaction with just about zero work.
Toss a <summary
in there to customize what the expander text says.