Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore authored Apr 15, 2022
1 parent 92303a0 commit 821e629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messages/alt-must-be-an-empty-string.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `alt` must be an empty string

`<PrismicImage>` allows the the `alt` HTML attribute to be configured using two props: `alt` and `fallbackAlt`.
`<PrismicImage>` allows the `alt` HTML attribute to be configured using two props: `alt` and `fallbackAlt`.

Both `alt` and `fallbackAlt` can only be used to [declare an image as decorative][mdn-alt-decorative-image] by pasing an empty string. You may not pass arbitrary alternative text to the `alt` prop.

Expand Down

0 comments on commit 821e629

Please sign in to comment.