matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
186 stars 94 forks source link

Allow providing a text alternative/caption for all media/non-text-content #883

Open Mikaela opened 3 years ago

Mikaela commented 3 years ago

Suggestion

I would like to specify an alternative text for all media content uploaded to Matrix including casual uploads, user avatar and room avatar, and I think this should be supported to comply with WCAG 2.1 non-text content. I think that especially in the context of file uploads during chat (as in not avatar change) there should be an option to always have it visible.

Examples:

This is similar to matrix-org/matrix-spec#882 (media attribution fields) and I was discussing this with @Sorunome, but she pointed out that attribution is different from text explanation what is in the picture and the user may not understand to put attribution/copyright information to this field.

kevincox commented 3 years ago

I think that in this case it probably makes more sense to stick the caption where the image is used. The ideal caption might differ depending on the context. But I agree that it could be useful to have descriptions for things like room and user avatars.