Email or username:

Password:

Forgot your password?
Darius Kazemi

Finally added a #Hometown feature I have wanted for a long time. Media in a timeline that lacks alt text now has a little warning icon in the lower left (shown here with mouseover text).

This is a quick signal to help people (like me) who do not boost media without alt text. It also makes images that don't have alt text... slightly uglier heheheh :AngelDevil:

github.com/hometown-fork/homet

A screenshot of a post on the Hometown timeline. It is a post with an image in it, and there is a new icon in the lower left with an exclamation mark. Mouseover text for the exclamation mark is "No alt text was provided for this image."
33 comments
mcc

@darius What amazes me here is this is the opposite of the current Twitter behavior, which punishes you for putting alt text in an image by defacing it with a small tag

Paul-Gabriel Wiener

@darius Mostly I like this. But sometimes I don't include alt text because the image is described in the toot itself.

Darius Kazemi

@WearsHats That's fine. The icon is just there to say there is no alt text, which is true even if you describe the image in the post itself. A human looking at it, like me, would go "oh it has a description, I'll boost it anyway"

Paul-Gabriel Wiener

@darius I get that. As you say, though, it partially obscures the image.

Darius Kazemi

@WearsHats yup. In general it is a good idea to include the alt text, even compared to describing in the post itself, and I feel fine minorly penalizing images for lacking it.

Darius Kazemi

Will probably change the mouseover text to say "No descriptive text" rather than "No alt text", since that is more technically correct and more consistent with how Mastodon refers to the feature anyway

DELETED

@darius i wonder if normies are trying to figure out how alt text is related to the alt right

nandi

@darius yeah I always thought "alt text" was ableist. Like isnt it just a caption?

Darius Kazemi

Okay, I have made a pull request for my "media lacks description" feature on Mastodon. We'll see how it goes!

Also if you want to see an example of what I consider an acceptably detailed pull request for a user-facing feature... check it out.

github.com/mastodon/mastodon/p

[DATA EXPUNGED]
FiXato

@darius might it perhaps also be an idea to include a class or other target to the enclosing post, so those wishing to hide the entire post if one of the media is lacking a description, can do so, since :contains still isn't a thing in CSS?

FiXato

@darius see edit of my previous post ๐Ÿ˜…
Though if you still think it a good idea, perhaps data attributes for the amount of undescribed media could help with situations where a post contains a mix of described and undescribed media.

Darius Kazemi

@FiXato oh yeah thanks for pointing out that edge case. I think I want to avoid that for now but I'll make an issue to consider it in a future Hometown release

Babu Menos ๐Ÿ’ฌ

@darius

Well done! Looking forward to seeing this feature implemented.

doomy ๐Ÿฆ€

@darius neat! i wonder if a good companion feature to this is community sourced alt text. not sure how to prevent abuse against something like that tho ๐Ÿค”

Michael Downey ๐Ÿ‡บ๐Ÿ‡ณ

@darius Love it. Centered could solve the inconsistent corner problem. ๐Ÿ™‚

AxWax

@darius Very nice - I like it a lot!

The only thing I preferred about the other way round (ie having an ALT button) is you could see the description in one click, rather than first having to long press the image and then clicking the description again to expand it.

Darius Kazemi

@axwax This issue I have filed will address that by adding visible and copyable alt text to the lightbox image you get when you click to focus.

github.com/hometown-fork/homet

mikael

@darius Take a look at the current UI for image uploading. It says โ€œNo description addedโ€, but the text is light gray and can hardly be seen on many images. Put the text below the image or give that link a background-color. Alsoโ€”for someone *not* initiatedโ€”why would an image need a โ€œdescriptionโ€? How would they understand that this helps those visually impaired? Something along the lines of โ€œNeeds a description for the visually impairedโ€ (a better English speaker, not me, should write that). ๐Ÿ™‚

A screenshot showing the current user interface for image uploading and toot composing in the Hometown Mastodon fork.
Erik โœ…

@darius I guess it would be nice, if there would be a popup window as a reminder, which shows up, when you drop a picture in your toot. As configurable option, it could only disappear, if you fill in some text.
To be honest, I also often forget to add a describing text

ciarin7

@darius I wish we could add alt text after it's posted.

m. libby

@darius Very cool!

Would like to see the platform scan the image file for a comment/description to use as alt text. This means the user adds it to the image once, rather than every time they want to post the picture somewhere.

Also would love to have the platform save any added alt text in the image file, instead of simply wiping all metadata.

Descriptive text should travel with the image.

Darius Kazemi

@mlibby this is more of an issue with images themselves at the moment. Some of the different popular image formats (like PNG) allow for metadata but there is no standardization across formats. So even if it wrote descriptive metadata no other software would know how to use it.

Completely agree that images should function as you describe but that's a massive standardization problem that I think would take years of coordination across many organizations.

Babu Menos ๐Ÿ’ฌ

@darius

That is a very good idea!
Brook, did you see this already? @brook

past oral no mad

@darius I really, really like this. I was thinking along the same lines, so I could avoid boosting images without descriptions.

Darius Kazemi

@eyal "media", so video, audio, images, and gifs

Go Up