Hello. Please sign in!

Social Security Administration Guide: Alternate Text for Images

Section 1. Reference samples and guidance

Pictures

Information and guidance blue icon
Give the purpose and/or function of the picture within the context of the surrounding information. Avoid putting redundant and/or irrelevant information into the alternate text.

Pastel leads her handler who holds the harness in his left hand

Guiding is a partnership between the dog and the handler. The handler wants to go somewhere, and the guide dog has to get the handler there safely. To achieve this, decisions are required of both team members. For example, in crossing a street, guide dogs do not have the capability to read traffic lights and “cross now” signals for pedestrians.

Right way green icon“Pastel leads her handler who holds the harness in his left hand”.

Wrong way red icon
“Guide Dog and man.”
It’s not including the purpose. The picture is of a dynamic action of guiding. Providing static descriptions of active images is not conveying everything that is pertinent.

Portraits (head-shots)

Information and Guidance blue icon
Describe the picture as a portrait and any other pertinent information that stands out. Also provide any text shown in the image, verbatim.

Pastel Bosken Portrait with American Flag.

Pastel Bosken

Right way green icon“Pastel Bosken Portrait with American Flag.”

 

Wrong way red icon
“Pastel Bosken.”
It’s not including the pertinent flag background.

Charts, diagrams and illustrations

Information and guidance blue icon
Give the purpose and function of the chart, diagram or illustration within the context of the surrounding information. Be sure to supply any major trends or data points that are highlighted. Be sure to provide any information that is essential to understanding the image, either in alternative text, or in a longer description.

Take note yellow icon
In Web/HTML it is possible to use a long description (‘longdesc’) attribute for images  that require more information to be presented. The longdesc is not commonly used, and may be eliminated from future versions of HTML standards. Placing longer text and data in the main text or via a ‘view details’ show/hide button is the preferred alternative.

Division organizational chart

Main chart image: Alt = “”
Button—Text version of chart (content is revealed on activation):

Organizational chart for Canine Division, with Dog Treat Distribution Program hierarchy expanded.
The four main departments of the canine division are:

  • Training and handling department

  • Attention and affection department

  • etc.

Bar Chart. Figures for Head Pats, Ear Scratches and kisses climb steadily during the week from a few on Monday to around 5-6 on Thursday. There is a rapid decline, comparable to Monday levels, on Friday.

Chart 17. Attention and Affection Performance Figures - Week 32

Mondays and Fridays continue to be a problem that the working group are investigating (Chart 17). Future work will involve methods for turning the comparatively high number of head pats into ear scratches.

Right way green icon
“Bar Chart. Figures for Head Pats, Ear Scratches and kisses climb steadily during the week from a few on Monday to around 5-6 on Thursday. There is a rapid decline, comparable to Monday levels, on Friday.”
 

Wrong way red icon
“Chart of Head Pats, Ear Scratches and Kisses Monday through Friday.”
It doesn’t tell us the trend (the main purpose of the chart).

 

Wrong way red icon
“Chart.”
It doesn’t tell us anything.

 

Wrong way red icon
“Bar Chart. M-F: Head Pats: 2,3,4,7,1. Ear Scratches: 0,1,3,4,1. Kisses: 1,1,2,5,2.
It gives data… but the purpose of the chart isn’t to display data; it’s to convey a meaning found in the data. (Tables are for showing data).

 

Wrong way red icon
“Bar Chart. Totals for week 32 are Head Pats: 17. Ear Scratches: 9. Kisses: 11.
It gives additional information not shown on the chart. This is [sic] a bit like using a ‘tool-tip’ to squeeze additional information into a chart. The alternative text should only be for conveying what is shown in the chart for all users.

Logos

Information and guidance blue icon
Give the text in the logo verbatim, along with any pertinent visual features that convey meaning.

Attention & Affection Procurement Department. Office of the Deputy Commissioner. Yin-Yang Logo.

