That’s pretty strange because it works for me (canvas & frontend).
You can check the css styles in the builder with the dev tools, maybe you will see where the problem comes from or where styles are missing. Does the problem also occur in the frontend?
Ok, I found the problem. It is not in the picture tag (the problem occurs with every tag + link).
The problem arises because the transition is on the root element (the picture, div, whatever tag), but the CSS filter is on the img and not the root, and in between, there is still the link (that has no transition). Accordingly, the transition can not work.
To fix the problem in the meantime, you can add this custom CSS to the image:
I think you solved this the right way. For accessibility reasons, you should not place a link directly on an image. Screen readers can’t handle that. The div wrapper is exactly the solution for that.
Hey that’s new to me.
W3C states that as long as the alt text explains the image, it’s WCAG approved. But I’m by no means an expert here. But you state that an image link is always wrong if the link is not on the wrapper?
No, of course not. It’s just a so called best practice. If you publish your image without div wrapper, you take away many possibilities of manipulation, which you have with a div with CSS. But of course it’s not wrong. As always, it is important that you know why you do what you do.