News for hackers. Stuff that matters.
Re:Show HN: Aviation Navigation Log on $20 Receipt Printer by miki123211 on Saturday August 19, 2023 @02:39PM (#37191747)
This is one of those posts with tons of images whose alt text is just set to the literal string "alt text".

Does anybody know where this phenomenon comes from? This isn't the first time I'm seeing this, and I don't know why anybody ever thought that it was a good idea.

Re:Show HN: Aviation Navigation Log on $20 Receipt Printer by moogly on Saturday August 19, 2023 @03:01PM (#37191951)
The `alt` attribute is technically required for `img` tags, so if you run your HTML through a validator, or want to shut up IDE/editor warnings, you're going to have to add it. It can be an empty string though IIRC.
Re:Show HN: Aviation Navigation Log on $20 Receipt Printer by bigDinosaur on Sunday August 20, 2023 @06:23AM (#37197788)
An empty string is supposed to signal that the image is entirely unnecessary to understand the content.
Re:Show HN: Aviation Navigation Log on $20 Receipt Printer by carloslagoa on Saturday August 19, 2023 @03:11PM (#37192065)
I copy pasted my <img> tags cause I had to 'remake' the blog and completely forgot to fill it in, if you are using accessibility functionality I am very sorry -- please allow me to update it briefly

Have a nice weekend :)

Re:Show HN: Aviation Navigation Log on $20 Receipt Printer by rtheunissen on Saturday August 19, 2023 @03:26PM (#37192215)
Might be a CMS of some kind because I doubt anyone would purposefully type out "alt text".
Re:Show HN: Aviation Navigation Log on $20 Receipt Printer by carloslagoa on Saturday August 19, 2023 @03:42PM (#37192345)
Sadly just me being dumb :')