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.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 519 days ago
Is Empty Alt Image Container Swap abandoned?
Possibly abandoned (last update 519 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
This plugin enhances the accessibility of image blocks in the WordPress block editor by converting the wrapping Key features: 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 There are two ways to install the “Empty Alt Image Container Swap” plugin: Upload and Install Manually Install from WordPress.org Directory After activating the plugin through either method, it will automatically convert
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. tags to
– Converts tags to
– Hides captions for images with empty alt text on the frontend (output a warning to the editor)
– Works dynamically without modifying stored content
element is not appropriate.
By replacing tags with Installation
<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
Review feed
Screenshots
Changelog
1.1.0
1.0.4