How to Write Alt Text for Images in WordPress

WordPress already includes a predefined field in its administration panel for each one of your images that is used for entering your alt text. You can fill it in to comply with accessibility regulations and improve your SEO too. This way the WordPress CMS (content management system) supports alternative text for images. You can learn more about alt text in this other article, which explains it thoroughly.
Why Alt Text Is Important
As already said above, alt text improves a website’s accessibility score. It is also good for SEO, as it helps search engines understand images. This way, by having proper descriptive alt texts on your website’s images, you can rank higher on search engines like Google. Or it can also help improve your particular images’ search rankings in Google Images search. Alt text is displayed in a case when an image fails to load too.
WordPress Alt Text Basics
Where Alt Text Appears in WordPress
You can find fields for entering your alt text in your WordPress admin panel, in the Media Library section. Or, you can also enter alt text right in the Block Editor (Gutenberg), in the Classic Editor, or in a builder like Divi or Elementor, whichever one you use.
Difference Between Alt Text, Title, Caption, and Description
- Alt text is a description of what is in the image. It is used for SEO and accessibility. And it is visible to users only if image fails to load.
- Title shows when you hover over the image as a tooltip. It is not primarily used for accessibility.
- Caption is a visible text, displayed normally below the image. It may include some content for explanation. And it shouldn’t be the same as alt text.
- Description is extra details for the image. Usually metadata, keywords, or some extra content.
How to Add Alt Text to Images in WordPress
Method 1: Add Alt Text on Image Upload
You can fill in the alt text field manually for each image when you are uploading a particular one to the media library. This process can also be automated with artificial intelligence, as it can generate alt texts for your WordPress images automatically on the upload of an image. WordPress plugins like Imagerr AI can help you achieve this; check method 4 in this list.
Method 2: Add Alt Text to Existing Images
If you have additional images on your WordPress website that lack alt text, you can open the media library and enter the alt text for each image by filling in their details. Or if you have, for example, hundreds or thousands of images, you can also automate this with AI by using a plugin like Imagerr AI. This plugin also comes with the bulk generator feature, which allows you to generate image alt texts in bulk for many images.
Method 3: Edit Alt Text Directly in Posts and Pages
You can also update the alt text for your images that are already embedded in your WordPress posts or pages. You can do this by simply selecting an image block and updating the alt text from block settings. Or from your page builder settings as well.
Method 4: Let AI Write Alt Text for Your Images Automatically
You can use a plugin like Imagerr AI to speed things up. It will allow you to generate the alt texts for your images with AI automatically with just one click. It also comes with many features like the bulk generator or SEO keywords that you can add to fine-tune the result. Or, you can enable the option “Auto Generate on Upload,” and the alt text will be ready for you automatically when you upload new images to your media library.
Best Practices for Writing Effective Alt Text
When writing alt text for your pictures, it is important to be specific and descriptive. You should try to describe the image’s content and purpose and include important details when relevant. You should also keep it concise and follow the recommended length guidelines (currently it should be within 160 characters). Try to avoid overly long descriptions.
You should also consider context and tailor the descriptions to surrounding content. And try to focus on what matters to the reader. Include SEO keywords naturally when they make sense. And also try to avoid keyword stuffing, as that could harm your SEO. You should also skip using phrases like “Image of” or “Picture of”.
Examples of Alt Text
You can check some examples of alt texts at the bottom of this other blog post on this blog. And here you have one more:

Let AI Write Alt Text for Your Images Automatically
You can leverage AI to help you craft nice descriptive alt texts for all your images automatically. It may save you a lot of time. You can use my WordPress plugin Imagerr AI for this. However, don’t forget to review them all after you generate them, because even AI is still not perfect. You can also go ahead and check this tutorial on how to use this plugin and how to generate alt text for your images automatically with AI. I hope it will help you out.
WordPress expert, AI enthusiast, and Imagerr AI founder. I have been building WordPress websites, doing SEO, and affiliate marketing since 2007. Recently I also started my own SaaS projects, like this website or this WordPress author box. When I'm not working on my projects, I'm probably riding my bike.
