ComponentsFeedback and overlays
Focus trap
A focus trap keeps Tab and Shift+Tab inside a region, as dialogs do. Use it for custom modal panels, and always give people a visible way out.
Default focus and disabling
DefaultFocus picks what receives focus when the trap appears: the first or last focusable child, the trap element itself, or nothing. Disabled lets focus leave again.
FirstChild
A custom panel with Escape and focus return
The trap holds focus inside the panel. Escape and the close button both dismiss it and return focus to the button that opened it.
Current: 120 s through the Luminance filter.