Alt tags Modern Sliders

I’m using the autoplay progress slider and the alt tag is currently set as {{dc:looper:field key=“title”}} on the image on the figure on the slide. I want the alt tag to be the alt tag set on the image in the media library, how do I achieve this?

Hello @simonwr1976,

Thanks for writing to us.

In case the slider data is coming from the JSON content then it is not possible to pull the media image date. In case you are consuming the slider date using Post or Custom Post type then we can pull the media data for the alt text. Please have a look at the given thread to learn more about how to use media data as alt text.

Hope it helps
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.