Update assignee and reviewer avatar content accessibility
What does this MR do and why?
- Expose "Cannot merge" content to screen readers with
aria-label - Hide duplicate content bound with
alttoGlAvatar - Update shadow color to use design token value
- Update spec test find method to use component find instead of CSS class
References
Discussion: gitlab-org/gitlab-services/design.gitlab.com#1642 (comment 2632277649)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Update project MR settings to set rules for merging https://gdk.test:3443/flightjs/Flight/-/settings/merge_requests
- In "Merge request approvals" set rule for root user only to merge, all other will be "Cannot merge"
- View MR with assignees and reviewer who can and cannot merge
- Also view issue with same reviewers to ensure links also work there
- Validate assignee and reviewer links read with "(link) Username" or "(link) Cannot merge Username"
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

