Expand / Collapse widget

A simple, accessible expand/collapse pattern. Each widget is wrapped with a div.example and the controlled content container uses a details class.

Because the toggle button's aria-expanded attribute starts as "true", this details container is visible on load. The script will respect that initial state.