Plugin Directory

Changeset 3125833


Ignore:
Timestamp:
07/26/2024 09:40:25 AM (20 months ago)
Author:
akari_doi
Message:

Update to version 1.0.1 from GitHub

Location:
empty-alt-image-container-swap
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • empty-alt-image-container-swap/tags/1.0.1/readme.txt

    r3125814 r3125833  
    11=== Empty Alt Image Container Swap ===
    22
    3 Contributors: Akari Doi
     3Contributors: akari_doi
     4Author: akari_doi
    45Tags: images, accessibility, alt text, figure, div
    56Requires at least: 5.0
     
    910License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1011
    11 == Short Description ==
    1212This plugin improves accessibility by converting figure tags to div tags for image blocks with missing alt text.
    1313
    1414== Description ==
    15 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.
    16 The <figure> element is typically used to provide a description of its content, especially for images. However, when an image lacks alternative text (alt text) that describes its content, wrapping it in a <figure> element can be semantically incorrect because the figure lacks a description of its content.
    17 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.
     15This 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.
     16The `<figure>` element is typically used to provide a description of its content, especially for images. However, when an image lacks alternative text (alt text) that describes its content, wrapping it in a `<figure>` element can be semantically incorrect because the figure lacks a description of its content.
     17By 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.
    1818In summary, this lightweight plugin dynamically adjusts the markup of image blocks based on the presence of alt text, thereby enhancing their accessibility.
    1919
     
    3838    5. Once installed, click "Activate Plugin" to activate it.
    3939
    40 After activating the plugin through either method, it will automatically convert <figure> tags to <div> tags for image blocks with missing alt text when using the block editor. No further configuration is required.
    41 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>.
     40After activating the plugin through either method, it will automatically convert `<figure>` tags to `<div>` tags for image blocks with missing alt text when using the block editor. No further configuration is required.
     41For 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>`.
    4242
    4343== Frequently Asked Questions ==
     
    4545= What happens if I deactivate the plugin? =
    4646
    47 When you deactivate the plugin, image blocks that were using <div> tags due to missing alt text will not automatically revert to using <figure> tags. You may need to manually update these image blocks if necessary to maintain your preferred markup.
     47When you deactivate the plugin, image blocks that were using `<div>` tags due to missing alt text will not automatically revert to using `<figure>` tags. You may need to manually update these image blocks if necessary to maintain your preferred markup.
  • empty-alt-image-container-swap/trunk/readme.txt

    r3125814 r3125833  
    11=== Empty Alt Image Container Swap ===
    22
    3 Contributors: Akari Doi
     3Contributors: akari_doi
     4Author: akari_doi
    45Tags: images, accessibility, alt text, figure, div
    56Requires at least: 5.0
     
    910License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1011
    11 == Short Description ==
    1212This plugin improves accessibility by converting figure tags to div tags for image blocks with missing alt text.
    1313
    1414== Description ==
    15 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.
    16 The <figure> element is typically used to provide a description of its content, especially for images. However, when an image lacks alternative text (alt text) that describes its content, wrapping it in a <figure> element can be semantically incorrect because the figure lacks a description of its content.
    17 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.
     15This 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.
     16The `<figure>` element is typically used to provide a description of its content, especially for images. However, when an image lacks alternative text (alt text) that describes its content, wrapping it in a `<figure>` element can be semantically incorrect because the figure lacks a description of its content.
     17By 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.
    1818In summary, this lightweight plugin dynamically adjusts the markup of image blocks based on the presence of alt text, thereby enhancing their accessibility.
    1919
     
    3838    5. Once installed, click "Activate Plugin" to activate it.
    3939
    40 After activating the plugin through either method, it will automatically convert <figure> tags to <div> tags for image blocks with missing alt text when using the block editor. No further configuration is required.
    41 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>.
     40After activating the plugin through either method, it will automatically convert `<figure>` tags to `<div>` tags for image blocks with missing alt text when using the block editor. No further configuration is required.
     41For 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>`.
    4242
    4343== Frequently Asked Questions ==
     
    4545= What happens if I deactivate the plugin? =
    4646
    47 When you deactivate the plugin, image blocks that were using <div> tags due to missing alt text will not automatically revert to using <figure> tags. You may need to manually update these image blocks if necessary to maintain your preferred markup.
     47When you deactivate the plugin, image blocks that were using `<div>` tags due to missing alt text will not automatically revert to using `<figure>` tags. You may need to manually update these image blocks if necessary to maintain your preferred markup.
Note: See TracChangeset for help on using the changeset viewer.