Post

Fancy tooltips that use popover and anchor positioning are great. But sometimes all you need is a trustworthy title HTML attribute for a text-only tooltip. 😭 Only problem is: it can't be styled! Do you want these tooltips to be stylable? Maybe with a ::tooltip pseudo. Let me know your use cases!

I’d settle for user-agent styles that didn’t look like they were from 1997! But yea, would be great to style tooltips/titles so they look integrated 🙇‍♂️

What kind of elements do you most often need a tooltip for? Trying to understand whether tooltips are most often use on focusable elements or not.

0 reposts0 likes

To be honest I should probably audit my usage of tooltips, but: - For info buttons (hiding and disclosing definitions). E.g what a webperf metric measures - Title attributes on links, buttons and other interactive elements That’s about it. I try to always use title when I can.