mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
A11Y: Include aria-label for avatar images in widgets (#13286)
This commit is contained in:
parent
5d2b836ae5
commit
78029fd913
@ -57,6 +57,7 @@ export function avatarImg(wanted, attrs) {
|
||||
height: size,
|
||||
src: getURLWithCDN(url),
|
||||
title,
|
||||
"aria-label": title,
|
||||
},
|
||||
className,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user