Protip for #macOS users on the #Fediverse: You can press ⌘I to inspect an image file in Finder, and type #altText into the Comments field there. That way, you can copy and reuse your alt text for the next time you post a commonly-used image.
Works great for memes!
Pro protip: This string is stored as an xattr, and you can read it on the command line using this invocation:
xattr -px ‘com.apple.metadata:kMDItemFinderComment’ file.jpg | xxd -r -p | plutil -p -
Yes, it’s a string stored as a plist.
Maybe @MonaApp or @ivory could provide an option to automatically extract this xattr and populate the Alt Text field?
Or use a tool like #NeoFinder for macOS to add "Alt Text" to the official IPTC metadata field in the photo file itself.
But then Ivory and the Mastodon web server still need to read these fields, too.
It would be nice if the IPTC metadata standard would be supported...
https://www.cdfinder.de/guide/13/13.1/neofinder_bridge.html
(Section: Accessibility Fields)