Skip to content

Consider accessibility label for group and project badges

The following discussion from gitlab-ce!20536 should be addressed:

We should explore how we would like to convey this control to users utilizing accessibility features.

Proposal

  • Let's add an additional field in the Badges settings section to define a "Badge label" as well. This will be added to the badge on project/group overview via aria-label. Default value when empty (and suffix): Project badge/Group badge
  • Additional form field description defines purpose/result of this field. Copy: "Add a label for improved accessibility"
  • Additional form field example adds a simple example use case. Copy: "e. g. Pipeline"

Solution

These are the designs with the new badge label. Please be aware that both group and project settings sections are identical.

Project/Group Badges settings
project-badges-label
Edited by 🤖 GitLab Bot 🤖