tamouse / swaac

Software as a Craft blog posts, converted to org-mode
https://swaac.dev
7 stars 0 forks source link

POST: How to use `alt` attribute properly #24

Open tamouse opened 4 years ago

tamouse commented 4 years ago

There's a few writeups on this. Need a practical collector of what & how to do it.

tamouse commented 4 years ago

from ~/org/Tech/html-notes.org:

*** [[http://www.garcialo.com/html101/alt2.html][how to use alt text attribute]]

    From: [[http://www.garcialo.com/html101/][HTML 101 Because You Were Taught Wrong]]

      HTML Techniques for providing useful text alternatives: http://www.w3.org/TR/html-alt-techniques/

      Always include the alt attribute
      Put nothing in the alt attribute:
      - If the image is just eye candy
      - No important function
      - No important information
      Images of text: alt should be the text
      Keep it short and sweet.
      - samurai cutting a watermelon in half
      - child skiing down a mountain
      - woman laughing alone with salad
      Don't say it's an image or photo.
      Have your content creator provide the alt text.
      "What information are you trying to convey with this image?"

      added: [2015-03-17 Tue 07:18]