Moved from MESH-Research/knowledge-commons-profiles#377 (originally by @gmeben)
Area of site: News Feed
URL: https://hcommons-staging.org/activity/
Description
There are group avatar images that reside in activity log messages for groups. These images are hidden but they are nested within anchor tags (<a>) with hyperlinks to the groups. These links appear within the accessibility tree of the document, which means they appear as interactive elements to people using assistive tech to browse the page. Because the images are hidden, the links are considered to not have discernible text.
Recommendations
Any one of these should fix the issue:
- Remove the links and their avatars entirely
- Add a
title attribute to the links
- Add an
aria-label attribute to the links
Moved from MESH-Research/knowledge-commons-profiles#377 (originally by @gmeben)
Area of site: News Feed
URL: https://hcommons-staging.org/activity/
Description
There are group avatar images that reside in activity log messages for groups. These images are hidden but they are nested within anchor tags (
<a>) with hyperlinks to the groups. These links appear within the accessibility tree of the document, which means they appear as interactive elements to people using assistive tech to browse the page. Because the images are hidden, the links are considered to not have discernible text.Recommendations
Any one of these should fix the issue:
titleattribute to the linksaria-labelattribute to the links