- Docs
- Components
- Navigation
Collapsible
One section that folds, with no rules: Show more, or Advanced settings.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<button aria-expanded>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Keyboard
| Keys | What happens |
|---|---|
| TabTab | To the trigger. |
| EnterSpace | Opens or closes the panel. |
02
Behaviour
- State
- aria-expanded on the trigger, which controls the panel.
- Closed
- The panel leaves the page, unless keepMounted.
- Reduced motion
- The height doesn't animate.
03
Tested
On every change, before it ships.
- axe, WCAG 2.2 A and AA, in Chromium on every pull request
- Firefox and WebKit every night
- Keyboard: every key in the table, in a test
- Forced colours, reduced motion and right to left