Mastodon: Setting to require alt text for image uploads.

Created on 31 May 2020  ·  8Comments  ·  Source: tootsuite/mastodon

Pitch

I propose that a setting be added for instance hosts to require image descriptions, alt text, from their users upon upload, as well as user settings to where they can toggle if they want to restrict image uploads without alt text.

Instance hosts could require image descriptions when uploading an image by way of alt text.

Users can set it so they are forced to add alt text for the images they upload.

Motivation

Even though Mastodon makes it very easy for people to add alt text, so few people do it.

The app, Toot, has this feature. I'd like it to be a platform wide setting for hosts and users.

Most helpful comment

I don't think this is a good idea cause people will type in garbage if they are forced to do so.

All 8 comments

I don't think this is a good idea cause people will type in garbage if they are forced to do so.

I think discussions have come up about this before. I saw someone who uses a screenreader give a mini-tutorial about image descriptions a while back and they basically said that unnecessary words is just a waste of time and attention, and that includes image descriptions where it's clear from context what the image is. Like, "Check out this adorable puppy I saw at the shops today!" and then a photo of a dog, the photo doesn't need an image description at all.

Someone could get around compulsory image descriptions by just putting a dot in the image description box, and I don't know if that would be inconvenient enough for people with screenreaders that they'd prefer to just have image descriptions optional - can anyone who uses a screenreader chip in?

Good points. Could we have a setting for users, not instance administrators, to just hide all images without alt text completely on a user level, not an admin level?

But if the above setting was never turned on by an instance administrator, nobody would have to do it.

How about the following?

  • Add a user setting they can toggle to require alt text when they upload pictures.
  • Have a setting where users can completely hide images without alt text in all timelines.

Why would you even want to hide all images without alternative text? This will only hurt users in the future¹ because they will be unaware about the context, that there is image attached to the post. Hiding posts with images with no alternative text is also harmful because it can simply empty timelines of many posts that have optional images.

Neither you should force users into filling out the descriptions, because they will then skip this step by typing out the garbage as pointed by people above and we already have enough garbage alternative texts, thanks to Pleroma that puts filenames in there.

Instead, what I think we can and should do, is to train and encourage users to fill alternative texts using, say, coachmark and linking the tutorial:

Screenshot of popup near Edit button for media attachment, suggesting user to learn more about alternative descriptions and add one

Concept image of idea I had for a long time.

Still optional, but may motivate more people to fill alternative texts. This idea however best be tracked in the other issue, I think.

1 — currently there is an unfixed issue where images without alternative texts don't have alt attribute at all, making these be skipped by screenreaders. The fix will be to have simple “Image” alternative text to make SR users aware of it.

I like your idea a lot. Could you link that issue?

I just got tired of seeing images without alt text so wanted a quick way to get rid of all of them when I felt like it. I wanted it more like a toggle, that users can toggle on and off. I know many screen reader users, apart from me, would willingly filter out inaccessible content, given the chance, important or not. I know I'd do it in a minute, if I could.

If I had the chance, I'd willingly do it. I know others would too. But, I really like your idea also. Could you link the other issue?

Why not just force to open edit description dialog after uploading an image?

Seems like the ideal UI behaviour would guide people to the right choice without imposing anything. Right now the description dialog is hard to see (via an "edit" link) and it's not clear that "edit" means "give it a description" rather than "edit this image" (eg. enhance, change contrast, shrink?).

The more obvious choice would be to have the "describe image" field appear automatically once you've added an image.

Then it could have text, eg: "Unless this image is already described by the text in your post, it should have a description for users with screen readers.

  • If you haven't entered any text, the confirm button changed to something like [Post Without Description]
  • Once you enter a description, button switches to [Post]

But already, just removing a step for the alt text would likely increase the use of it.

I approve with @byronalley completely.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phryk picture phryk  ·  3Comments

sorin-davidoi picture sorin-davidoi  ·  3Comments

flukejones picture flukejones  ·  3Comments

hugogameiro picture hugogameiro  ·  3Comments

thomaskuntzz picture thomaskuntzz  ·  3Comments