Focus & accessibility
Consistent keyboard focus rings, roving tabindex grids, and predictable Escape behavior across every component.
01 — FOCUS RING
Keyboard-only focus ring
Focus outlines use :focus-visible so pointer clicks stay clean while keyboard navigation always shows a crisp 2px ring using --biu-color-focus (rgba(20, 20, 22, .75) in Light, rgba(255, 255, 255, .82) in Dark).
02 — KEYBOARD PATTERNS
Standard interaction contracts
Roving tabindex
Arrow keys · Home · EndUsed in Tabs, RadioGroup, Calendar, and ChipGroup so Tab enters and exits the group in a single stop.Overlay focus lifecycle
Escape → Close & restoreDialog, Popover, DropdownMenu, and CommandMenu trap or manage focus and restore focus to the trigger on close.03 — INTERACTIVE TEST
Tab through controls
Press Tab across these controls to verify consistent :focus-visible rings: