Skip to content

Popover

Popovers display content in a non-modal window overlay that is positioned relative to a trigger element.

  • Added role="dialog" to the paper slot.
  • Added fallback mechanism for automatically labelling the paper slot using the trigger element (anchorEl).
  • disableScrollLock is used to prevent scroll locking when the popover is open.
  • Consider labelling the Popover’s paper slot using an aria-labelledby attribute pointing to a heading inside the popover.
  • Don’t forget to validate that the Popover has an appropriate accessible label.