Replies: 1 comment 3 replies
-
This is a duplicate of: #2014 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋
I am using the tooltip component in a lion-button, without text, and using the invokerRelation label, as it's documented:
https://lion-web.netlify.app/components/tooltip/use-cases/
Testing in screen readers, I noticed that the label, is read twice, one in the button, and another one in the tooltip.
As the behaviour of the invokerRetation label is to create a labelledBy, always the text of the invoker and the tooltip is going to be the same, so IMO a good behaviour for screen reader users will be to add a aria-hidden to the tooltip, hidding it totally to SR, and avoiding duplicated information, as the invoker will already provide the label to the user.
WDYT?
Beta Was this translation helpful? Give feedback.
All reactions