JavaScript
Article
By Sam Deering

Dynamic Update of Alt Tags on Hover

By Sam Deering

Proof of concept for changing alt tags/title tags on hover dynamically it gets picked up automatically by browsers and displayed as the usual “alt/title tooltip”. There is obviously no benefit to SEO using this but was good to prove it works. Check out me fiddle below.

dynamic-alt-tags

jsfiddle.net/a4yBR/

Browser support:
Latest chrome – yes
Latest firefox – yes
IE9 – yes
IE8 – ??

--ADVERTISEMENT--

Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account