How to write Image Alt Text for Accessibility

Published By:

how to write alt text

Image Alt Text is a key element of good web accessibility. Yet, many websites fall behind the basic accessibility standards including those set out in the WCAG Guidelines. This Recite Me guide will aim to showcase the importance of following accessibility alt text guidelines.

What is Alt Text?

Alt Text is the words used to describe images on a web page. It can be found within the HTML code of the website, or in the settings of the image when looking within your CMS. The text is used by screen readers to help provide context to visually impaired users. You may have heard alt text being spoken about under a different name, it is commonly known as; alt attributes, alt descriptions, and alt tags.

Why are Image Alt Attributes Important for Accessibility?

Image Alt Text is important for two key reasons, accessibility and SEO.

The reason it is important for accessibility is that without the use of alt tags, users with visual impairments will find it difficult or impossible to understand the context provided by the image. This is because the screen readers they rely on won’t have any information to read relating to the image.

Additionally, image alt text attributes have an implication for your SEO efforts. Without the use of them, Google and other search engines won’t be able to understand the context of the image. However, websites that do include alt text for all of their images, will be able to benefit from an SEO and organic ranking boost. As the image will provide context and relevance to the keywords associated with the page. Google themselves have stressed the importance of properly optimized alt tags as a ranking factor.

Free Accessibility Check of your Website

Detecting accessibility issues has never been easier than it is now. At Recite Me we offer a free automated scan of your websites homepage. This will identify and highlight any accessibility issues on your website. Followed by recommendations on how to implement the necessary changes to improve your websites accessibility score and standing.

Guide to Alt Text: Ten Top Tips for Image Accessibility

There’s a multitude of different factors to take into consideration when creating the perfect alt text attributes for your images. To make a website accessible, consider some of the following tips:

1. Be Descriptive

When writing alt text, it’s important to provide a detailed description of the image so that users can form a mental picture of it. Instead of simply stating “woman cooking,” you could write “A woman wearing an apron and holding a wooden spoon while cooking a meal on a stovetop.” Including specific details helps users who rely on alt text to understand the image’s content.

Animated people sitting on a jigsaw in the colour palette of Recite Me

2. Context Matters for Accessibility

Consider the image’s purpose within the context of the surrounding content. Think about how the image contributes to the overall message or story you’re conveying. For example, if you’re discussing a historical event and including an image of a famous landmark, your alt text should reflect that relevance and connection to the topic at hand.

4. Avoid Redundancy or Repetitive Alt Text

If the image’s content is already described in the surrounding text or the image is simply for decorative purposes then you can ignore the alt text.

To do this efficiently you’ll want to use ‘null’ in the alt text or (alt=””) in the HTML. This allows screen readers to ignore or skip the alt text all together, leaving the user unaffected. It’s important that this is tagged correctly, as some screen readers will begin reading the file name, which will irritate the user.

5. Be Objective

Alt text should convey factual information without injecting personal opinions or assumptions. Stick to describing what is objectively visible in the image, rather than interpreting or speculating about emotions or intentions.

So, when creating accessible alt text, avoid terms like “beautiful,” “ugly,” “amazing,” or any other subjective judgment. Instead, describe the image’s factual details and leave the interpretation to the user.

A animated guy points out specific parts of an image on his phone screen.

6. Keep your Alt Attributes Concise

While it’s important to provide enough information, aim to be both specific and concise when creating alt text for accessibility. Provide a concise description that captures the key elements without being overly descriptive. Long alt text can be tedious for users of assistive technology, so focus on the most relevant details.

7. Avoid “Image of” or “Picture of”

It is unnecessary to state in the alt text tags that the image is an “image/picture of…” since screen readers already identify this for the reader. Instead of starting with “Image of a cat,” you can directly describe the cat, such as “A gray and white cat lounging on a sunny window sill.”

Animated people are sitting on a couch watching a speaker read content out on a computer screen.

8. Test with Screen Readers

To ensure your page has accessible alt text, listen to it using screen reader software. Screen readers provide insight into how users relying on assistive technology will perceive and understand the image through the alt text.

If you think it’s not descriptive enough or doesn’t provide the necessary context and information then you can go in and make the required change. Accessibility guidelines and technologies are ever-changing, so the ability to constantly update and make changes to your alt tags is important.

Learn more about how to design a website for screen reader accessibility here.

9. Include Important Text & Keywords

If the image contains significant textual information, such as a quote or a sign, ensure that your alt text conveys the text accurately. Although, again, remember to be concise with this. If the image has a huge amount of text on it, ensure you’re providing everything that the reader needs, but minimizing the additional noise from information that isn’t absolutely essential.

Additionally, from an SEO perspective, the alternative text tags provide an opportunity for increased search performance. Including keywords that you want the page to rank on can help google understand the page and image is relevant to the keyword. However, it is important to do this very sparingly and in a natural way. Over-optimization or keyword stuffing can get your website flagged and penalized by search engines.

10. Avoid AI-generated Alt-Text

Developments and advancements in AI software are becoming more and more impressive every day. Some of the biggest organizations such as Facebook and Instagram use Artificial Intelligence generated alt-text.

However, AI is far from perfect, especially when it comes to implementing accessibility guidelines. It can often misinterpret the data or image, miss out on key details or oversimplify the context.

Although, you don’t need to totally eliminate the use of AI, so long as there are some human touch elements at play. Each AI-generated alt text should at least be reviewed and edited where appropriate by a real human, to meet the required accessibility guidelines.

Online Accessibility and Inclusion Toolkit

This year we published our Digital Inclusion Toolkit that was developed to help businesses make a real difference to the lives of the millions of people around the world who encounter online barriers. The 40 page document provides practical advice covering the complete landscape of online accessibility from how to write an accessibility statement to our top tips for providing an inclusive recruitment journey.

Accessibility Checker

Our web accessibility checker is the perfect automatic tool for detecting any image alt text accessibility issues. It will scan your website for you, to determine any inaccessible images.

Furthermore, the tool looks at a wide variety of accessibility issues, not just image tags. The tool is WCAG-compliant and fully up to date with its newest guidelines. Some of the main benefits of the tool include:

  • Identifies non-compliance based on WCAG guidelines
  • Displays accessibility issues on your website
  • Provides suggestions for improved accessibility
  • Manage your fix queue
  • Track improvements and see your accessibility score increase
  • Download and share your accessibility report
illustration of the Recite Me Accessibility Scanner
illustration of the Recite Me assistive toolbar product

Assistive Technology Toolbar

You can go one step further on your journey to digital accessibility with the Recite Me assistive Toolbar. This will allow your users to make a wide variety of adjustments and alterations to your website to make it easier to use if they have a specific disability. Some of the main features include:

  • Ability to change font size, type, and color.
  • Alter color contrasts between text and background.
  • Isolate sections of the page with our mask screen tool.
  • Recite Me Ruler to make reading easier.
  • Download any web page as an mp3 file as an alternative to reading.
  • Translate on-screen text to over 100 languages.
  • Make use of text-to-speech with our screen reader.
  • Translate or screen-read PDF documents.
  • Zoom in and out of any page.
  • Built-in spell-checker and integrated dictionary and thesaurus.

Start Your Digital Inclusion Journey

Our team is here to help you on your mission to provide more inclusive online experiences. Get started on your online inclusion strategy today by trying our toolbar or scheduling a free demonstration to see the difference it can make to your business.

Get started rocket
Type
Sectors
Job Titles
Share

Related Content