hometown-fork / hometown

A supported fork of Mastodon that provides local posting and a wider range of content types.
GNU Affero General Public License v3.0
752 stars 57 forks source link

Add icon on media that lacks alt descriptions #1165

Closed dariusk closed 1 year ago

dariusk commented 2 years ago

Mastodon now has a hint when you are drafting a media post that you need to add alt text. But there is still no indicator on other people's posts that the media lacks a description. Lots of people want to only boost described media.

My plan: add an icon to all media when it lacks a description. I choose this rather than what Twitter does (add an icon when there is a description) because described media should be the default, "pretty" version of posts.


Done! It looks like this, warning icon in the lower right:

image

And similar for audio/video:

image

dariusk commented 1 year ago

Thinking about this more -- it makes sense to also apply some classes so that admins can easily tweak this behavior if they don't like it specifically.

dariusk commented 1 year ago

Current WIP:

image