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
If an element has aria-haspopup="true", it means "this element pops up a menu".
But a "bx--tooltip__trigger" div doesn't pop up a menu, so this is misleading to screen reader users.
(i.e. they will hear "menu button" or something similar, and expect to arrow through menu items; and some screen readers even give a keyboard hint that the user can type down arrow to open the menu, which doesn't make sense here).
If an element has
aria-haspopup="true"
, it means "this element pops up a menu".But a "bx--tooltip__trigger"
div
doesn't pop up a menu, so this is misleading to screen reader users.(i.e. they will hear "menu button" or something similar, and expect to arrow through menu items; and some screen readers even give a keyboard hint that the user can type down arrow to open the menu, which doesn't make sense here).
Please see the special note in the ARIA spec for aria-haspopup:
Here is the markup in the Carbon React Storybook for Tooltip:
Please completely delete
aria-haspopup
from this markup. This attribute is not needed here.The text was updated successfully, but these errors were encountered: