Open krowvin opened 1 month ago
To meet 508 compliance we could create an \<Image> component that we can then set the
aria-label and alt - as well as exposing various sizes to help users manage their image tags.
aria-label
alt
if a user doesn't provide one of these we will set them based on the image name or something else, maybe throw an error even to make sure it's set?
This is tricky.
I haven't found any examples where alt and aria-label are to be used at the same time.
https://www.section508.gov/content/guide-accessible-web-design-development/#images
To meet 508 compliance we could create an \<Image> component that we can then set the
aria-label
andalt
- as well as exposing various sizes to help users manage their image tags.if a user doesn't provide one of these we will set them based on the image name or something else, maybe throw an error even to make sure it's set?