1 of 35

Making Digital Images Accessible to People with Disabilities

ASU Digital Accessibility Liaisons

2 of 35

When images don’t load on a web page…

3 of 35

This is what the web is like for people using screen readers when images don’t have alt text.

Please don’t do this.

4 of 35

Why do images need alt(ernative) text?

Alternative--or alt--text is a text description of meaningful images that can be read by screen readers, seen when an image doesn't load on a page, and be indexed by crawlers.

  • People with low or no vision can’t see images, but a screen reader can read alt text for them. �(Without alt text, screen readers often read the file name, like "73crop_img32_900px.png…" Ugh!)
  • Using alt text can result in higher SEO rankings. Google can’t index images (very well), but it can index alt text. For example, search engines may be able to tell this is a man in a hoodie.

But if you're trying to rank for "Sheldon Cooper" or “Vulcan mind meld,” you'll need to lend the search engine a helping hand.

5 of 35

Where can I add alt text?

1. In a caption

2. In surrounding content

3. In an alt text field

6 of 35

How to add alt text with a WYSIWYG (rich text editor)

7 of 35

Adding alt text in Canvas

8 of 35

Adding alt text in Microsoft Word

9 of 35

Adding alt text in Google docs

10 of 35

Adding alt text in Microsoft Outlook

11 of 35

Adding alt text in Gmail

12 of 35

Adding alt text in WordPress

13 of 35

Adding alt text in Webspark (Drupal)

14 of 35

Types of images

15 of 35

Which images need alt text?

All images.

All images should have an alt attribute (sometimes called an "alt tag").

  • Informative images: Images that graphically represent concepts and information.
  • Functional images: An image used as a link, button or control.
  • Images of text: An image that contains graphic text as part of the image.
  • Decorative images: An image that is only visually decorative and does not convey information.

We'll mention two other types, complex and animated images, but these are unique and beyond the scope of this talk.

16 of 35

Informative images

Images used to label other informationalt=”Phone”�alt=”Fax”

Images that graphically represent concepts and information need a short description

that supplies the essential information being conveyed.

Images used to supplement other information�alt=”Dog wearing the small silver bell.”

Images conveying succinct information�alt=”Push the cap down and turn it counter-clockwise (from right to left)”

Images conveying an impression or emotion�alt=”Our business is family friendly.”

From the W3C’s “Web Accessibility Tutorials”

17 of 35

Functional images

Linked logosalt=”ASU home”

Image buttons�alt=”Learn Guitar”�alt=”Submit”�alt=”Search”

An image used as a link, button or other control should have a description of �the function of the link or button (not it's visual appearance).

Linked icons�alt=”Print this page”�alt=”Next”�alt=”Opens in a new window”

18 of 35

Graphic text images

When an image contains graphic text, that text is your alt text.

Logo not linkedalt=”Arizona State University”

Image of text (unlinked)�alt=”Hayden 50 - Celebrating our past, building our future”�alt=”Best Colleges U.S. News Most Innovative 2017”

19 of 35

Decorative images

Image used as part of page designalt=" "

If the image is just visually decorative (does not convey information), provide a null text alternative (alt=" ").

Don't forget to watch our calendar of events!

Get the best of ESPN sent to your inbox

Call us at 480-965-0000.

Don’t miss the impressive Tropical House – a huge greenhouse that displays examples of exotic plant-life from every tropical environment on the planet.

Eye candy (or generic images)�alt=" "

20 of 35

Complex images

Complex images like charts, graphs and infographics require special treatment we can't get into now.

But briefly…

Complex images get alt text that summarizes the image AND gives the location of a full word-for-word text version of the chart.

Learn more at accessibility.asu.edu/complex-images

21 of 35

Animated images

Unless they are purely decorative, animated images also need alt text.

Ask, "What is the purpose of the animated image?”

See more requirements for animated images at accessibility.asu.edu/animated

22 of 35

What if I’m still not sure?

Imagine that you’re describing the web page or document aloud over the phone to someone who needs to understand the page. Ask yourself, "What (if any) information or function do the images have?"

OR

Use the W3C’s “Alt Decision Tree”

w3.org/WAI/tutorials/images/decision-tree/

From the W3C’s “Web Accessibility Tutorials”

23 of 35

Writing good alt text

24 of 35

Write great alt text

  • Give an accurate, equivalent description of the content and/or function of the image.
  • Ask yourself, “What is this image primarily trying to convey?” The answer is your alt text.
  • Put the most important information at the beginning.
  • Keep it short. (Don’t force the user to listen to unnecessary text.)
  • Don’t include words like “image”, “icon”, “logo” or “picture.” (Screen readers announce the element as a “Graphic” or “Image” before reading the alt text.)
  • Consider context. Ask yourself, "What is important about the image in relation to the content?"
  • If the description is already available in a caption or the content, don't repeat it in the alt text--instead, mark the image as decorative.

25 of 35

1. What alt text would you add for this image?

Seat belts are comprised of a buckle and a tongue.

26 of 35

1. Inequivalent and equivalent alt text

Inequivalent content

Equivalent content

Seat belts are comprised of a buckle and a tongue.

Alt text “Seat belt”

Seat belts are comprised of a buckle and a tongue.

Alt text: “Insert the seat belt tongue into the buckle.”

27 of 35

2. What alt text would you add for this image?

28 of 35

2. Inequivalent and equivalent alt text

Inequivalent content

Equivalent content

Alt text “Fans”

Alt text: “Football stands filled with ASU students, yelling and giving the Fork-em-Devils hand sign.”

29 of 35

3. What alt text would you add for this image?

30 of 35

3. Inequivalent and equivalent alt text

Inequivalent content

Equivalent content

Alt text “A student”

Alt text: “Undergraduate student performing an experiment in the chemistry lab”

31 of 35

1. Good, better, best: alt text

Good: <img src="pancakes.png" alt="pancakes">

Better: <img src="pancakes.png" alt="Blueberry pancakes">

Best: <img src="pancakes.png" alt="Stack of blueberry pancakes with powdered sugar">

From moz.com

32 of 35

2. Good, better, best: alt text

Good: <img src="escalator.jpg" alt="man on escalator">

Better: <img src="escalator.jpg" alt="man walking on escalator">

Best: <img src="escalator.jpg" alt="man wearing backpack walking down escalator">

From moz.com

33 of 35

3. Good, better, best: alt text

Good: <img src="bird.png" alt="Rooster">

Better: <img src="bird.png" alt="Rooster crowing">

Best: <img src="bird.png" alt="Red-crested rooster crowing">

From moz.com

34 of 35

Still want more on accessible images?

Visit accessibility.asu.edu

Email accessibility@asu.edu

Ask questions on ASU’s #accessibility Slack channel.

35 of 35

Thank you!