Alt text:
All Pat has to do to make this real is rename his distro to "Deadpool & Wolverine"  
  • kubica@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Meme aside, I wanted to say that the “alt” attribute is sometimes confused with the “title” one.

    They are used for different things. The alt attribute is used instead of the image. If the image can’t be shown, and in screen readers. title attribute is shown along with the image, typically as a hover tooltip. should not be used “instead” of the other. Each should be used properly, to do the things they were designed to do. https://stackoverflow.com/questions/872389/html-img-tag-title-attribute-vs-alt-attribute