New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility: Impose a limit on the length of alt text #12268
Comments
It's not like all users are using the full 1500 characters for their alt text. I don't think we should lower the limit as it might be needed for a select few graphics. Also if we impose a software limit on the number of characters and prevent any more from being shared, what happens to older images using more than 420 characters for alt? Are they removed from federation for breaking protocol? Will the remaining characters simply not show up. If so this is a breaking changes that breaks old content. |
The point is that any alt text longer than say 420 characters is unusable by most people that need it. |
|
@ZoeBijl Instance owners can adjust the limits, Mastodon Project adjusting an arbitrary limit would have little effect unless all instance owners accept the change. |
I don' t think there are too many users entering 1500 character alt text. Still, I think that 420 characters is totally reasonable as upper limit. If it is much longer than that then probably other strategies would be better. The W3C has some info on this https://www.w3.org/WAI/tutorials/images/complex/ |
Pitch
Set and communicate a character limit for alt text. The current limit of 1500 characters is too long. Twitter has a more sensible limit of 420 characters.
Motivation
420 characters is a lot of text. Screen readers will read the entire alt text in one go. Meaning users can’t navigate it word by word. If you need more than 420 characters you should consider a transcript.
This entire comment is exactly 420 characters.
The text was updated successfully, but these errors were encountered: