Skip to main content

Alt Text

TL;DR

Alt text is a piece of text or a word inserted as an attribute in an HTML. The role of an alt text is to describe the appearance of an image in order to help crawlers and screen-reading tools describe the images to search engine crawlers or visually impaired readers.

What is Alt Text?

Alt text (alternative text), also known as "alt tag", "alt attribute" or "alt description," is a piece of text or a word inserted as an attribute in an HTML (Hypertext Markup Language) document to describe the appearance or functionality or an image. This helps screen-reading tools describe images to visually impaired readers and allows search engines to crawl your website better.

Within most website editors or content management systems (CMSs), the Alt-text can be added by simply clicking on the image that was inserted in the blog post or site. There is a field to add the image's alt-text, and it is automatically written into the webpage's HTML source code as well, so you can edit the alt-text at any time.

 

    Why is the Alt Text important?

    Adding alt text to your website's images helps:

    • Make the website accessible for visually impaired visitors. The alternative text will be read by the screen readers easily, and your content can be consumed and understood by everyone
    • Search engine crawlers index your website and its images properly
    • Place the relevant keywords for your website in order to improve your website’s search engine optimization (SEO). As long as the alt text is very descriptive and the keywords make sense for your image and web page content, it works exactly like any other content across the site. However, please avoid keyword stuffing, and do not add a set of keywords in a row just for SEO purposes - the practice is both ineffective and unethical.