-
-
Notifications
You must be signed in to change notification settings - Fork 529
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
Regarding the tooltip design pattern of the W3C (https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/), a tooltip should "not receive focus. A hover that contains focusable elements can be made using a non-modal dialog".
Currently, I have a use case where my tooltip contains multiple buttons or links. Hence, my tooltip should rather be a non-modal dialog and for dialogs, you usually set role=dialog instead of role=tooltip.
Describe the solution you'd like
Making the role of the tooltip component a changeable property or adding a prop asDialog would be very helpful to set the correct role attribute.
Reactions are currently unavailable