Commit 34cb3277 authored by Amy Qualls's avatar Amy Qualls

Fix alt tag on participant avatars

Participant avatars in merge requests used a generic alt tag
("user avatar") instead of the user's name, which meant screenreaders
repeated the phrase "user avatar" over and over, instead of useful
text.

Changelog: changed
parent 6ee2f48c
...@@ -111,6 +111,7 @@ export default { ...@@ -111,6 +111,7 @@ export default {
:img-src="participant.avatar_url || participant.avatarUrl" :img-src="participant.avatar_url || participant.avatarUrl"
:size="24" :size="24"
:tooltip-text="participant.name" :tooltip-text="participant.name"
:img-alt="participant.name"
css-classes="avatar-inline" css-classes="avatar-inline"
tooltip-placement="bottom" tooltip-placement="bottom"
/> />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment