Accessible names for image buttons (image-button)

Image buttons must have non-empty accessible names, using alt, aria-label, or aria-labelledby attributes.

Note: The aria-labelledby attribute must reference an existing element with accessible text. If the referenced ID does not exist, the accessible name is not computed and defaults to "Submit Query".

Missing reference:

This <input type="image"> element has an aria-labelledby attribute pointing to a non-existent element. As a result, the accessible name is not set and defaults to "Submit Query", which is not meaningful.


Note: Possible to implement because it can be programmatically detected when an <input type="image"> element has an aria-labelledby attribute referencing a non-existent ID.

axe detected: 1.1.1  |  QualWeb detected: 1.1.1