What image alt text should I use?

Is the image relevant and important to the content?

What is alt text?

Alt text refers to providing a text alternative to non-text based content such as images. For images this is usually done by adding an appropriate value to the alt attribute on an img tag.

Why is alt text important?

Alt text is important for two main reasons; accessibility and SEO.

For users of assistive technologies such as screen readers, alt text helps users to understand non-text content such as images without having to visually see them. In the Web Content Accessibility Guidelines (WCAG) 2.2 this is covered in Success Criterion 1.1.1 Non-text Content.

For SEO, it can help you images rank better in search engines and help drive traffic to your website.