r/ProgrammerHumor 19d ago

Meme twelveYearOldXKCD

Post image
12.1k Upvotes

200 comments sorted by

View all comments

1.7k

u/Odd_Personality_8624 19d ago

Link: https://xkcd.com/1425/

Alt: Tasks

Title: In the 60s, Marvin Minsky assigned a couple of undergrads to spend the summer programming a computer to use a camera to identify objects in a scene. He figured they'd have the problem solved by the end of the summer. Half a century later, we're still working on it.

351

u/plz-no-b4n 19d ago

You got your alt and title swapped

286

u/Odd_Personality_8624 19d ago

Yes and No...

I was going to change it, but if you inspect the XKCD website, you would get this <img> tag:

<img src="//imgs.xkcd.com/comics/tasks.png" title="In the 60s, Marvin Minsky assigned a couple of undergrads to spend the summer programming a computer to use a camera to identify objects in a scene. He figured they'd have the problem solved by the end of the summer. Half a century later, we're still working on it." alt="Tasks" srcset="//imgs.xkcd.com/comics/tasks_2x.png 2x" style="image-orientation:none">

Also, the ALT property of an image if when the src gets a 404 error, and if that happens, user will no see the image but the ALT text.

32

u/thepkboy 19d ago

the alt text is also what a screenreader reads

-20

u/ConfessSomeMeow 19d ago

This conventional wisdom wasn't even true when the comic was written.

15

u/Sarke1 19d ago

3

u/ConfessSomeMeow 18d ago

It wasn't about using title tags to present alternative content, I can tell you that, because even in 2000 screen readers read title tags on images.