Add ALT tag descriptions for images centrally

otacke's picture

For people that are visually impaired, ALT tags for images can be an important source of information and improve accessibility. Presently, all content types that want to support ALT tags would have to add their own text field in semantics.org. I think it would be a good idea if the option for adding such a description was offered directly when uploading an image, simply adding some meta information to an image just like it's already done with copyright information.

The corresponding use case might read like this: "As a content creator I want to add ALT tag information when uploading an image in order to provide information that can be used to improve the accessibility of content types."

It's probably not complicated, and I might add this feature myself, but it'd probably take me much more time than someone who knows where to tweak the code and who's more experienced in UX design -- or let's discuss the latter topic here! What would be a good way to add the ALT tag information when uploading a video?

0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
icc's picture

I agree, but we should have a semantic option for enabling/disabling this as not all images are relevant to the content, e.g. background textures and similar. One quick fix is, of course, to just use the 'H5P.Image' library instead of a new image field.

Regarding videos, I believe adding text tracks is the standard way of enhancing accessibility.

otacke's picture

The first thing that came to my mind was to simply add another button next to the edit copyright button after an image has been uploaded (probably not the prettiest way). No one would be forced to enter a description, but if it's available, a content type could just use it if neccesary and ignore it for things like background textures.

Thanks for the hint to "H5P.Image".

icc's picture

Yes, that's a great suggestion! But I think that we have to find a way to mark it as "required" when it's used so the author knows that they have to fill it in.

Maybe we should have had some sort of icon next to all fields that are important for accessibility – or even some guidelines/hints in the editor.

otacke's picture

I see. That'd be very nice, indeed.

I guess adding an icon would be fairly simple by adding a style class, and it could be triggered by something like a boolean "recommended" argument for semantics? 

icc's picture

Yes, or an 'accessibility' flag.