You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 ofrole=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.The text was updated successfully, but these errors were encountered: