What is Alternative Text and How to Write It Well?

Alternative text is an important part of web content that is often overlooked. It involves providing a description of images so that everyone, regardless of visual ability, can understand their purpose and content. By writing clear and informative alternative text, you make your website more accessible and user-friendly. It is a simple yet effective measure to ensure that no one is left out of the visual communication on your site.

What does it mean in practice?

Writing alternative text involves providing a short but clear description of an image so that all users can understand its content and significance. For people with visual impairments, alternative text is crucial, as screen readers use it to convey information. Consider describing what is truly important about the image. If it is a product image, you can mention the product's name and features, while an image showing an event may require a description of what is happening and who is involved.

It is also important to avoid unnecessary details. A short and concise description is often more effective. For example, instead of writing "A large, red car parked on a green lawn," you can settle for "Red car on lawn." This helps keep the focus on the central message.

A common misconception is that you only need to describe the image literally. Instead, think about the purpose of the image and how it contributes to the content on the page. By doing this, you create a more inclusive experience for all users. Considering alternative text as part of your overall design strategy ensures that you not only follow guidelines but also improve the user experience on your website.

When is it used?

Alternative text is used in many contexts on websites, and it is important to know when and how to implement it. A basic rule is to always include alternative text for all images that carry information or contribute to the content. This can be anything from product images and diagrams to illustrations and photographs that enhance the text.

Consider using alternative text when the image has a purpose, such as when it explains something or provides context to the written word. If an image shows a person performing an activity, such as cycling, the alternative text can describe both the person and what is happening, providing a better understanding of the content.

It is also important to consider images that are not purely decorative. Purely decorative images, such as a background or a graphic detail that does not add information, often do not need alternative text. In such cases, it may be more effective to provide an empty alternative text (e.g., alt="") to signal that the image does not carry any relevant information.

When using icons and symbols, it is important to describe their function. If an icon represents a button to submit a form, the alternative text can be "Submit" or "Submit form." By doing this, you help users understand what each icon does, creating more intuitive navigation.

In social media and blogs, alternative text is also crucial. When sharing images in these contexts, be sure to include a description that adds value to the image. This allows more people to engage with your content, regardless of their visual ability.

In summary, alternative text is used when images are part of the communication on your website. By considering the purpose of each image and how it contributes to the whole, you can create a more accessible and inclusive experience for all users.

What should you consider?

When writing alternative text, it is important to consider both the purpose of the image and how it relates to the overall content. Being clear and concise is crucial to conveying the right information. Also, consider tailoring the description to the audience and context in which the image is used. By keeping the user's perspective in mind, you can create a more inclusive experience.

  • Always describe the content of the image in a way that conveys its purpose and significance to the user.

  • Focus on providing relevant details, but avoid unnecessary or redundant descriptions that may confuse.

  • Consider that images that are decorative or do not add value should have empty alternative text to avoid disrupting the user experience.

  • Use clear and simple language to ensure that the information is easy to understand for all users.

  • Adapt the alternative text to the context of the image, so it always feels relevant and meaningful in the situation.

  • Remember to include functional descriptions for icons, so their purpose is clear to users with screen readers.

  • For product images, mention important features such as color, size, and usage to provide a good overall picture.

  • Avoid using phrases like "image of" or "photo of," as these do not add any value to the description.

  • Be aware that alternative texts can affect SEO, so include relevant keywords where appropriate.

  • Consider that it is better to convey a feeling or mood in the description when an image has an emotional component.

  • Write with a tone that suits your website and audience to create a cohesive user experience.

  • Review and update the alternative text regularly to ensure it is always current and relevant.

  • Use examples and metaphors if they help clarify what the image is about, without becoming too complicated.

  • Be careful to include important cultural or contextual references that can help users understand the image better.

  • Finally, test your website with screen readers to see how the alternative text is experienced by users with visual impairments.

By considering these aspects, you can create a more inclusive and accessible website that truly engages all users. Alternative text is not just a technical detail; it is an opportunity to convey valuable information and create a better experience for everyone.

Who is responsible for alternative text in a project?

Responsibility for alternative text in a web project usually lies with several people, but primarily with content creators and developers. Content creators, who write and gather material, should be aware of the importance of including clear and informative alternative texts. It is not just about describing images, but ensuring that these texts truly convey the image's purpose and significance.

The developer also has an important role, as they implement the alternative text in the code. Here it is crucial that the written text is correctly placed so that screen readers can read it effectively. By collaborating and communicating about this, the entire team can ensure that the website becomes as accessible as possible for all users. Together, you create a more inclusive digital environment where no one is left out.

Related words to Alternative Text:

Alt-text, Web Content Accessibility Guidelines, AA (WCAG level), Accessibility, Accessibility

Let us help you!

We at Pigment Digital Agency are happy to help you. Read more about our services at: UI/UX Design