Expand / Collapse Widget

Two examples of an accessible expand/collapse widget. Each widget is wrapped in a container with the example class. The controlled content container uses the details class.

Highlights:
  • Faster rendering of lists.
  • Improved keyboard navigation.
  • Bug fixes and performance improvements.

This example starts open to show how the widget handles an initially expanded state.