Replies: 1 comment
-
Welp sorry, duplace of #315 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For accessibility reasons every image element should have an alternative text.
There are multiple code analyzer tools enforcing this, for example htmlhint, angular-eslint and eslint-plugin-vue-accessibility. It would be better if developers saw errors without using one of these (or other) tools and got an error directly from the image component.
For reference, the image component for NextJS and astro requires the alt text. Quotes from their docs:
https://nextjs.org/blog/next-13#nextimage
https://astro.build/blog/images/
What do you guys think about this change?
Beta Was this translation helpful? Give feedback.
All reactions