A11Y: Include aria-label for avatar images in widgets (#13286)
This commit is contained in:
parent
5d2b836ae5
commit
78029fd913
app/assets/javascripts/discourse/app/widgets
|
@ -57,6 +57,7 @@ export function avatarImg(wanted, attrs) {
|
|||
height: size,
|
||||
src: getURLWithCDN(url),
|
||||
title,
|
||||
"aria-label": title,
|
||||
},
|
||||
className,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue