Hacker News new | ask | show | jobs
by kevingadd 1607 days ago
There are definitely some core accessibility features that are great for non-disabled users, though, for example having text descriptions for images (it always irritated me that alt-text didn't automatically generate a tooltip, though I sort of understand why)

It's great to be able to mouse over images in Tweetdeck and (if the poster provided it) have the alt-text pop up in a tooltip so I can scan it to see if it's worth the time to open the image, and it's great to have textual descriptions of toolbar icons.

1 comments

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.

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.