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
Aria tooltips are only allowed to be used for actual tooltips. It would be a bug to use that role for anything other than contextual help, such as a context menu or a popup with controls in it.
But here the role of popups is hardcoded to be either "dialog" for modal dialogs, or "tooltip" for anything that isn't a modal dialog:
Aria
tooltip
s are only allowed to be used for actual tooltips. It would be a bug to use that role for anything other than contextual help, such as a context menu or a popup with controls in it.But here the role of popups is hardcoded to be either "dialog" for modal dialogs, or "tooltip" for anything that isn't a modal dialog:
reactjs-popup/src/index.tsx
Line 280 in 4d8e41a
This makes the library not work for non-modal dialogs, or for menus, because they would have the incorrect
tooltip
role.The text was updated successfully, but these errors were encountered: