I have a text widget in my sidebar and have set up images and links to facebook, youtube, etc. None of my ‘alt’ tags are working in firefox, chrome or ie.
[please read http://codex.wordpress.org/Forum_Welcome#Posting_Code and mark any posted code accordingly – codes posted without backticks or the code button will get corrupted]
Here is the code: <p><img src=”http://www.kricklewoodfarm.com/images/buttons/facebook_square.jpg” border=”0″ alt=”Kricklewood Farm on Facebook”>
<img src=”http://www.kricklewoodfarm.com/images/buttons/youtube_square.jpg” border=”0″ alt=”Kricklewood Farm Videos on Youtube”>
<img src=”http://www.kricklewoodfarm.com/images/buttons/picassa_square.jpg” border=”0″ alt=”Kricklewood Farm photo albums at Picassa”>
<img src=”http://www.kricklewoodfarm.com/images/buttons/icontact.jpg” border=”0″ alt=”Newsletter Signup”>
I did a search on this and got references to a plugin which hasn’t been updated for 2 years so thought I would start anew.
Why do you think the Alt isn’t working? It works fine. If the facebook image not display, then “Kricklewood Farm on Facebook” will display.
Maybe you want to add title = “Kricklewood Farm on Facebook” ???
Do you see the text when hovering over the image? I tried on my machine using google chrome, ie and firefox…. none of them showed it.
When hovering over the image, it text is title attribute not alt attribute. Alt attribute will display when the image path is incorrect or can’t be loaded.
So please add title=”Kricklewood Farm on Facebook” behind the alt=”Kricklewood Farm on Facebook”. Please make sure to add a blank between each attributes.
ok, that works. Thank you. Come out and visit the farm if you are in the area, pet a goat and a pot-bellied pig!
🙂 great it works.
I have a pet pig but not pot-bellied.
This kind but bigger than this one as he’s more than 3 years. http://www.yzhyw.com/uploadfile/2012/0529/20120529110155876.jpg
- The topic ‘Alt text not showing up when hovering over images’ is closed to new replies.