- Docs
- Components
- Overlays
Popover
Content on demand, anchored to its trigger: filters, a quick edit, a detail. Not modal.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<div role="dialog">Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Keyboard
| Keys | What happens |
|---|---|
| EnterSpace | On its trigger: opens it; focus moves in. |
| Escape | Closes it; focus returns to the trigger. |
| TabTab | Moves through it, and out of it: it doesn't trap focus. |
02
Behaviour
- Role and name
- A non-modal dialog, named by its title, aria-label or aria-labelledby.
- Focus
- In on open, back to the trigger on close.
- Dismiss
- Escape or an outside click.
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
- Focus: where it lands as it opens, and where it returns as it closes
- Forced colours, reduced motion and right to left