Skip to content

Error · input-image-alt

Image buttons without a name

Lighthouse / axe call it: Image buttons must have alternate text · <input type="image"> elements do not have [alt] text

A button made of an image (search, submit) is announced as "button" with no purpose.

Who it leaves out: blind people (screen readers)🔎 also SEO

How to fix it

Give each image button a short name, like "Search". Code included.

In the code

Give the <input type="image"> an alt="…" that says what the button does (e.g. alt="Search").

Our scanner writes and tests this correction for you.

Don't want to fix this by hand, element by element?

Enter your address. In about a minute you get every failure on the page explained, and the corrected code, already tested in a browser, for each element we can fix. Free, no account.

One more chance: free scan · no account

The full report covers the pages that matter (checkout, cart, contact) and every fix, for $15 once or with monitoring.

Related errors

Automated testing covers roughly half of WCAG criteria; a full conformance claim also requires manual review. Technical information, not legal advice.