this post was submitted on 25 Jun 2023
34 points (97.2% liked)

Lemmy

13479 readers
79 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 5 years ago
MODERATORS
 

Photo of a snail

An underrated accessibility feature on Lemmy is the ability to add alternative text to images in Markdown. The image above will be read as "photo of a snail" by screen-readers. The Markdown for that one is:

![Photo of a snail](https://lemmy.world/pictrs/image/f9281257-b8bc-4c77-9aad-be5038e0758f.jpeg)

As you can see, the alternative text simply needs to be inserted between the two brackets, which are empty by default when you insert an image.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] AlmightySnoo@lemmy.world 2 points 2 years ago* (last edited 2 years ago) (1 children)

How the markdown language is implemented is highly platform-dependent though. For instance, in Reddit you cannot insert an image in Markdown-mode (and you don't even have alt-text even when using their "fancy pants" mode).

[โ€“] ulu_mulu@lemmy.world 1 points 2 years ago

True, but the language is independent from that.

I mean, the language itself has a set of "features", not all of them are implemented on all platforms as you rightfully said, but it's not that the language changes because there are differences in the implementations.