Expand/Collapse Widgets
Each widget is wrapped in a div.example. The controlled content container uses the
details class.
Widget A — Basic
This is a simple expand/collapse widget using a button controlling a content region.
- Accessible via
aria-expandedandaria-controls. - Press
TabthenEnter/Spaceto toggle.
Widget B — Starts open
Orders ship in 1–2 business days. Returns are accepted within 30 days of delivery.
Learn more at example link.
Widget C — With more content
- Refresh the page and try again.
- Disable browser extensions that might interfere.
- Check your network connection.
- If the issue persists, contact support with a screenshot.