Skip to content

Avoid alt overflow when loading error of avatars

What does this MR do?

Fixes overflow of alt message in img of avatars when errors on loading these avatar images.

Are there points in the code the reviewer needs to double check?

No.

Integration of .avatar and .avatar-container in CSS can be considered, but it is out of scope of this MR.

Why was this MR needed?

Overlapping alt of avatar on other content is a bad UX in visual and in accessibility, and so should be improved.

Screenshots (if relevant)

before after
avatar-overflow-before avatar-overflow-after
from #35157 (closed) -

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #35157 (closed)

Edited by username-removed-100770

Merge request reports