Skip to content
El Joseo
SEO for Google

What is Alt Text / the Alt Attribute in SEO?

Alt text in SEO is key to improving the accessibility and optimization of your images in search engines — don't ignore it!

Alt text is an HTML attribute used to describe an image on a web page. This text matters both for search engines and for people with visual impairments, since it lets them understand what the image is about.

Alt text should be concise and descriptive, and should include a description of the image and its context on the page. When you use appropriate alt text, search engines can better understand the page’s content and show more relevant results to users. On top of that, people with visual impairments can use screen readers to understand what’s on the page.

It’s important to keep in mind that alt text shouldn’t just be a list of keywords or a generic description, since that can hurt both the user experience and the quality of your SEO. Instead, alt text should be genuinely useful and relevant to the page’s content.

Alt text also matters for online ads, since it can affect the ad quality score and, as a result, the cost and visibility of your ads.

In short, alt text is a key element for improving both the accessibility and the search engine optimization of a web page. By using descriptive, relevant alt text, websites can boost their visibility in search engines while offering a more accessible experience to all users.

Key Characteristics of the Alt Attribute in Images

  1. Contains relevant information and accurate descriptions of the page’s content.
  2. Is unique and not duplicated across other pages on the website.
  3. Has an appropriate length, generally between 50 and 160 characters.
  4. Uses relevant keywords to improve visibility in search engines.
  5. Avoids misleading or confusing language.
  6. Is optimized to be readable by both people and search engines.
  7. Gets updated regularly to reflect changes in the page’s content.

Best Practices for Adding This Attribute to Your Website

  1. Use a concise, relevant description of the image.
  2. Include keywords related to the image in the description.
  3. Avoid generic descriptions like “image” or “photo.”

What Does the Alt Attribute Look Like in HTML Code?

Alt attribute example: img src=“example.jpg” alt=“A landscape with mountains and a lake on a sunny day”>

How Do I Edit the Alt Text Attribute in WordPress?

To edit the alt text of images in WordPress, follow these steps:

  1. Log in to your WordPress site and go to “Media.”
  2. Find the image you want to edit and click “Edit.”
  3. In the “Details” tab, you’ll find a field called “Alternative Text.”
  4. Enter the alt text you want to use for the image.
  5. Click “Update” to save the changes.

Note: If you don’t see the alt text field, make sure the image is uploaded to your WordPress site and not linked from an external source.