5 ms·
Huh, you're right, it doesn't anymore. It used to though. I suppose it makes sense now that the web has gone from primarily being a document platform that's so
by beojan 5y ago
Huh, you're right, it doesn't anymore. It used to though.
I suppose it makes sense now that the web has gone from primarily being a document platform that's sometimes used to create simple applications to primarily being an application platform.
- sefrost 5y agoIt's the title attribute on an image element that generates the tooltip. Did alt do that previously or was it always title? MDN says not to put the same text in title and alt, as some screenreaders will read both. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Img#the_title_attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Im...
- kevingadd 5y agoIIRC very early on browsers would turn alt into tooltips, and then that functionality was split out into title. I understand why but I'm still bitter about it since they don't want you to use both.