Popovers
A popover is a small overlay that displays supplemental information to the user. It can contain rich content and is triggered when the UI element it relates to is selected.
Design
Section titled “ Design” Best practices
Section titled “ Best practices”Use popovers for non-essential information that provides the user with additional guidance or actions.
- Can contain a header, formatted text, links, etc.
- Displaying a popover requires a user action (click, tap, or select via key command).
- Dismissing a popover also requires a user action.
- Be mindful of placement - a popover should not obscure critical elements on the page.
Accessibility
Section titled “ Accessibility”- Popovers should be operable using the keyboard alone.
- Popovers should be announced by screen readers.
- When a popover is opened, focus should be moved to the popover so that keyboard users can interact with it.
- When the popover is closed, focus should be returned to the element that triggered it.
For more information, see our accessibility guidelines.