Skip to content

Hidden group avatars without labels appear in accessibility tree on News Feed #52

@MartinPaulEve

Description

@MartinPaulEve

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:

  1. Remove the links and their avatars entirely
  2. Add a title attribute to the links
  3. Add an aria-label attribute to the links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions