Image inputs (<input type="image">) must have alternate text describing the button action
text-alternatives/input-image-alt · WCAG 1.1.1, WCAG 4.1.2 · Level A
Image inputs (<input type="image">) must have alternate text describing the button action.
Image buttons (<input type='image'>) act as submit buttons with a custom image. Add alt text via alt, aria-label, or aria-labelledby that describes the action (e.g. alt='Search' or alt='Submit order'), not the image itself. Without it, screen readers announce only 'image' or the filename, giving no clue what the button does.
Scan a page or repo for issues like this · All rules
Introduced in @accesslint/core v0.8.0