Empty alt="" for the Featured Image block #57893
Labels
[Block] Post Featured Image
Affects the Post Featured Image Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
In the current implementation of the Featured Image block, there is no option to leave the alt attribute empty (alt=""). This can be a problem in cases where the image is purely decorative and does not contain information that is useful to the understanding of the webpage. In these cases, an empty alt text should be provided (alt="") so screen readers can ignore the image.
What is your proposed solution?
Users should have the ability to assign an empty alt attribute when adding a Featured Image block. If the alt attribute is assigned as empty, the HTML output should reflect alt="".
The text was updated successfully, but these errors were encountered: