Add required alt
to Picture example (#6074)
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
This commit is contained in:
parent
6a4262f962
commit
4f5b224cda
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ The list of sizes that should be built for responsive images. This is combined w
|
||||||
|
|
||||||
```astro
|
```astro
|
||||||
// Builds three images: 400x400, 800x800, and 1200x1200
|
// Builds three images: 400x400, 800x800, and 1200x1200
|
||||||
<Picture src={...} widths={[400, 800, 1200]} aspectRatio="1:1" />
|
<Picture src={...} widths={[400, 800, 1200]} aspectRatio="1:1" alt="descriptive text" />
|
||||||
```
|
```
|
||||||
|
|
||||||
#### aspectRatio
|
#### aspectRatio
|
||||||
|
|
Loading…
Reference in a new issue