Skip to content

Commit

Permalink
Add alt to Picture example
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceRussell committed Jan 31, 2023
1 parent 474ecc7 commit c063cce
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 c063cce

Please sign in to comment.