Empty Alt Image Container Swap WordPress Plugin | Codefreex Skip to content
Empty Alt Image Container Swap icon

WordPress plugin

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.

By Akari Doi
Version
1.1.1
Last updated
May 24, 2026
Tested up to
WordPress 7.0.9
Requires
WP 5.0

Health check

Is Empty Alt Image Container Swap safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Updated within the last year

Last updated on May 24, 2026. Test it on a staging copy before relying on it.

Not yet tested with the latest WordPress

Tested up to WordPress 7.0.9. It often still works, but check on staging first.

Rank tracker

Where Empty Alt Image Container Swap ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Empty Alt Image Container Swap
KeywordPositionChangeTrendCurrent #1
accessibility(WordPress.org search, opens in a new tab)Not in top 100First checkWP Accessibility60K+ installs
alt text(WordPress.org search, opens in a new tab)Not in top 100First checkImage Alt Text10K+ installs
div(WordPress.org search, opens in a new tab)Not in top 100First checkWP-PageNavi400K+ installs
figure(WordPress.org search, opens in a new tab)Not in top 100First checkForminator Forms – Contact Form, Payment Form & Custom Form Builder600K+ installs
images(WordPress.org search, opens in a new tab)Not in top 100First checkWP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance1M+ installs
empty alt image(WordPress.org search, opens in a new tab)Not in top 100First checkImage Alt Text10K+ installs

Checked against the top 100 WordPress.org search results on .

Overview

What Empty Alt Image Container Swap does

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.

– 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.

Description from the author's listing. Read the full listing on WordPress.org

FAQ

Empty Alt Image Container Swap: questions and answers

What is Empty Alt Image Container Swap?

Empty Alt Image Container Swap is a WordPress plugin by Akari Doi. This plugin improves accessibility by converting figure tags to div tags for image blocks with missing alt text and hides captions for these images.

Is Empty Alt Image Container Swap free?

Empty Alt Image Container Swap is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

Is Empty Alt Image Container Swap still maintained?

Empty Alt Image Container Swap was last updated on May 24, 2026. The current version is 1.1.1. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Empty Alt Image Container Swap require?

Empty Alt Image Container Swap requires WordPress 5.0 or newer. It has been tested up to WordPress 7.0.9.

Can Codefreex set up or customize Empty Alt Image Container Swap?

Yes. Codefreex installs, configures and customizes WordPress plugins including Empty Alt Image Container Swap, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Empty Alt Image Container Swap set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us