Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Avatar alt text does not fit in avatar available space

+0
−0

On a slow connection the user avatar may not immediately be available. When it has not yet finished loading there is placeholder text displayed instead (the alt text for the image). However, at the specified font size this does not fit into the space allocated for the avatar, resulting in it overflowing into the Categories bar (screenshot from mobile):

Codidact on mobile showing the user avatar alt text

This is rare to see unless the connection is very slow (I saw this while travelling by train with very low / intermittent mobile signal).

Possible solutions

I don't know the best way to deal with this (or if it even needs dealing with), but the ideas that come to mind are:

  • Decrease the font size so that the word "avatar" no longer needs to wrap mid-word
  • Make the alt text a single letter (perhaps the first letter of the username) and increase the font size so that the letter fills most of the space allocated for the avatar, like a substitute avatar. Even if the real avatar contains transparency, the letter will not show through as the browser will remove the alt text once the image becomes available
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

0 answers

Sign up to answer this question »