> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# a11y-img-missing-alt

> An image has no alt text, so screen readers announce its file name or nothing.

## What it flags

An image has no alt text, so screen readers announce its file name or nothing.

## How to review or fix

For an image submit button, provide its action name, such as `alt="Search"`. A linked image-map area needs its destination described. For an ordinary image, review whether it is informative, which needs descriptive alt text, or decorative, which needs `alt=""`.

## Example from the editor

### Flagged example

```html theme={null}
<img src="logo.png">
```

### Possible rewrite

```html theme={null}
<img src="logo.png" alt="Company logo">
```

For an image submit button, describe its action, for example alt="Search". Reserve empty alt text for decorative images.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "a11y-img-missing-alt": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.