Tangentially related comment: From webcomics like xkcd or SMBC, I was under the impression that alt text is automatically displayed on mouse hover, but apparently that’s realized via the “title” HTML tag instead. For instance, the HTML for today’s xkcd looks as follows, and only the content of the “title” tag is displayed on hover:
That almost makes me wonder why alt text isn’t displayed on mouse hover when no title text is set, but I suppose that runs contrary to the core purpose of alt text, namely that it’s only displayed when the image is not.
Tangentially related comment: From webcomics like xkcd or SMBC, I was under the impression that alt text is automatically displayed on mouse hover, but apparently that’s realized via the “title” HTML tag instead. For instance, the HTML for today’s xkcd looks as follows, and only the content of the “title” tag is displayed on hover:
That almost makes me wonder why alt text isn’t displayed on mouse hover when no title text is set, but I suppose that runs contrary to the core purpose of alt text, namely that it’s only displayed when the image is not.