Inconsistent image block behavior with alt tags #28654
Labels
[Block] Image
Affects the Image Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Accessibility Feedback
Need input from accessibility
Description
When we select the image the alt tag is pulled from the media library. In the image options this can be changed.
But the problem is that this change is not reflected in the media library, and you can have many different alt tag descriptions for the same image. Which seems a bit odd to me, no?
Step-by-step reproduction instructions
Screen.Recording.2021-02-02.at.11.10.36.mov
Expected behavior
Changing the alt tag in the options of the image component should update the alt tag in the media as well.
Actual behavior
This doesn't happen. Updating the options saves the alt tag just as an image alt in the editor. Alt tag set in the media library is stored in the postmeta under
_wp_attachment_image_alt
meta key.Screenshots or screen recording (optional)
See above.
WordPress information
Device information
The text was updated successfully, but these errors were encountered: