This page demonstrates a simple, accessible expand/collapse widget. Each widget is wrapped in an element with the class "example", and the collapsible content uses a div with the class "details".
This is the first collapsible panel. Click the button to reveal more information about the topic.
Here is additional information that can be revealed on demand. This demonstrates a second independent widget.
Tip: You can have multiple widgets on a page, each independently expandable.