Follow WCAG's Decorative Images for avatars
Summary
Even if an avatar is not next to it's username, alt
in the avatar is set as their username, which is not compliant to WCAG's Decorative Images.
What is the current bug behavior?
No matter whether an avatar is next to it's username, alt
in img
of the avatar is set as their username.
What is the expected correct behavior?
When an avatar is next to it's username, alt
in img
of the avatar should be ""
(blank) in this context according to WCAG's Decorative Images.
Relevant logs and/or screenshots
Set alt=""
to an avatar helper if the avatar is next to it's username.
Replaces #35157 (closed)