Semantically incorrect

Created on 19 February 2019, almost 6 years ago
Updated 16 February 2023, almost 2 years ago

The HTML output on a page seems to be semantically incorrect ids need to unique, the HTML output that is being rendered now all the images are getting an id of`elevate_zoom--lens_zoom_gallery`. If you change the id to a class this would solve the issue.

It seems to be an easy enough fix in the template file called `elevate-image-zoom-template.html.twig` change,
<img id="{{ elevate_class }}" src="{{ images.images_url }}" data-zoom-image="{{ images.zoom_image_url }}"/>
to
<img class="{{ elevate_class }}" src="{{ images.images_url }}" data-zoom-image="{{ images.zoom_image_url }}"/>

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia purencool

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024