Open JessicaLucindaCheng opened 1 year ago
@hackforla/website-merge I need clarification on SVGs within image in this wiki article: https://github.com/hackforla/website/wiki/How-to-use-ARIA-labels-with-SVGs. 1) Why do we need to use aria-labels within an img tag? Can't we just use the alt attribute? 2) According to this wiki article, we need to edit each svg image that needs an aria-label. Could we do something like this: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/img_role instead for the External Resources images on the Toolkit page? So, the aria-label would be added to the div in the following code on pages/toolkit.html
<div class="toolkit-flex-item-img-container resource-svg-icons">
{% include {{ item.svg }} %}
</div>
3) If yes, to 2. Should I add that info/example into the wiki article?
Edit: I'm just going to directly edit the wiki article. See How to make SVGs and other images WCAG compliant wiki page for the edits
From Dev/PM meeting, I need to
@JessicaLucindaCheng - gonna put a Draft label on this until the wiki has been edited and you're ready for us to review
Dependencies
Overview
We need to make the Scalable Vector Graphics (SVGs) in the Toolkit webpage's External Resources section Web Content Accessibility Guidelines (WCAG) compliant so that we can achieve our mission of inclusivity.
Action Items
pages/toolkit.html
file.aria-label=""
if using ARIA labels oralt=""
attribute if usingimg
HTML tagsResources/Instructions