Image button has no alt text

  • WCAG 1.1.1 Non-text Content, level A
  • Critical
  • Images
  • Automated
  • Server pass

Why it matters

An <input type="image"> is a button made from a picture. Without alt text a screen reader cannot say what the button does.

How to fix it

Add an alt attribute that names the action, such as "Search" or "Send message".

<!-- Before -->
<input type="image" src="go.png">

<!-- After -->
<input type="image" src="go.png" alt="Search">

Read the W3C guidance: Understanding 1.1.1 Non-text Content.

Related rules

Find this on your own site. A11yMate scans every page and lists where it happens. See pricing or browse all rules.