alt text overflow when error in loading avatar
Summary
alt
text of img for avatar is always overflow when loading avatar image is failed (rare, but often if infra/network is unstable).
Steps to reproduce
- Access to any page which contains avatar (e.g., https://gitlab.com/gitlab-org/gitlab-ce/commits/master) in your browser. This overflow only occurs when infra and/or network are not stable.
What is the current bug behavior?
alt
text is overflowed from the avatar element and wraps other main content.
What is the expected correct behavior?
Overflowed alt
text should be hidden. Or alt
itself should be ""
(blank) in this context according to WCAG's Decorative Images.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
Add overflow: hidden
to corresponding class in CSS. Or just set alt=""
to the avatar helper.