Comment on Implementing Web accessibility guidelines for nondisabled users (2016)parentComments−sefrost4yIt'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/Im...−kevingadd4yIIRC 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.
Comments
It'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/Im...
IIRC 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.