Closed mwllr closed 3 years ago
Sent a note to Keith
This is concerning https://github.com/web-illinois/toolkit/issues/132
The social media links don’t have ARIA labels, but they do have text inside the links that refer to the social media platform. These are hidden using the overflow, so they should be available to screen readers. Based on this, do we need ARIA labels, or would that be extra noise? Thanks.
If there is text content in the link, then adding ARIA labels would be redundant. That being said, an ARIA label on a link will cause any text inside that link to be ignored, so it won't cause an issue. Note that text added via the CSS content element is not reliably read, so it would be better to use the ARIA label instead.
In the code snippet above I don't see where there is any text--is it down in the shadow dom?
Ah -- yeah, I think that was an old version. Basically, whatever the person puts in the slot is what we're going to put into the footer. Here is how it currently looks at https://cdn.brand.illinois.edu/toolkit/dev/examples/components/footer/default/index.html
If this looks OK, I'll close this ticket. Thanks.
That code looks good to me. I second that we close the issue.
The social media icons do not have an aria label which makes them blank.... Please tag Keith if possible.