In this example, the alt tag "Sunset over the ocean with waves crashing against cliffs" describes what the image shows and conveys the scene's essence. This information helps make the content accessible to all users.
Importance of alt tags and texts
Accessibility: The alt tag provides a textual description of images, making them accessible to individuals using screen readers. This ensures that visually impaired users can understand the content and context of the images.
SEO benefits: Search engines use alt tags to understand the content of images. Including relevant keywords can improve the article's search engine ranking, helping users find the content more easily.
Context and clarity: Alt tags help clarify the purpose of an image within the article. This is especially important if the image conveys information that complements the text.
Fallback content: If an image fails to load, the alt tag will be displayed instead, providing users with a basic understanding of what the image was intended to convey.
Improved user experience: The alt tag enhances the overall user experience by ensuring all users can fully engage with the content regardless of their abilities.
Best practices for including alternate tags/texts in documentation
Be descriptive: Write clear and concise descriptions of what is depicted in the image. For example, instead of "image1.jpg," an appropriate alt tag could be "A group of diverse people collaborating around a table in a modern office."
Context matters: Consider the context in which the image is used. If the image supports a specific point or content, include details explaining its relevance.
Limit redundancy: Avoid phrases like "image of" or "picture of." Instead, start directly with the description. For example, use "Smiling child holding a colourful kite in a park."
Use keywords wisely: If relevant, you can include essential keywords in the alt tag, but avoid keyword stuffing. It should sound natural.
Keep it simple: The alt tag should be clear and direct. Focus on creating a brief image tag, which is typically most effective for screen readers.
Decorative images: For purely decorative images that do not add meaningful content, you can use an empty alt tag (alt="") so that screen readers ignore them.
Takeaway
Optimizing your knowledge base for enhanced accessibility by adding alt tags and text for images is a necessary practice that benefits all users, particularly those with visual impairments.
Please watch this space for more detailed use cases of SEO tags that you can apply to your organisation's knowledge base.
Cheers,
Kavya Rao,
The Zoho Desk Team