@Lizette603_23 from a quick glance at the mastodon website, the following filter should work:##.status:has(.media-gallery__item-thumbnail img:not([alt]))


this will hide all posts that have an image attachment without alt text
note that if mastodon devs change the layout of the page, this might stop working

this filter is written for
uBlock Origin, which is an ad blocker
to add the filter, click on the addon's icon, then open the dashboard (three cogs icon), then go to the "My filters" tab, paste it in, and click save
uBlock Origin - Free, open-source ad blocker extension

uBlock Origin is a free, open-source ad blocker extension and content blocker. Block ads on YouTube, Twitch, and across the web with low CPU and memory usage. Available for Firefox, Edge, Opera, and Chrome via uBlock Origin Lite.

uBlock Origin
@Lizette603_23 it would be nice if the software had a built-in way to do this, but since i don't use mastodon i don't really know if it does. if it doesn't, i'm sure it could be implemented relatively trivially if it is requested from the developers