Demos: Accessible hide/show (collapsible regions) using ARIA and Vanilla JavaScript

Example animated (opened by default)

Yes, it rocks.



Example not animated (closed by default)

Yes, it rocks too.



Example with a plus

Yes, it rocks too, and it shows a β€œβˆ’β€ when it’s opened.