A popover is used to trigger and display an overlay, providing further information or to obtain user input.
The popover is available with or without an arrow. An arrow can be included to strengthen the association between the overlay and the content which triggered the popover to open.
Position the popover next to the content it is associated with. This content can be anywhere on the page.
Depending on where the content trigger is on a page, the popover can appear above, below or beside the content. The arrow will be placed according to the overlay’s position.
Popovers can open above, below or beside content depending on the position on the screen. By default, a popover overlay will open below the trigger.
A popover can be triggered on hover, left or right click or on a keypress.
Shell DS components are programmatically determinable with appropriate semantic markup and are designed to meet colour contrast requirements. If you’re not using Shell DS code, you will need to cover the accessibility considerations for each component in this pattern.
Tab to the popover, press alt/option + down arrow to open the list, then use down/up arrow to select the item, then press enter.
Every effort has been made to ensure that the Shell Design System follows accessibility best practice.
The Shell DS React framework incorporates keyboard operation to support the widest variety of assistive technologies and devices. For any future frameworks other than React, accessibility will need to be reviewed.
Help us to help you by contacting the Accessibility team for support and information regarding any questions relating to accessibility.
Is this page useful for you?
Your feedback helps to improve our documentation.