accessiblecommunity / accessiblecommunity.github.io

Main website
0 stars 0 forks source link

Use role="img" in place of alt="" for SVGs. #294

Closed alexisreytech closed 2 months ago

alexisreytech commented 2 months ago

Fixes #282

@brian-montgomery, let me know if you run into any problems with this pull request, but I was able to successfully remove the alt attribute and use role="img" for the SVGs that weren't already using it.

alexisreytech commented 2 months ago

@brian-montgomery, thanks! I think there's actually a few other places where I can make this same change, so I will do so.

alexisreytech commented 2 months ago

@brian-montgomery, no problem. I'm glad it worked too. I merged 'main' into this branch, so now it should be ok to merge.