Choosing an Image

If you are including an image or graphic of any kind on your page, document, or any other web content, you need to ensure that it is accessible to all users. While images and graphics can make the content more visually appealing or convey information, it is important to remember that not all users will experience that portion of your content the same way.

Example: Event Poster

You have an upcoming event and you have created a poster with all the details—date, time, location, how to get tickets, etc. It may seem like the easy solution is simply to upload the poster to your news item. It is visible on the page and looks nice.

But consider these scenarios.

  • A user who is blind and relies on a screen reader wants to learn more about your event. If you created alt text that simply describes the poster or the event in general (e.g., “event poster”), they can’t get the details. If you provide all the event details in the alt text, that will be available to them. But it will be read to them in one long sentence, possibly making it hard to understand.

  • A user who has a vision impairment and needs higher contrast. Using their accessibility tools, they can change the contrast of an HTML page to improve their experience. But an image may not always adjust to the contrast properly or in a way that they can actually read it, making the information inaccessible to them.

  • A user with no disabilities but who is using a smartphone to view the news item. Having the information only in the image will require them to zoom into the image to read the details. Helpful things like being able to highlight the physical address or email will be unavailable.

The best solution for all of these scenarios is to provide the information as text in the page itself. You can then use headings and proper text formatting, allowing the screen reader or other assistive devices to read each piece of information at a time (e.g., date, then time, then location), and allow all users to benefit from the easily-accessible information. You can still add the image of the poster and use alt="" to denote that it is decorative, since the information is accessible within the text. Or, even better, consider using an image with little to no text as your graphic to supplement the text.

Alt Text Best Practices

student and professor wearing protective gear, conducting a chemical experiment in the lab standing behind the safety glass divider.The purpose of alt text is to describe the image visuals and the context for a user who cannot see it. For example, the photo shown could have alt text of “male student and a professor in a laboratory.” It describes it, but doesn’t add much.

The purpose of the image will depend on the context of the page. If the page is highlighting the safety measures taken in the lab, a better alt text might be “student and professor wearing coats and protective gear conducting a chemical experiment behind the safety glass divider in the laboratory.” 

In short, don’t go with a short alt text just to have one. Give the users the context and contents of the image. 

How to Make an Image Accessible for the Website and D2L

Alt Text in Cascade CMS

Alt text for an individual image in Cascade CMS is found on the Insert/Edit Image window when inserting an image, under “Image Description.” 

If you have a complex image (e.g., table, graph, poster) and require alt text longer than the field provides, please reach out to web-team@iup.edu for support.

Alt Text in D2L

Coming soon.

 

 

Resources

Siteimprove’s page on Alt Text Best Practices breaks down the basics of writing and using alt text for informative and decorative images. 

The Images Tutorial from the W3C provides a deep dive into the types of images and how to make them accessible. 

WebAIM Alternative Text