Aha, I see WebMasterWorld knows about this already, the header ad has both an alt tag and a title.
Will both be used by the SEs?
Explorer's previous handling of the alt attribute was against the W3C recommendations, and the other browsers had it right. The alt is for non-visual browsers, not for a tool tip. It took Microsoft a long time to come around on this point (and many others, too).
As to what the search engines will use, that is always a question worth watching and testing. Right now the alt attribute is what affects ranking, from what I can see, and the title attribute is not used as a signal. And that makes sense, because it is what non-visual browsers and screen readers like JAWS will be "reading" aloud.
Thanks tedster, as always you are a font!
A font of knowledge :-)
I think I will have a play with the alt and title tags to see what happens.
What to do with the "long description" ..
Do I use it just like an alt or a title tag?
|What to do with the "long description" .. |
From W3C [w3.org]:
|longdesc = uri |
This attribute specifies a link to a long description of the image. This description should supplement the short description provided using the alt attribute. When the image has an associated image map, this attribute should provide information about the image map's contents. This is particularly important for server-side image maps. Since an IMG element may be within the content of an A element, the user agent's mechanism in the user interface for accessing the "longdesc" resource of the former must be different than the mechanism for accessing the href resource of the latter.
Although I'm not too sure of browser support. However, certain specialist/accessible browsers may make more use of this.
Thanks penders, of course I should have looked at the W3C..
See also: HTML5: Techniques for providing useful text alternatives [dev.w3.org]
This is a draft document not yet finished, but it covers image alt, title, aria-labelledby, aria-describedby and longdesc.
(longdesc is controversial and imho should generally be avoided.)
Both attributes are required on all images if you want to be properly crawled. Use the following website to check your page to see if your images are correctly coded according to google's standards.
|Both attributes are required on all images if you want to be properly crawled. |
Have you tested that and found that the title attribute has ranking value? If so, please share some details because I have NOT found it to be the case.