Javascript

Badger | Vanilla Javascript Accordion

vanilla javascript-accordion script

Badger is an accessible light weight, vanilla JavaScript accordion with an extensible API. Just 8.71kb and Gzipped 2.6kb!

  • To make an accessible, animated, accordion with an extensible API.
  • Make it using just plain vanilla JavaScript.
  • Ensure that it has just plain simple css. Enough to get it to work. Not too much that you have to spend ages overwriting it.
  • Ensure that it is accessible as possible.

If you need a HTML accordion element, this light weight script is for you.You dont need use a library or plugin.This is a vanilla javascript accordion.

Demo

Download on Github