Query loop image link and aria-label
-
Hi, for accessibility context, is it possible to add
aria-labelattributes to the dynamic data of Image block that have Link source activated?The
aria-labelwill belong toatag of the Image block. So the complete map of the block:Query loop > Image: dynamic data (link source: Single post) + heading:{{post_title}}
The HTML generated will be
<a href="single-post-url"><img ... /></a>while trying to achieve
<a href="single-post-url" aria-label="{{post_title}}"><img ... /></a>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Query loop image link and aria-label’ is closed to new replies.
