---
title: "Image button has no alt text (a11y/input-image-alt)"
description: "a11y/input-image-alt: An image button without alt text is announced by its file name or not at all, so screen-reader users cannot tell what it submits."
canonical: https://void-design.vercel.app/rules/a11y/input-image-alt
lastModified: 2026-09-16
---

# Image button has no alt text

`a11y/input-image-alt` · severity **error** · category Accessibility · detected by `void a11y` and `void audit`

## Why it matters

An image button without alt text is announced by its file name or not at all, so screen-reader users cannot tell what it submits.

## How to fix it

Add alt text that describes the action (not the picture).

## Example

```
<input type="image" src="/search.svg" alt="Search">
```

## References

- https://dequeuniversity.com/rules/axe/4.13/input-image-alt

## More accessibility rules

`void a11y` reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.

- `link-name` Link has no accessible name — [a11y/link-name](https://void-design.vercel.app/rules/a11y/link-name)
- `label` Form field has no label — [a11y/label](https://void-design.vercel.app/rules/a11y/label)
- `select-name` Select element has no accessible name — [a11y/select-name](https://void-design.vercel.app/rules/a11y/select-name)
- `input-button-name` Input button has no accessible name — [a11y/input-button-name](https://void-design.vercel.app/rules/a11y/input-button-name)
- `html-has-lang` <html> has no lang attribute — [a11y/html-has-lang](https://void-design.vercel.app/rules/a11y/html-has-lang)
- `html-lang-valid` <html lang> is not a valid language tag — [a11y/html-lang-valid](https://void-design.vercel.app/rules/a11y/html-lang-valid)
- `document-title` Page has no <title> — [a11y/document-title](https://void-design.vercel.app/rules/a11y/document-title)
- `landmark-one-main` Page has no <main> landmark — [a11y/landmark-one-main](https://void-design.vercel.app/rules/a11y/landmark-one-main)

Detected by `void a11y` and `void audit`. Explain it in a terminal: `void rules a11y/input-image-alt`
