Skip to content

Commit

Permalink
Add required alt to Picture example (#6074)
Browse files Browse the repository at this point in the history
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
  • Loading branch information
2 people authored and matthewp committed Feb 3, 2023
1 parent 6a4262f commit 4f5b224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ The list of sizes that should be built for responsive images. This is combined w

```astro
// 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
Expand Down

0 comments on commit 4f5b224

Please sign in to comment.