- Issue created by @dcam
The Image Button element is missing an alt
attribute. My accessibility validator said it's a violation of WCAG 1.1.1, which is the section on providing text alternatives for non-text content.
I checked the ImageButton class to see if this is a core bug, but it isn't. #title
properties in an image_button
render array are entered into the alt
attribute. But the Style Guide's implementation doesn't have a #title
. For some reason it has a #name
instead.
Change the image button's #name
to a #title
.
Active
2.0
Code