Hacker News new | ask | show | jobs
by anthonybullard 2237 days ago
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.
1 comments

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-...