this post was submitted on 17 Jun 2023
30 points (96.9% liked)

Today I Learned (TIL)

6438 readers
1 users here now

You learn something new every day; what did you learn today?

/c/til is a community for any true knowledge that you would like to share, regardless of topic or of source.

Share your knowledge and experience!

Rules

founded 2 years ago
MODERATORS
 

The formatting docs don't really elaborate this, but any text inside the [ ] part of an image markup will be used as alt text when it renders the image.

![A red rose in a glass vase](/images/rose.jpg)

So, when posting images, be a friend to those using assistive technologies and add descriptive alt text.

top 4 comments
sorted by: hot top controversial new old
[–] BoxesOfPepe@lemmy.one 6 points 1 year ago

Great to know, thanks!

[–] NicoCharrua@lemmy.ca 6 points 1 year ago (1 children)
[–] ptz@dubvee.org 4 points 1 year ago

Yep, worked. Alt text says "cat".