Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Terence Eden
@Edent@mastodon.social  ·  activity timestamp 2 weeks ago

🆕 blog! “The Idiot Sandwich - On Embedding Alt Text”

Alt text is great. It allows people who can't see an image to understand what that image represents.

For example, the code might say: <img src="whatever.gif" alt="Two cute kittens are playing on a blanket">

If you are blind, you get an idea of what's being conveyed by that image. If you're on a train…

👀 Read more: https://shkspr.mobi/blog/2025/11/the-idiot-sandwich-on-embedding-alt-text/
⸻
#a11y #accessibility #AltText #HTML

  • Copy link
  • Flag this post
  • Block
Will C
@miwebguy@mastodon.social replied  ·  activity timestamp last week

@Edent I miss longdesc. I like the idea of a short alt, and a longer description for more.

  • Copy link
  • Flag this comment
  • Block
Curtis Wilcox
@cwilcox808@c.im replied  ·  activity timestamp 2 weeks ago

@Edent
It's an interesting subject but I think the selected examples reflect bad, probably AI-generated alt text; not including the visual text is a big error. In almost no context would that alt text be appropriate.

No social media client should automatically use embedded alt text but presenting it as a draft to the message author could be very handy, especially for popular meme images. "Homer Simpson receding into a bush" (maybe add "meme" to the end) would be sufficient alt text in most cases and a good start for others.

Such images are like that language made of idioms from Star Trek (a comparison made in the Wikipedia article about it), Homer (Simpson) is our Shaka, when the walls fell. Not everyone will understand the image's meaning visually or the alt text written in this way but IYKYK.

https://en.wikipedia.org/wiki/Darmok

  • Copy link
  • Flag this comment
  • Block
Paul Barker
@pbarker@social.afront.org replied  ·  activity timestamp 2 weeks ago

@Edent I think the alt text needs to reflect the context of the image.

When you chose to include the image, what information were you intending it to convey? That's the information to make available to non-/less-sighted folks via alt text.

A low-res JPEG of a funny meme may want very different alt text depending on whether it is used to add some humour or to illustrate image compression artifacts.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login