Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Block Directory: Use the block's title for alt text on block directory plugin items. #19263
We currently have a less than useful placeholder text ( 'block icon' ) for the icon that is associated to the block directory plugin. This PR grabs the blocks title, which cannot be blank, localizes it and adds it as the alt text.
This suggestion was spun out of a PR that was accepted and closed. See here:
I considered removing the alt tag altogether but this image feels more like content than something ornamental. (ref: https://make.wordpress.org/core/handbook/best-practices/coding-standards/accessibility-coding-standards/)
How has this been tested?
The only applicable test is to inspect the
Types of changes