title Attribute – abnormal behave
-
This took me a while to find out (checked every plugin – on and off):
When using “Responsive Lightbox & Gallery” Plugin, my title Attribute shows an abnormal behave!Example: I wrote a Text, within there is a link to another website –
<p>some text and a <a href="link to somewhere" title="link to somewhere">Link</a></p>
Below the text I have a picture:
<a href="https://example.com/wp-content/uploads/2018/05/picture.jpg" data-rel="lightbox"><img class="aligncenter wp-image-1115 size-medium" title="an extensive description of the picture" src="https://example.com/wp-content/uploads/2018/05/picture.jpg" alt="Picture xyz" width="600" height="258"></a>
That said we would expect the title of the link in the text like “link to somewhere” when hovering over it – but what a surprise – the title shows “Picture xyz”. He – that’s the text from the alt-attribute of the picture! My written title attribute was overwritten with the alt-text!
Strange, isn’t it? Any ideas?
- The topic ‘title Attribute – abnormal behave’ is closed to new replies.