An image’s alternative text is a description of the image, or if the image links somewhere, a description of where it links.
The alt text is a part of the image’s HTML, specifically:
<img src=”kittens-blue-blanket.jpg” alt=”Kittens on a blue blanket” />
Alt tags are important because search engines look for and read them to gain more understanding of the page content. They are also often used as captions in social sharing tools or slideshows. Alt tags are also useful for screen readers, so they help make your website accessible.
When editing a WordPress website page or post and adding or editing images, there is a spot to add alt text.
Updating Alt Text from the Media Library, or when adding a new image to a post
First select the image:
Once the image is open for editing, type your description in the Alt Text input box:
or if adding media from a post editor, it will look more like this:
Updating Alt Text if an image is already added in a post
Click the image to select it, then click the Edit button:
Once the image is open for editing, add or update your Alt Text at the top left.