Accessibility of HTML title attribute for tooltips

Hello there,

I have a question regarding native HTML title attribute, , which is
one of the easy way to add tool tip to a control, but tool tips
generated in this way do not persist while trying to hover with mouse
pointer, which fails SC 1.3.13 Content on hover or focus.

Now, we have a website that have used title attribute everywhere for
generating tool tips, so to make it compliant we have to use custom
tooltips, just want to know, is it the right thing to do, or are there
any standard practice to handle this situation. Just for more context,
the tooltips are not conveying anything critical and do not span more
than three words, for example, the longest tool tip we have is on
social media icons that reads "Follow us on Facebook" upon hovering on
Facebook icon.

Any insight would be really helpful.

Thanks!
Ajay

Received on Thursday, 16 July 2020 21:23:51 UTC