WordPress alt text plugin with review and rollback
Audit the alt text in your Media Library, request AI drafts for the images that need them, approve each one, and write them back in a batch. Every batch records what each image had before, so you can roll it back.
Install: Plugins > Add New Plugin > Upload Plugin, then Media > Alt Text Audit.
Tested end to end on WordPress 7.1.5 (PHP 8.3) and WordPress 6.2.16 (PHP 7.4).

How it works
- 1.Audit. The Review tab lists Media Library images with their alt text and flags no alt text, file names, generic words, “image of” openers, text over 150 characters, and the same alt on different images.
- 2.Draft. Select images and click Get AI drafts. Each image goes to our API one at a time, using an existing resized copy of at most 1024 px, with its file name, title, caption and the post it's attached to. The draft fills the row's text box.
- 3.Review. Edit any draft. For each row choose Approve, Decorative (empty alt, on purpose) or Skip. Approve all drafts on this page is there for speed, and you can still change rows after.
- 4.Write. Write approved alt text saves the approved rows as one batch. Rows left on Skip aren't touched, and an approved row with an empty box is refused rather than wiping the alt text.
- 5.Roll back. History and rollback lists every batch with its before and after values. Roll back restores each image's earlier value, unless it was edited after the batch.
What it changes, and what it doesn't
The plugin writes the Media Library’s Alt Text field (_wp_attachment_image_alt). WordPress reads that field whenever it outputs an image from the library: featured images, galleries, WooCommerce product images, and images you insert after the change.
The block editor copies alt text into the post when you insert an image, so images already placed in posts and pages keep the alt text they had at that moment. Update those in the editor, or re-insert the image. The plugin doesn’t edit post content, which also keeps rollbacks simple and safe.
Rollback rules
- Each batch stores, per image, the alt text before and after, and whether the image was marked decorative.
- “None set” and “empty” are kept apart, so an image that had no alt text goes back to having none, not to an empty one.
- An image whose alt text was changed after the batch, in the Media Library or by another batch, is skipped and counted in the result.
- A batch can be rolled back once. The batch history stays in the database until you uninstall the plugin.
How we tested it
Our test script boots a real WordPress in WordPress Playground, installs the plugin from this exact ZIP through Plugins > Upload, seeds 10 images with different starting states, and drives the admin screens in a headless browser. It checks the database directly, not the plugin’s own screens.
| Images seeded (no alt, empty alt, existing alt) | 10 |
| Drafts that matched their own image after WordPress resized it | 10 of 10 |
| Rows written in one batch (one skipped on purpose) | 9 |
| Images restored exactly by rollback | 8 |
| Image edited after the batch and left alone by rollback | 1 |
The same run also passes on WordPress 6.2.16 with PHP 7.4, the oldest versions the plugin supports (28/28 checks).
The run also checks that a model error shows on its row without filling anything in, that WordPress renders the new alt attribute on the page, and that the history shows the batch as rolled back with no second rollback button.

What it sends
Only when an editor clicks Get AI drafts, and only for the selected images: one copy of each image, its file name, title, caption, current alt text, the title of the post it’s attached to, and the plugin settings (a short “this site is” description, style and length). No user data and no other content. Images are processed in memory and not stored; see the privacy policy.
Questions
Does the plugin change alt text on its own?
No. It drafts only the images you select, shows each draft next to the current alt text, and writes only the rows you mark Approve or Decorative, when you click Write approved alt text.
What exactly does it write?
The image's Alt Text field in the Media Library (the _wp_attachment_image_alt meta value), plus its own decorative flag. WordPress uses that field for featured images, galleries, WooCommerce product images and new insertions. Images already placed in posts with the block editor keep the alt text they were inserted with.
What does rolling back restore?
Exactly what each image had before the batch, including the difference between an empty alt text and none set. If someone changed an image's alt text after the batch, the rollback leaves that image alone and tells you.
How many drafts can I get?
25 per day per server IP address, the same free allowance as the web tool. The audit, review, write-back and rollback have no limit. When the allowance runs out, the plugin says so and you can still type alt text yourself.
Does it work with WooCommerce?
Product images are ordinary Media Library images, so yes: they appear in the audit, and when an image is attached to a product, the product name is sent as context. WooCommerce itself was not installed in our test site.
Is it in the WordPress.org plugin directory?
Not yet. Download the ZIP here and upload it under Plugins > Add New Plugin > Upload Plugin. It's GPL-2.0-or-later, like WordPress.