-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
I cannot get adding a title attribute to the tag to work, using my example preset
presets:
default:
formats: [webp, original]
attributes:
img: 'title=""'
and calling the image that way:
{% picture default assets/images/bla.jpg --alt Some alt text that works out correclty --title A different text that shows up on hover and that I use via JS %}
I would have expected to be able to set the title attribute. Even without the preset, I thought it should work as that attribute is legit https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#the_title_attribute
Is that supposed to work and I'm doing it wrong? :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels