#Multi variant website - Handling Alt Tags on Media Types.

1 messages · Page 1 of 1 (latest)

mint lynx
#

Hey All,

Been reading up on a few /issues/ posts regarding allowing a varying culture on properties of a media item. Seen a lot of 'ended' conversations with regards to its state in the Umbraco Roadmap.

As such - Was wondering how people handle multilingual for things such as an Alt tag to get around this lack of varying culture in the media section?

A couple of ideas that came to my mind initially were:

  1. Creating an alt tag field per language and performing my own culture detection to swap this in the view.
  2. Auto translating the field using an API such as Cloud translate (Google) or LibreTranslate

But was interested in what people have come up with in the past? 😄 ❤️

remote nimbus
#

Hi there! We've been looking into this as well for our company, especially with regards to WCAG compliance. We've found that alt texts are best configured on the page where the image is used. My coworker says that Umbraco recommends this as well on their website, but I haven't verified this myself.

The reason being that a single descriptive text often doesn't suffice when the image is used in various contexts.

tl;dr: You should configure the alt text on the content where you pick your image.

mint lynx
#

Hey @remote nimbus! Cheers for your answer.

So i suppose an option to ensure that if an image was changed but the alt tag hadnt been changed would be to add in something like a notificationhandler on the saving event to throw back a toast message like "You changed the image but didnt update the alt tag!" just to ensure the user was offering 'decent' content