Question: How do you add alt text to images using the Yoast SEO plugin?


Alt text (alternative text) is a description of an image that's shown to users in case the image fails to load on a webpage. It's also used by screen-reading tools to describe images to visually impaired readers, and it can help with search engine optimization (SEO), as it allows search engines to better understand the content of your images.

Yoast SEO doesn't directly let you add alt text to images; instead, it helps you remember to do so by providing SEO recommendations. These recommendations are based on best practices for SEO, including appropriate use of image alt tags.

However, you can add alt text to images in WordPress, which should be the content management system (CMS) you're using if you have Yoast installed. Here are the steps:

  1. Go to your WordPress Dashboard.
  2. Click on 'Media' and then 'Library'.
  3. Click on an image. This will open a details dialog.
  4. On the right side, you'll see a field for 'Alternative Text'. Enter your alt text here.
  5. Click on 'Update' to save your changes.

The alt text you add here will be recognized by Yoast SEO when it analyzes your page for SEO friendliness. If you forget to add alt text, Yoast SEO will remind you in its analysis results.

Here's a sample code piece of an img tag with alt text:

<img src='image.jpg' alt='A comprehensive guide to using Yoast SEO'>

Remember, alt text should accurately describe the contents of the image, be concise, and, if possible, include the keyword or phrase that the page is focused on.

Other Common Image Alt Questions (and Answers)

© ContentForest™ 2012 - 2024