Alt text meaning in English
What is alt text?
Alt text (alternative text) is a word or phrase that can be added to an image element in HTML, used to describe the image to users and search engines.
Below is an example of
alt text for an image of a red dictionary inside an
<img src="/dictionary.jpg" alt="Red dictionary" />Code language: HTML, XML (xml)
Why is alt text important for SEO?
Alt text is used by search engines to understand what an image is about, which help them decide what to rank a resource/image for.
Alt text can potentially help a resource appear for new search terms in both organic search and image search.
Images may also appear directly in search results on both desktop and mobile.
As well as benefiting SEO, providing descriptive alt text for images is also very important for accessibility purposes.
This is because Alt text is usually read via screen-readers, providing context to users which may not otherwise be able to see the images on a page.