Skip to content

Alt text for author's avatar on Repository

What does this MR do and why?

Adding alt text to an avatar that is also a link. I decided to follow a common patter, already present in our application and set it to username's avatar, where a username is provided dynamically.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

There's no visible change, but you can see that the alt attribute is populated:

Screenshot_2023-11-01_at_18.27.22

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to Repository page
  2. Turn on a screen reader (on Mac, go to Settings > Accessibility and toggle VoiceOver)
  3. Tab through the Repository page and notice that last commit section's avatar reads out the author's name

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #417766 (closed)

Edited by Paulina Sedlak-Jakubowska

Merge request reports