BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Empty Alt Image Container Swap icon
Maintained Tested up to 7.0.6

Empty Alt Image Container Swap

This plugin improves accessibility by converting figure tags to div tags for image blocks with missing alt text and hides captions for these images.

Active installs<10New
Downloads · 30d45▼ -13.5% vs prev. 30d
Rating—0 reviews
Health score49/100Fair
All-time downloads1.4KSince Jul 2024
Support resolved—No recent threads
RequiresWP 5.0PHP any
Downloads · 7d11▼ -15.4% week over week
Our verdict

Use with caution

Empty Alt Image Container Swap works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

123Jul 7Aug 20Oct 4
Yesterday2
Daily average (1y)1
Peak day31May 24, 2026
Last 12 months457

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Empty Alt Image Container S… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
accessibility >100 3,391 Best accessibility plugins →
Alt Text >100 1,972 Best Alt Text plugins →
div >100 1,762 Best div plugins →
figure >100 966 Best figure plugins →
images >100 10,000 Best images plugins →

About Empty Alt Image Container Swap

From the official readme · v1.1.1

Description

This plugin enhances the accessibility of image blocks in the WordPress block editor by converting the wrapping <figure> tags to <div> tags when the image has an empty alt attribute. Additionally, it hides the caption for images with empty alt text on the frontend.

Key features:
– Converts <figure> tags to <div> tags for images with empty alt text
– Hides captions for images with empty alt text on the frontend (output a warning to the editor)
– Works dynamically without modifying stored content

Images that are purely decorative and lack an alt attribute do not contribute directly to the understanding of the content, and therefore, wrapping them in a <figure> element is not appropriate.
By replacing <figure> tags with <div> tags for images missing alt text, this plugin ensures proper HTML semantics. <div> elements are generic containers without implicit meaning, making them suitable for presenting images without associated descriptions.

Installation

There are two ways to install the “Empty Alt Image Container Swap” plugin:

  1. Upload and Install Manually

    1. Download the plugin ZIP file to your computer.
    2. Log in to your WordPress admin dashboard.
    3. Navigate to Plugins > Add New > Upload Plugin.
    4. Click “Choose File” and select the downloaded ZIP file.
    5. Click “Install Now” to upload and install the plugin.
    6. Once installed, click “Activate Plugin” to activate it.
  2. Install from WordPress.org Directory

    1. Log in to your WordPress admin dashboard.
    2. Navigate to Plugins > Add New.
    3. Search for “Empty Alt Image Container Swap” in the search field.
    4. Find the plugin in the results and click “Install Now”.
    5. Once installed, click “Activate Plugin” to activate it.

After activating the plugin through either method, it will automatically convert <figure> tags to <div> tags for image blocks with missing alt text when rendering pages. No further configuration is required.
For best accessibility practices, it’s recommended to provide descriptive alt text for all images. However, if you forget or choose not to add alt text for certain images, this plugin ensures proper markup by using <div> containers instead of <figure>.

Frequently asked questions

What happens if I deactivate the plugin?

When you deactivate the plugin, all image blocks will immediately revert to their original state. The plugin does not make any permanent changes to your content, so you don’t need to update or edit anything after deactivation.

Why are captions hidden for images with empty alt text?

Captions are typically used to provide additional context or information about an image. For decorative images (those with empty alt text), captions are usually unnecessary and may even cause confusion, which is why they are hidden.

Can I still add captions to images with empty alt text in the editor?

Yes, you can still add captions to images with empty alt text in the editor. However, these captions will not be displayed on the frontend while the plugin is active.

Does this plugin modify my database or stored content?

No, this plugin does not make any changes to your database or stored content. It works dynamically when pages are rendered, which means your original content remains intact.

Changelog

This update adds the ability to hide captions for images with empty alt text and improves the plugin's performance. The plugin now works dynamically, ensuring your original content remains unchanged.

1.1.1

  • Fixed JavaScript translations not working by adding wp_set_script_translations()
  • Tested up to WordPress 7.0

1.1.0

  • Added feature to hide captions for images with empty alt text on the frontend
  • Improved code for handling empty alt text cases
  • Updated plugin to work dynamically without modifying stored content

