• paol
    link
    fedilink
    31 year ago

    Does Lemmy not support alt text? I can’t add alt text from Infinity for Lemmy; is that because Lemmy doesn’t support it or just my client? Because they really should.

    • Murdo Maclachlan
      link
      fedilink
      English
      101 year ago

      As far as I’m aware, Lemmy unfortunately does not provide the option to add alt text to images. Hopefully that will change, though!

      • paol
        link
        fedilink
        21 year ago

        Oof that sucks. Thank you for answering :)

      • wanderingmagus
        link
        fedilink
        2
        edit-2
        1 year ago

        Really? So when I write ![alt text](image link), the alt text does nothing?

        • Murdo Maclachlan
          link
          fedilink
          English
          2
          edit-2
          1 year ago

          I didn’t know you could do that!

          From what I can see, this means you can add alt text to images you embed using markdown. However, directly uploaded images in posts don’t seem to have a way to directly add alt text that I can find. You can add a transcription in the text body, but it’s not quite as accessible as pure alt text because screen readers won’t read it automatically when the image gets focused.

          Possibly you could embed an image in the text body and upload that like a text post, and that way use the markdown to add the alt text, but that would require the image is already hosted somewhere in the internet.

    • @[email protected]
      link
      fedilink
      21 year ago

      It would be great if it had proper alt text. But since an image post can have an additional text body you can put an image description there. I guess it’s a good idea to wrap it in a spoiler/<details> element.

      Image description

      Gru…

      ::: spoiler Image description
      
      Gru…
      :::
      

      </details>