-
Notifications
You must be signed in to change notification settings - Fork 2
Alt text for GIFs #3
Comments
thanks @jamietanna ! the gfycat API doesn't really provide useful alternative descriptions. you can (kind of) see the docs for fetching info about a single gfycat image here: https://developers.gfycat.com/api/#getting-info-for-a-single-gfycat it has 'title' and 'description' fields, but they are often not useful. e.g title is often "Untitled" or something like "laughing". Description is often empty. There are tags available as well, but they're more often for referencing the creator's other entries than actually descriptive of the image. It is definitely possible to add an alt text to the image when posted via micropub BUT, it's a big change in terms of Micropub implementation support on both sides. For example, a Micropub POST for a reaction image can be as simple as a form-encoded post with ... at least, that's the best i have been able to find! it could be i am behind on the state of the art on this. |
To make published GIFs, via Micropub, more accessible, we should allow alt text to be added to the images. As per conversation on martymcguire#3, this can't be reliably done through the Gfycat API, so we should instead allow the user to provide this information. As we're using a JSON post, we need to construct an object for the photo property as per https://micropub.spec.indieweb.org/#json-syntax Closes martymcguire#3.
To make published GIFs, via Micropub, more accessible, we should allow alt text to be added to the images. As per conversation on martymcguire#3, this can't be reliably done through the Gfycat API, so we should instead allow the user to provide this information. As we're using a JSON post, we need to construct an object for the photo property as per https://micropub.spec.indieweb.org/#json-syntax Closes martymcguire#3.
Does the Gfycat API provide any information for alt tags? My site currently enforces alt tags on posts, and I'm wondering if there's anything automagic we can be sending, or maybe whether we could add an option to have user-provided alt text when publishing a GIF via Micropub?
The text was updated successfully, but these errors were encountered: