Skip to main content

Projects / Accordion.


Accessible accordion widget with less than 1kb of vanilla JavaScript and 3 lines of CSS.

Accessible Vanilla JavaScript Accordion

Super Tiny!

When I started to learn more about accessibility, I wanted to make the most accessible accordion I possibly could, and I didn't want it to depend on jQuery or a front end CSS framework. This was the result.

Back to Top