Closed milofultz closed 11 months ago
@leekahung I believe this is ready for you to approve now - so merging is possible.
Yeah, I'm mostly fine with this. Although I've notice the image
alts
forHomeSection
are all empty now compared to before. Won't it be necessary for accessibility?
I went with the info about decorative/informative images from W3 (see example 4 in decorative as that's what I thought it fell under). It was a judgment call that I decided they were decorative since I'm not sure they contribute to the content. Happy to hear otherwise, it's a tough call.
I went with the info about decorative/informative images from W3 (see example 4 in decorative as that's what I thought it fell under). It was a judgment call that I decided they were decorative since I'm not sure they contribute to the content. Happy to hear otherwise, it's a tough call.
Ah, I see. Well, considering that the section title follows immediately after the images, I think it should be fine even if the image themselves break. Alright, I'll approve this.
Hey @milofultz. Was planning to merge this branch in after resolving a merge conflict for one of the test files.
Unfortunately, the resolution I've attempted to make seemed to have failed the test. I think you'll be able to fix it from your end (sorry for the inconvinence). If the test gets fixed, let me know, I'll have this merged into Development
.
Thanks!
@leekahung Should be good to go now 👍
This PR:
Improves accessible name for images on home page.
1. Adds context for all logo images 2. Removes unnecessary
aria-label
s 3. Mark decorative (non-informative images) as such using an emptyalt
attributeThe files this PR effects:
Components
Tests
Screenshots (if applicable):
Should be no difference visually.
Additional Context (optional):
Following guidance around decorative/informative images from W3. Verified using this extension and DevTools.