Expand / Collapse Widget Examples

Two styles of accessible expand/collapse widgets. Each widget is wrapped in a container with the class "example". The controlled content containers use the class "details". Buttons use aria-expanded and aria-controls to link to their content.