Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@astrojs/image] getPicture ignores alt #5510

Closed
1 task
truesri opened this issue Dec 1, 2022 · 0 comments · Fixed by #5521
Closed
1 task

[@astrojs/image] getPicture ignores alt #5510

truesri opened this issue Dec 1, 2022 · 0 comments · Fixed by #5521
Labels
pkg: image Related to the `@astrojs/image` package (scope)

Comments

@truesri
Copy link
Contributor

truesri commented Dec 1, 2022

What version of astro are you using?

1.6.12

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

Mac

Describe the Bug

https://docs.astro.build/en/guides/integrations-guide/image/#getpicture

The documentation says that getPicture takes in an object with the same properties as <Picture /> but I am unable to pass an object with the alt property.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-8vejxa?file=src%2Fpages%2Findex.astro&on=stackblitz

Participation

  • I am willing to submit a pull request for this issue.
@matthewp matthewp added the pkg: image Related to the `@astrojs/image` package (scope) label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: image Related to the `@astrojs/image` package (scope)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants