On this page

Collapsible

What Collapsible gives you and what your team does.

Conformance

Collapsible meets WCAG 2.2 level AA when used as described on these pages.

Keyboard

  • Enter or Space on the trigger shows or hides the content.

What Collapsible gives you

  • aria-expanded and aria-controls on the trigger.

What your team does

  • Use a trigger label that says what opens.

WCAG criteria

Criterion Level How
4.1.2 Name, Role, Value A Open state is exposed