Add required alt to Picture example (#6074)

Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
This commit is contained in:
Bryce Russell 2023-01-31 19:28:14 -06:00 committed by Matthew Phillips
parent 6a4262f962
commit 4f5b224cda

View file

@ -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