-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
Description
Describe your motivation
Currently some internal popover logic relies on the overlayRole
property (e.g. __updateAriaAttributes
). With refactoring the component to use native popovers the role
is now set on the host. As such it would be good if developers could set role
directly on the host element instead of having to use a non-standard overlayRole
.
Describe the solution you'd like
Allow setting role
directly on the popover host element and update internal logic to use role
. overlayRole
should still work as before and, if it's set, just overwrites role
, assuming that developers would either use one or the other.
Describe alternatives you've considered
No response
Additional context
No response