Writing good image alt text

Image alt text, also known as “alternative text” or “alt attribute,” is a short description that is added to an image on a website. Alt text is intended to describe the content of the image to people who are unable to see it, such as those who are visually impaired and use screen readers, as well as search engine robots.

Writing good alt text is an important aspect of website accessibility and can also improve the search engine optimization (SEO) of your website. Here are some tips for writing effective image alt text:

  1. Keep it concise: Alt text should be a brief, concise description of the image. Aim for no more than 125 characters.
  2. Use descriptive language: Alt text should accurately describe the content of the image. Avoid using phrases like “image of” or “picture of,” as it is already assumed that the text is describing an image.
  3. Don’t stuff keywords: While it’s important to use relevant keywords in your alt text, avoid keyword stuffing, as it can negatively impact the user experience and your website’s SEO.
  4. Don’t use the alt attribute for decorative images: If an image is purely decorative and does not add any meaningful content to the page, you can leave the alt attribute empty or use a null value (alt=””). This will prevent screen readers from reading out unnecessary information.

By following these tips, you can ensure that your image alt text is improving both accessibility and the SEO of your website.