summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bryce Russell <brycetrussell@gmail.com> 2023-01-31 19:28:14 -0600
committerGravatar GitHub <noreply@github.com> 2023-01-31 21:28:14 -0400
commite3e2498248386169e5b56405f7d19d380cbeb72d (patch)
tree2994b069014416eb4798ccb4e6fbff368ec4dc64
parent15f4d96b08caf3fd5db54aaef6255c8af7cbffd1 (diff)
downloadastro-e3e2498248386169e5b56405f7d19d380cbeb72d.tar.gz
astro-e3e2498248386169e5b56405f7d19d380cbeb72d.tar.zst
astro-e3e2498248386169e5b56405f7d19d380cbeb72d.zip
Add required `alt` to Picture example (#6074)
Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r--packages/integrations/image/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md
index 9b369f631..89fdbaba8 100644
--- a/packages/integrations/image/README.md
+++ b/packages/integrations/image/README.md
@@ -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