Popover
Popovers display content in a non-modal window overlay that is positioned relative to a trigger element.
- Useful links:
StrataKit MUI modifications
Section titled “StrataKit MUI modifications”- Added
role="dialog"to thepaperslot. - Added fallback mechanism for automatically labelling the
paperslot using the trigger element (anchorEl). disableScrollLockis used to prevent scroll locking when the popover is open.
- Consider labelling the Popover’s
paperslot using anaria-labelledbyattribute pointing to a heading inside the popover.
🚫 Don’t
Section titled “🚫 Don’t”- Don’t forget to validate that the Popover has an appropriate accessible label.