A11Y: Include aria-label for avatar images in widgets (#13286)

This commit is contained in:
Penar Musaraj 2021-06-04 13:26:08 -04:00 committed by GitHub
parent 5d2b836ae5
commit 78029fd913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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,
}; };