Prepared Docs

Prepared Docs

⌘K

    Loading navigation…

User

  1. Components
  2. Popover
  3. Accessibility
  4. Focus Management

Popover

Focus Management

Proper focus management ensures users can navigate popovers effectively.

Initial Focus

Control where focus goes when the popover opens.

Focus moves to the first focusable element (or element with autoFocus) when the popover opens, allowing immediate interaction.

Prevent Auto Focus

Disable auto-focus when appropriate.

Use onOpenAutoFocus to prevent automatic focus when the popover content doesn't require immediate interaction.

Focus Restoration

Focus returns to the trigger when the popover closes.

Focus automatically returns to the trigger button when the popover closes, allowing users to continue their workflow.

Previous

Accessibility / Screen Reader Support

Next

Accessibility / Non-Dismissible Popovers

On this page

Initial Focus
Prevent Auto Focus
Focus Restoration