johnHackworth / goblin

GNU Affero General Public License v3.0
48 stars 4 forks source link

Alt text isn't propagating properly #103

Open DizzyHSlightlyVoided opened 1 month ago

DizzyHSlightlyVoided commented 1 month ago

Alt-text on images doesn't appear to be propagating properly to other Fedi instances. In a recent post, I see the alt-text just fine when I do the inspect-HTML thing on goblin.social, but on my Sharkey and Mastodon alts, it isn't showing up in either the HTML or the official alt-text buttons.

ryanfb commented 2 weeks ago

Not too familiar with the code here, but it looks like alt text is stored on a comment attribute of the image. If the mastodon convertAttachment function copied this to a description attribute, I think it should then be in the Mastodon API media attachment responses where it's expected and picked up correctly by clients that use that API.