How to Add Alt Text to Images Automatically in WordPress
Every image you upload to WordPress has an alt text field, and on most sites it’s empty. Writing a description for every product photo, blog graphic and screenshot is tedious, so it gets skipped. That costs you twice: screen reader users get no description of the image, and search engines lose one of their clearest clues about what the image shows. Automatic alt text in WordPress fixes the gap by filling the field the moment an image is uploaded.
In this guide, you’ll learn what alt text is, why it matters for accessibility and SEO, how to add alt text automatically with a plugin, how to write better alt text by hand where it counts, and how to fix images already in your Media Library.
What Is Alt Text?
Alt text, short for alternative text, is a written description of an image stored in the alt attribute of the image tag:
<img src="red-running-shoes.jpg" alt="Red running shoes with white soles">
Screen readers read it aloud to people who can’t see the image. Browsers show it when an image fails to load. Search engines use it, along with the filename and surrounding text, to understand the image and decide where it should appear in image search.
In WordPress, you’ll find the field when you click an image in the Media Library, labelled Alternative Text.
Why Missing Alt Text Hurts Your Site
Accessibility
The Web Content Accessibility Guidelines require a text alternative for meaningful images. Without one, a screen reader may read out the filename, such as “IMG underscore 4471 dot jpg,” or skip the image entirely. The WebAIM Million report, which tests the home pages of the top one million websites each year, consistently finds missing alt text among the most common accessibility errors on the web.
Image SEO
Google’s image SEO guidelines recommend descriptive alt text so Google can understand image content. For online stores, recipe sites, portfolios and tutorials, image search can be a meaningful source of traffic.
Compliance
In some regions, accessibility is a legal requirement for certain businesses. Filling in alt text is one of the simplest steps toward meeting those standards.
How to Add Alt Text Automatically in WordPress
The quickest fix is a plugin that writes alt text for you at upload time, so new images are never left blank.
Step 1: Install an Auto Alt Text Plugin
Simpli Auto Alt Text is a free plugin built for this. It steps into the normal WordPress upload process, reads each image’s filename as it’s uploaded and turns it into clean, readable alt text, so your Media Library stays accessible without extra manual work.
- Download the plugin ZIP from its product page.
- Go to Plugins → Add New Plugin → Upload Plugin.
- Upload the file, click Install Now, then Activate Plugin.
Step 2: Rename Images Before You Upload Them
Because filename-based alt text is only as good as the filename, this step makes the biggest difference. Compare:
| Filename | Resulting alt text | Quality |
|---|---|---|
IMG_4471.jpg |
IMG 4471 | Useless |
shoes-final-v2.jpg |
Shoes final v2 | Weak |
red-trail-running-shoes.jpg |
Red trail running shoes | Good |
Get into the habit of naming files with a few descriptive words separated by hyphens. It helps alt text, and it helps image SEO on its own.
Step 3: Upload and Check the Result
Upload a test image through Media → Add New Media File, open it and confirm the Alternative Text field is filled. Then insert it into a post and inspect the page to check the alt attribute is present in the HTML.
Managing thousands of product images, or need alt text generated from product names, categories or AI image descriptions? Simpli Plugin’s team builds custom media and WooCommerce automation for large catalogs.
How to Write Good Alt Text by Hand
Automatic alt text is a strong baseline. For your most important images, such as hero images, product photos and infographics, a hand-written description is better. Keep these rules in mind:
- Describe what’s in the image, not what it’s for. “Woman typing on a laptop at a cafe table” beats “Our blog image.”
- Keep it short. One sentence, usually under 125 characters, is enough.
- Skip “image of” or “picture of.” Screen readers already announce it as an image.
- Include a keyword only if it fits naturally. Alt text stuffed with keywords is a spam signal and useless to screen reader users.
- Include important text that appears in the image, such as a sale percentage on a banner.
- Leave decorative images empty. Pure decoration, such as divider graphics, should have an empty alt attribute so screen readers skip it.
How to Fix Images Already in Your Media Library
An auto alt text plugin handles new uploads, but older images may still be blank. To find and fix them:
- Go to Media → Library and switch to list view.
- Open your most important images first: homepage, top products and popular posts.
- Fill in the Alternative Text field and save.
- Run an accessibility checker, such as WAVE or Lighthouse in Chrome DevTools, on key pages to catch anything you missed.
Note that WordPress stores alt text on the attachment, but images already inserted into posts may keep the alt text they had when inserted. After updating the Media Library, check important posts and re-insert the image if the old alt text remains.
Common Problems and How to Fix Them
Alt Text Is Filled With Gibberish
The filename came straight from a camera or phone. Rename files before uploading, or edit the alt text of those images manually.
Alt Text Doesn’t Show on the Front End
Some themes and page builders output images without the attachment’s alt text, or use their own image field. Check the image settings in your page builder, and test with a default theme to confirm where the issue lies.
WooCommerce Product Images Have No Alt Text
WooCommerce uses the alt text stored on each image attachment. Upload images with descriptive filenames, or edit the alt text of existing product images in the Media Library.
Related Guides
- How to Upload SVG Files to WordPress Safely
- How to Put WordPress in Maintenance Mode (Without Hurting SEO)
- How to Add a WhatsApp Button to WordPress
Frequently Asked Questions
Does alt text help SEO?
Yes. Google uses alt text, along with filenames and surrounding content, to understand images and rank them in image search.
Is automatic alt text good enough?
Filename-based alt text is a big improvement over empty fields, especially when files are named well. For key images, review and refine it by hand.
What’s the difference between alt text and an image title?
Alt text describes the image for screen readers and search engines. The title attribute is an optional tooltip in some browsers and has little accessibility or SEO value.
Should every image have alt text?
Every meaningful image should. Decorative images should have an empty alt attribute so screen readers skip them.
Never Upload an Image Without Alt Text Again
Alt text makes your site usable for more people and easier for search engines to understand. Name files descriptively, let a plugin fill the field automatically and hand-write descriptions for your most important images.
Download Simpli Auto Alt Text for free, and browse the full Simpli Plugin library. If your site needs a custom accessibility or media workflow, our developers can build it.