> ## 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-media-autoplay

> A video or audio element plays on its own with sound, so it talks over screen readers.

## What it flags

A video or audio element plays on its own with sound, so it talks over screen readers.

## How to review or fix

Review whether the media needs to start itself. Remove `autoplay`, or add `muted` or visible `controls`.

For static HTML media with usable controls, `loadwise a11y --include-contextual --json` can show a review edit that removes only the `autoplay` attribute. Apply after review with `loadwise a11y --fix --only <id>`.

## Configuration

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

```json theme={null}
{
  "rules": { "a11y-media-autoplay": "off" }
}
```


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