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

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

diff --git a/app/assets/javascripts/discourse/app/widgets/post.js b/app/assets/javascripts/discourse/app/widgets/post.js
index c1330f4..42aee81 100644
--- a/app/assets/javascripts/discourse/app/widgets/post.js
+++ b/app/assets/javascripts/discourse/app/widgets/post.js
@@ -57,6 +57,7 @@ export function avatarImg(wanted, attrs) {
       height: size,
       src: getURLWithCDN(url),
       title,
+      "aria-label": title,
     },
     className,
   };

GitHub sha: 78029fd9

This commit appears in #13286 which was approved by eviltrout. It was merged by pmusaraj.