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