Image Alt Text Usage Recommendations

Adding alt text for images is the first principle of web accessibility and SEO optimization. It is also one of the most difficult to properly implement

Image Alt Text Usage Recommendations

Adding alt text for images is the first principle of web accessibility and SEO optimization. It is also one of the most difficult to properly implement. The web is replete with images that have missing, incorrect, or poor alternative text. Like many things in web accessibility, determining appropriate, equivalent, alternative text is often a matter of personal interpretation. Through the use of examples, this article will present our experienced interpretation of the appropriate use of alternative text.

Image Alt Text Usage Recommendations

Image Alt Attributes And Title Attributes?

This is a complete HTML image tag:

<img src=“image.jpg” alt=“image description” title=“image tooltip”>

The alt and title attributes of an image commonly relate to as alt tag or alt text and title tag. But technically, they’re not tags, they’re attributes. The alt text describes what’s on the image and the function of the image on the page. So if you are using an image as a button to buy product X, the alt text should say: “button to buy product X.”

The alt tag is in use by screen readers, which are browsers by blind and visually people. These screen readers tell them what is on the image by reading the alt tag. The title attribute is shown as a tooltip when you hover over the element. So, in the case of an image button, the image title could contain an extra call-to-action. However, this is not a best practice.

Context is Everything

When determining appropriate alternative text for images, context is everything. The alternative text for one image may be vastly different based upon the context and surroundings of the image itself.

Alt Text Best Practices

Ultimately, image alt text needs to be specific but also representative of the topic of the webpage it’s supporting. Get the idea so far? Here are a few important keys to writing effective image alt text with SEO in mind:

  1. Keep your alt text fewer than 125 characters. Screen-reading tools typically stop reading alt text at this point, cutting off long-winded alt text at awkward moments when verbalizing this description for the visually impaired.
  2. Use your keywords, but sparingly. Only include your article’s target keyword if it’s easily included in your alt text. If not, consider semantic keywords, or just the most important terms within a longtail keyword. For example, if your article’s head keyword is “how to generate leads,” you might use “lead generation” in your alt text, since “how to” might be difficult to include in image alt text naturally.
  3. Describe the image, and be specific. Use both the image’s subject and context to guide you.
  4. Don’t start alt text with “picture of…” or “Image of…” Jump right into the image’s description. Screen-reading tools (and Google, for that matter) will identify it as an image from the article’s HTML source code.
  5. Don’t cram your keyword into every single image’s alt text. If your blog post contains a series of body images, include your keyword in at least one of those images. Identify the image you think is most representative of your topic, and assign it to your keyword. Stick to more aesthetic descriptions in the surrounding media.

How to Add Alt Text to an Image in WordPress

WordPress allows you to add Alt text for your images when you upload them using the built-in media uploader. You can also add alt text to an image by visiting Media » Library and clicking on the Edit link below the image.

How to Add Image Title in WordPress

When you are uploading an image using the built-in WordPress media uploader, you will see a title field. This title field is used by WordPress to handle your media files and should not be confused with the title attribute used inside an image.

The title you add while uploading an image is only used by the WordPress media library to display the list of your media files. While this title will help you locate media files in WordPress media library, it is not the title attribute that we are talking about. Here is how you would add the title attribute to your images in WordPress.