| 7:13 pm on Apr 18, 2012 (gmt 0)|
IE6 and older show the ALT text not the TITLE on hovering over images.
Lately I have been using empty alt entries where it makes no sense to add to what a blind user hears.
The days of filling them both to rank better are gone. Recent reports of over optimization suggest ignoring ALT when using the TILE to ovide penalization.
[edited by: Hoople at 7:30 pm (utc) on Apr 18, 2012]
| 7:19 pm on Apr 18, 2012 (gmt 0)|
The alt attribute is a way of describing the contents of an image to those that are unable to "see" it, visually. Any serious webmaster should be using it, and using a blank (alt="") attribute when an image does not convey anything useful, but is for decoration. You will fail pretty much every accessibility test without correct use of alt attributes. A search engine will treat a trustworthy alt attribute the same as any other text on a page.
A title attribute is intended for additional information that you may have about any element of your page (it is not related to images at all) and, to be blunt, is not something you are likely to use with any degree of frequency on a site of any size - it's just too much effort for too little reward.
That said, there is never any good reason to have an alt attribute and title that are the same. The alt is only useful to those that can't see the image!
| 9:09 pm on Apr 18, 2012 (gmt 0)|
Can you pass the accessibility test if the ALT text does not show when you hover over an image despite it being in the code itself? As mentioned, the title tag shows during mouse over, not the Alt text despite the Alt text being there in the img src code.
I'm writing from a government agency and we are more concerned about being in compliance with "Section 508" of the Rehabilitation Act.
| 9:19 pm on Apr 18, 2012 (gmt 0)|
I had occasion to visit a blind person at his home recently. He has an office set up with a PC, printer and screen reading software. It was quite impressive to listen to it telling him what was on the screen.
If you excuse the pun it opened my eyes to the importance of using good alt text.
| 10:35 pm on Apr 18, 2012 (gmt 0)|
|That said, there is never any good reason to have an alt attribute and title that are the same. The alt is only useful to those that can't see the image! |
When the image is text, like a decorative header, it's appropriate to have the alt and title show the same thing.
For "those that can't see the image" read "those whose browser (or other device) doesn't display the image". Not always the same thing-- but that's what triggers the difference between alt and title :)
:: memo to self: investigate how this is handled by auto-translators ::
| 11:21 pm on Apr 18, 2012 (gmt 0)|
For the websites that insist on both being present I put the 'what' in the ALT and the 'description of what' in the TITLE tag.
| 11:43 pm on Apr 18, 2012 (gmt 0)|
|Can you pass the accessibility test if the ALT text does not show when you hover over an image despite it being in the code itself? |
Absolutely - the "popup" text is a failed implementation of an accessibility feature by internet explorer only. IMO, it has contributed to confusion about the meaning of alt attributes. Whether text appears on hover for users with a mouse is irrelevant :)
|When the image is text, like a decorative header, it's appropriate to have the alt and title show the same thing. |
How so? If there is text in the image it is readable to the sighted, and the alt attribute is audible to those that can't see it. Why repeat it for potentially both of those groups?
| 11:42 am on Apr 19, 2012 (gmt 0)|
Thanks so much for your response about IE causing the confusion. That's EXACTLY what the problem was.
| 5:03 am on Apr 25, 2012 (gmt 0)|
The Title Attribute:
The Title Attribute - Does Your Website Stutter?: