Hacker News new | ask | show | jobs
by petepete 2233 days ago
Who wants people with visual impairments to read their posts?
1 comments

It's called ALT text. If you don't paste the same source in the alt attribute, that's the problem. Not having a nice image for sighted folks.
Alt text certainly wasn't intended for this kind of use. Screen readers don't cope with newlines in alt text particularly well, most just stop at the end of a line[0]. Also more care has to be taken when escaping the contents of the attribute, it's something people will definitely get wrong.

[0] https://developer.paciellogroup.com/blog/2015/09/short-note-...