WCAG 2.1 H36: Require alt text on images used as submit buttons (wcag/h36
)
WCAG 2.1 technique H36 requires all images used as submit buttons to have a
textual description using the alt
attribute. The text must indicate the
buttons function but not describe the image.
Rule details
Examples of incorrect code for this rule:
<a><img src="cat.gif"></a>
Examples of correct code for this rule:
<a>lorem ipsum</a>
<a><img src="cat.gif" alt="cat page"></a>