1.0.4

  • Initial release

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Empty Alt Image Container Swap alternatives

All accessibility plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Web Accessibility (formally known as Ally) – WCAG Scanning, Guided Fixes, Usability Widget Web Accessibility (formally known as Ally) Web Accessibility (formally known as Ally) is a free, powerful, and user-friendly plugin… by Elementor 500K+ ★★★★★★★★★★ 2.9 (162) 1 month ago 63
2 Auto Image Attributes From Filename With Bulk Updater (Add Alt Text, Image Title For Image SEO) Auto Image Attributes From Filename With Bulk Updater (Add… Automatically add Image Alt Text, Title, Caption and Description from Filename. Bulk update… by Arun Basil Lal 100K+ ★★★★★★★★★★ 4.8 (93) 1 month ago 91
3 Accessibility by UserWay Accessibility by UserWay UserWay’s Accessibility Widget creates a simpler and more accessible browsing experience… by UserWay 80K+ ★★★★★★★★★★ 4 (57) 10 months ago 59
4 WP Accessibility WP Accessibility WP Accessibility fixes common accessibility issues in your WordPress site. by Joe Dolson 60K+ ★★★★★★★★★★ 4.8 (68) 2 days ago 94
5 Infinity23 (Formerly Tag Manager) – One Plugin That Replaces All The Rest Infinity23 (Formerly Tag Manager) All in one WordPress plugin - accessibility, tag manager, notes, floating contact buttons… by YYDevelopment 20K+ ★★★★★★★★★★ 4.7 (53) 1 week ago 89
6 Alt Text AI – Automatically generate image alt text for SEO and accessibility Alt Text AI Automatically sets the descriptive alt text of your images. Boosts your SEO and… by alttextai 20K+ ★★★★★★★★★★ 4.7 (35) 3 days ago 89
7 My Calendar – Accessible Event Manager My Calendar – Accessible Event Manager Accessible WordPress event calendar plugin. Manage single or recurring events, event… by Joe Dolson 20K+ ★★★★★★★★★★ 4.7 (159) 3 days ago 88
8 Dark Mode – Improve Accessibility with AI Powered Dark Theme Dark Mode – Improve Accessibility with AI Powered Dark Theme Enable dark mode on WordPress without any coding. Improve site accessibility with a… by WPPOOL 20K+ ★★★★★★★★★★ 4.5 (390) 6 days ago 92
9 AccessibleWP – Accessibility Toolbar AccessibleWP – Accessibility Toolbar Add a professional accessibility toolbar to your WordPress site and make it easier for… by UserWay 20K+ ★★★★★★★★★★ 4.5 (47) 2 years ago 45
10 SimpleTOC – Table of Contents Block SimpleTOC – Table of Contents Block SEO-friendly Table of Contents Gutenberg block. No JavaScript or CSS by default. by Marc Tönsing 10K+ ★★★★★★★★★★ 4.9 (77) 2 days ago 79

FAQ

Empty Alt Image Container Swap: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 5, 2026

Is Empty Alt Image Container Swap free?

Yes. Empty Alt Image Container Swap is free to download and use from the official WordPress.org plugin directory.

Is Empty Alt Image Container Swap safe to use in 2026?

Empty Alt Image Container Swap works, but test it on a staging site before relying on it in 2026. Was last updated 4 months ago, and scores 49/100 on our health check.

How many websites use Empty Alt Image Container Swap?

Empty Alt Image Container Swap is active on <10 WordPress websites and has been downloaded 1,399 times since it launched in July 2024. It was downloaded 45 times in the last 30 days.

Does Empty Alt Image Container Swap work with WordPress 7.1?

Empty Alt Image Container Swap is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

When was Empty Alt Image Container Swap last updated?

The latest version, 1.1.1, was released on May 24, 2026 (4 months ago).

Who makes Empty Alt Image Container Swap?

Empty Alt Image Container Swap is developed and maintained by Akari Doi.

What are the best alternatives to Empty Alt Image Container Swap?

The most popular alternatives to Empty Alt Image Container Swap are Web Accessibility (formally… (500K+ installs), Auto Image Attributes From… (100K+ installs) and Accessibility by UserWay (80K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.