• Arthur Besse@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    20 hours ago

    That is a title rather than an alt attribute, and is a (partial) transcript of the text in the image but it lacks a description of the context.

    better version

    ![a comic strip showing Donald Trump wearing a t-shirt which says "I'm anti-antifa". Behind him a woman is finishing writing four lines of text on a chalkboard: "Lesson: Double Negatives", "I’m anti-antifa", "I am anti-anti-fascist" (with each "anti" crossed out), and finally "I am fascist"](https://lemmy.ml/api/v3/image_proxy?url=https%3A%2F%2Flemmy.ca%2Fpictrs%2Fimage%2F7c2ed146-ee52-4f0b-89b0-ce403f9e9f35.jpeg)

    making it an alt attribute instead of a title attribute means it won’t show up as a tooltip, but (I think?) it will be read by more screen readers than it would as a title.

    • Horse {they/them}@lemmygrad.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      19 hours ago

      thanks, i’ve only really done alt-text with raw html, and even then infrequently
      was kinda flying by the seat of my pants with markdown