mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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,
|
height: size,
|
||||||
src: getURLWithCDN(url),
|
src: getURLWithCDN(url),
|
||||||
title,
|
title,
|
||||||
|
"aria-label": title,
|
||||||
},
|
},
|
||||||
className,
|
className,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user