Right way green icon
“Attention & Affection Procurement Department. Office of the Deputy Commissioner. Yin-Yang Logo.”

 

Wrong way red icon
“Attention & Affection Procurement Department. Office of the Deputy Commissioner.”
It omits the important meaning of the yin-yang symbol.

 

Wrong way red icon
“AAPD Logo.”
It’s an abbreviation; not verbatim text.

Controls and form elements

Take note yellow icon
See ‘Agency Guide: Alternative text for links, controls and form elements’ (a link to the guide is provided in the back pages of this document) for.

 

  • media player buttons,

  • menu items,

  • table sorting buttons

  • form controls (e.g. ‘submit’) buttons

  • etc.

Links

See ‘Agency Guide: Alternative text for links, controls and form elements’ (a link to the guide is provided in the back pages of this document) for.

  • images that are links,

  • links containing images

  • icons in links (PDF file, Zip File etc.)

  • etc.

Wrong way red icon
Do not place hyperlinks (http://www etc.) in image alt text. Image alt text can only be read by a screen reader; it cannot be acted upon (i.e., a user cannot copy the link, and cannot activate the link when it is embedded in alt text). 

Image maps

Take note yellow iconImage maps apply to websites; not electronic documents.

Take note yellow iconImage maps should not generally be used because:

 

  • They have become an outdated method of presenting links;

  • It is easier to use CSS for laying out links on different areas of the screen;

  • Screen magnifier users almost always find image maps impossible to use effectively; and

  • Screen reader software is commonly able to tab to the areas of the image map, but the alt-text is not automatically exposed during the process.

Information and guidance blue icon
If, after considering the notes above, image maps are still regarded as absolutely necessary, the alt-text should be presented as it would for links as normal, and placed in the <area> tag. For guidance on links, see ‘Agency Guide: Alternative text for links, controls and form elements’ (a link to this guide is provided in the back pages of this document).

Text contained in an image

Information and guidance blue icon
Give the purpose and function of the picture within the context of the surrounding information. Also provide any text shown in the image, verbatim.

Pastel looks up attentively, saying ‘This is me pretending to be interested’ and then yawns, saying ‘and this is me not pretending’.

Right way green icon
“Pastel looks up attentively, saying ‘This is me pretending to be interested’ and then yawns, saying ‘and this is me not pretending’.”

 

Wrong way red icon
“This is me pretending to be interested, and this is me not pretending.”
It omits the humor of the yawn… because only the text is relayed, not the images.

 

Wrong way red icon
“Pastel looks up attentively, and then yawns. This is showing interest and lack of interest.”
It’s not verbatim.

Text rendered as an image

Information and guidance blue iconJust write the same text, verbatim.

Pastel the Amazing Guide Dog!

 

Right way green icon“Pastel the Amazing Guide Dog!”

 

Wrong way red icon
“Colorful text saying Pastel the Amazing Guide Dog!”
It’s including information that does not add to the content.

 

Take note yellow icon
By default, Microsoft® Word correctly adds identical alternate text to Word Art.

Bullets

Take note yellow icon
Avoid using images for bullets. If images are absolutely needed, then use the word “bullet” as the alt-text.

 

Take note yellow icon
If bullet images are used programmatically in Word, there is no need (and no mechanism) to add alt-text, but they will be spoken by screen readers correctly.

 

Take note yellow icon
It is rare that a bullet image will need a longer description than “bullet”. If it does, consider whether there are other ways to convey the information (e.g., by breaking list content into separate headings).

Bullet

 

Right way green icon“Bullet”

 

Wrong way red icon
“Dog Bone”
It’s more important to identify it as a bullet (part of a list).

Spacers (structural images)

Information and guidance blue iconApply a null (Alt=“”) value to spacer / structural images.

Pastel portrait with American Flag
Right way green icon

Left image: Alt = “”
Center image: Alt = “Pastel portrait with American Flag”
Right image: Alt = “”

 

Wrong way red icon

Left image: Alt = “Spacer long”
Center image: Alt = “Pastel portrait with American Flag”
Right image: Alt = “Spacer short”

Lines, horizontal rules, and separators

Information and guidance blue icon

Apply alt-text to lines and separators only when there is no other means of conveying the indicated change. The proper use of headings can make lines and separators redundant, and therefore needing only a null alt-text.

Text without spacers
Text with spacers

Decorative images

Information and guidance blue iconApply a null (Alt=“”) value to decorative images.

Take note yellow icon

For Web/HTML: When an image is used only for decorative purposes, it is often best to remove the image from the page content and add it as a background image using CSS. This will remove the need for alternative text altogether and will remove the image from the semantic and structural flow of the page.

Pastel portrait with American Flag
Right way green icon

Left image: Alt = “”
Center image: Alt = “Pastel portrait with American Flag”
Right image: Alt = “”

 

Wrong way red icon

Left image: Alt = “Dog Bones”
Center image: Alt = “Pastel portrait with American Flag”
Right image: Alt = “Dog Bones”

Background images

Information and guidance blue icon
Apply a null (Alt=“”) value to background images. If background images contain information that is essential for understanding the document, that information should be replicated in the page foreground. In general, it is best to avoid background images if the goal is to have good readability for people with low vision.

Take note yellow icon
For Web/HTML: When an image is used only for decorative purposes, it is often best to remove the image from the page content and add it as a background image using CSS. This will remove the need for alternative text altogether and will remove the image from the semantic and structural flow of the page.

Pie chart with an image of another pie chart in the background

Right way green icon
Background image (lightened and enlarged duplication of the pie chart in the foreground): Alt = “”

 

Wrong way red icon
Background image (lightened and enlarged duplication of the pie chart in the foreground): Alt = “Chart same as main chart.”

Watermarks

Information and guidance blue icon

Use a watermark that has high contrast with the text so that it does not interfere with the reading of the text. Duplicate the watermark text in the first part of the document in the Page Foreground. Failing to do so will mean that screen reader users will never know the message contained in the watermark.

 

Take note yellow iconIn Microsoft Word, the watermark is stored as part of the page header.

 

Example of a watermark that says "Top Secret".
Another example of a watermark, but it is darker in color and outlined in red.  It says "Top Secret".

It’s low contrast, and it omits the watermark message in the main text.

Signatures

Information and guidance blue iconFor signatures that are rendered as images, add the word ‘signature’ to the image, followed by the name.

Signature: Pastel Bosken.

Right way green icon“Signature: Pastel Bosken.”

 

Wrong way red icon

“Pastel Bosken”
It doesn’t include an identifier that it is a signature.

 

Wrong way red icon

“Scruffy, poorly written signature of Pastel Bosken”
The extra information is not needed—and this is not the place for a handwriting critique.

Complex / ungrouped / tiled / layered images

Information and guidance blue icon

Combine / group separate images into one when they visually and logically are presented as one. This is so that one piece of alt-text can be applied to the whole image. The same is needed for images that are produced with multiple layers. Flatten the layers into one before adding the alt-text.

Right way green icon

 

Combined images alt-text: “Organizational and Salary Chart: Top level (GS 13-14) is DTP Director; 2nd level (GS11-12) is Office of Budget, Logistics Support, and Complaints; 3rd level (GS 8-10) under Logistics is Ordering, and Distribution.”

Combined images alt-text: “Organizational and Salary Chart: Top level (GS 13-14) is DTP Director; 2nd level (GS11-12) is Office of Budget, Logistics Support, and Complaints; 3rd level (GS 8-10) under Logistics is Ordering, and Distribution.”

Take note yellow icon

There are two main ways to achieve this. (1) Combine the images into one by grouping them; or (2) Apply the alt-text to only one image, and apply null alt-text (Alt=“”) to the others.

[MORE INFO...]

*You must sign in to view [MORE INFO...]