In short
<input type="image"> is a submit button made from an image. Without alt text, screen readers can't say what it does. Add alt text that describes the action, not the picture: "Search," not "magnifying glass." Weight 10. A plain <button> with an SVG and aria-label is usually a better choice today.
<input type="image" src="/icons/search.svg" alt="Search">
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Lighthouse accessibility score
MDN, input type="image"

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.
![<input type="image"> Elements Do Not Have [alt] Text (PageSpeed Insights)](/uploads/pagespeed-input-image-alt-cover.webp)


