Alt Text Tools

Description

Find and fix missing Alt Text quickly and easily!

This plugin will provide a CSV (comma separated values) file that lists all of your images used in your content — and their corresponding Alt attribute.

To use, go to Tools > Alt Text Tools, and click the button. Give it a few moments to scan your site, and your download should begin.

You can then open the file into your favorite spreadsheet program, and use it to identify images that are missing Alt Texts, or that need other improvement. The file also includes links to edit the post in which the images appear, so you can quickly and easily edit the attribute.

Screenshots

  • Simply click the button to download a CSV file of all your images and their alt texts.

FAQ

What’s this for?

It’s very important for accessibility to have correct Alternative Text attributes set for all of your images. This CSV file will make it easy to find images that need to be fixed, so you can improve the accessibility on your site.

Because the Alt Text is “ hardcoded” into your posts and pages when you insert the image, it can be difficult to know which images don’t have Alt Text, or need better ones. (If you go back and add an Alt Text to an image in the media library, it won’t update your post content — so you need to look at the actual post itself.)

What should I put in the Alt Text field?

This image tutorial from w3.org is a great resource

How do I edit the Alt Text on the images?

Open the corresponding post in the editor (use the link in the edit link column to open the post that includes the corresponding image). Edit the image in the post, and add in the Alt Text there. Remember, this does not add the Alt Text to the image in the media library – that needs to be done separately.

If I edit the Alt Text in the Media Library, will it edit the Alt Text in my posts?

Unfortunately, no. Once an image is inserted into a post, it’s “ hardcoded” along with its Alt Text. So you’ll need to edit the actual post or page itself.

If you add an Alt Text to the image in the media library (before it’s inserted into the post content), then it will be inserted with that Alt Text.

Heads up! If you’re using the Block Editor, and if you use the “ Image” block to insert an image and upload it directly into the block (Selecting an “ Image” Block and then clicking the “ Upload” button), it inserts the image and adds it to the media library before you can add the Alt Text. So you’ll end up inserting the image, adding the Alt Text in the sidebar in the editor, and later find that there’s no Alt Text set on the image in the media library!

The workaround for this is to select the image block, click “ Media Library” (instead of “ Upload” ), and then from the Media Library modal, click the “ Upload Files” tab, and upload the image there. Add the Alt Text after you upload the image, and then insert it into the post.

Does the CSV file list all of my images?

The plugin scans all of your post and page content – and should also pick up any other custom post types. However, it will not include images that are used in your theme, or any auto-generated usage (like archive pages) – and it may miss a few others here and there. We recommend you also look around your site and check the Alt Text on images outside of posts manually, or use a third-party scanning tool to make sure nothing was missed.

What features will you be adding in the future?

For our first release, we wanted to make a tool that would be immediately useful. We plan on expanding it soon, to include a more user-friendly interface for finding (and fixing) Alt Text. If you have feature ideas, please let us know!

What’s the difference between EMPTY and MISSING?

An empty (null) alt text, which is expressed like this in the code: alt="", we’ll note that they’re EMPTY. (This is generally considered the best practice for “ decorative” images.)

If the image has no alt attribute at all, then we’ll note that it’s MISSING.

I already entered Alt attributes, why are all my images listed?

The plugin attempts to find all the images that are actually used in your content, and then lists all of the images it finds, along with their corresponding Alt Text (or lack thereof) on each row in the spreadsheet. This way you can see which images have correct Alt attributes set, which are already compliant, and which may need to be improved.

For example, if you had previously entered Pinterest descriptions in the Alt Text field, with lots of hashtags (which is not how the Alt attribute should be used), you can scan through each row of the spreadsheet to identify and fix those.

The file never downloads?

Most sites will generate the file in about 10-20 seconds. On sites with a lot of content, it may take several minutes.

If you still don’t get the download file after waiting several minutes, ask your host to increase your PHP Memory Limit. In several cases, changing from 128MB to 512MB has solved this, but the actual limit necessary will depend on your site and your hosting.

To increase the memory limit yourself, try adding this to your wp-config.php file:

define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can also try changing the memory-limit line in PHP.ini:

memory_limit = 512M ;

You can also try adding this to your .htaccess file:

php_value memory_limit 512M

Reviews

ဒီဇင်ဘာ 15၊ 2021 1 reply
Can’t figure out how to be able to have all the image tags export in the CSV file. I love that this is a clean simple solution, so I feel like I am missing something. Please advise how to be able to see all images. I also wish I could just export the whole media file using this tool. It would make it so much easier. Then I could SEE the holes before the image gets placed. Is that possible?
ဖေ‌ဖော်ဝါရီ 16၊ 2021
Run away of those other “ automatic alt text” generators because that is not the way you must see SEO. This plugin is the professional way. Plus, the support from dev is awesome/quick, so what more do you want !?
ဩဂုတ် 5၊ 2020
I tried to install a lot of other plugins for filling missing alt text, but they are all costs a lot or have non-friendly functional. This plugin is very simple and very helpful and also free! 🙂
မေ 14၊ 2020 1 reply
Super easy to use! So nice to have all of the information in one place to easily go in and update, edit, and add where needed.
Read all 10 reviews

Contributors & Developers

“Alt Text Tools” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Alt Text Tools” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.2.0

  • First release.