A collection of guidelines found across the web for properly describing an image in words
This document does not claim to be comprehensive, and it's open to improvement. Under the license listed above, you are welcome to fork and modify it, print it or otherwise adapt it to your purposes. Pull requests are welcome.
Simply put, not every visitor to a web page or your social media post are using their eyes to see it! This includes more than people who are blind; there are many other forms of disabilities that reduce the clarity of a person's eyesight. Yet web pages should be usable to all people, regardless of their abilities.
Alternative (Alt) Text is meant to convey the “why” of the image as it relates to the content of a document or webpage.
This is what is read aloud to non-sighted users by their screen reader software. It is both a social justice issue (of recognizing the diversity of all people), as well as a matter of legal compliance with the Americans With Disabilities Act (ADA).
- A web page that does not have Alt Text on every image fails the WCAG Accessibility Guidelines' first standard (1.1.1).
- This includes a webpage that is showing a Timeline of social media posts.
- That means everyone who attaches an image on a social media post should be adding Alt Text to describe that image — every time.
- On Mastodon, follow either bot @PleaseCaption@botsin.space or @alt_text@mastodon.social to get a reminder when you forget.
Alt Text is indexed by search engines, so that (say, Google) can suggest the right image you’re searching for. Alt Text displays on the page if the image somehow fails to load, as in this example of a missing image:
The problem with being over-wordy is that it takes up a lot of time for the non-sighted person to listen through it. Already, perusing a webpage by sound takes MUCH longer than by sight. So non-sighted users can get frustrated when content creators make it especially slow for them to get their work done.
Just say what it is: A green velvet dress.
A blue and black dress.
Ahem.A white and gold dress.
ARGH!The iconic viral photo of a woman's dress with washed-out colors, which has been argued incessantly as to whether it appears blue or gold.
Avoid the abbreviation B&W, instead write it out for the screen reader software to read: water-stained black and white photo of my grandmother
See, sometimes you may decide to break a guideline, if doing so will better assist the non-sighted user to glean the equivalent, relevant information from the image.
For example, don’t write Alt Text for the cool pattern used in the background of a webpage. The WCAG standard for a decorative image is null Alt Text. In code, this is: alt=""
But, if the same image were a thumbnail on a site for buying wallpaper, then it does need Alt Text:
Example | Alt text |
---|---|
A pattern of white inverted on black, in alternating interlocking shapes of concave and convex arcs |
Alt Text should try to communicate the same experience that you wanted a sighted person to get. So it depends on the context for why the image is there. Here are some examples:
Side notes, because lawyers:
- The image above of Truman, whose copyright status seems disputed, is used here greatly scaled down under the principle of Fair Use for an educational purpose.
- The image above of Ms. Magazine is licensed under Creative Commons CC-BY-SA 4.0 as confirmed by Wikimedia Commons.
- Say that it's a headshot. This already implies that the person is dressed professionally and is (probably) smiling.
- Include the person’s full name in the Alt Text.
- If the person is doing something, describe it: e.g. holding something, pointing into the crowd, or sitting in front of a particular background that communicates visual information.
- Don't over-describe the person. Don't mention their clothing, hair, accessories, etc., unless it is truly communicating important info about the context here.
- Note: the photo of Ms. Tyson is by John Mathew Smith & celebrity-photos.com from Laurel, MD, CC BY-SA 2.0, via Wikimedia Commons.
So there’s no single ‘right’ way to compose the Alt Text. Consider this same image on two different websites:
Generally speaking, you need to transcribe all the words, because a non-sighted person deserves to obtain the same information from the image as a sighted person. But apply this guideline within reason. (For example, you would not transcribe the smaller, minor headlines on the newspaper that Harry Truman is holding. On the marketing website in #6, the specific brand names are not really important.)
When a photograph has handwriting on it, or if the image has words baked into its pixels, you should convey that in the Alt Text.
- Note: this image is courtesy of the US National Archives. Records of the Supreme Court of the United States; Record Group 267; Plessy v. Ferguson, 163, #15248; Plessy vs. Ferguson, Judgement, Decided May 18, 1896.