this post was submitted on 17 Jun 2023
6 points (100.0% liked)

Today I Learned (TIL)

6511 readers
3 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
[–] [email protected] 1 points 1 year ago

Great to know, thanks!

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Yep, worked. Alt text says "cat".