This accordion can be triggered with a click, touch or key press and is built using semantic HTML. This means it's great for user accessibility and requires no JS.
<details> <summary>Accordion Title Goes Here</summary> <div> <p>The main content goes here. This can be text, headings, images, links, videos etc.</p> </div> </details>