You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of our images currently have "image" as alt text. This text is relevant especially for screen reader users. We should give those users the same additional context and information like others.
Todo
check if it's possible to add aria-hidden to images via markdown - purely decorative images don't need an alt text for most screen readres
Important: Not all screen reader support aria-hidden, so the images still need an alt text
add valuable descriptions to images
The text was updated successfully, but these errors were encountered:
There is no way to provide aria-hidden to an md image tag indeed. However, if we use mdx, we can use an Image react component inline, which will have access to all props on the HTML img tag. It is more work, though, as the path to the static asset will only be correctly resolved if we import the asset in the mdx file (there might be another solution, but I have not come across it).
Description
Most of our images currently have "image" as alt text. This text is relevant especially for screen reader users. We should give those users the same additional context and information like others.
Todo
aria-hidden
to images via markdown - purely decorative images don't need an alt text for most screen readresThe text was updated successfully, but these errors were encountered: