Forum Moderators: open
I'm just going through someone elses (rather good) code. I've come across somthing I think they have wrong but I don't know the answer either.
Logos: If the logo is text, say a company/site name and slogan shouldnt the alt text for that logó mirror that?
Okay, I'm pretty sure that's right but here's the tricky bit: The logo is linked to the home page.
So, what should the title attribute of the anchor be bearing in mind the alt text of the graphic? Home? ... or what?
Is there an accepted standard?
I'm inclined to mirror what the logo says for the alt text and have "Back to the home page of site.com" as the title attribute of the anchor.
I'm not bothered about KW's, I need pure usability/accessability.
Many thanks for your thoughts...
Nick
I've adopted the rule that ALT is for the blind using screen-readers, the visually-impaired who may not be able to discern detail in the image, and people who browse with images disabled to conserve limited connection bandwidth.
Link TITLEs can be whatever you want them to be, as long as they are acceptable if the user has enabled the option to display TITLEs on hover.
Works for me...
Jim
>>I'm inclined to mirror what the logo says for the alt text and have "Back to the home page of site.com" as the title attribute of the anchor.
I would go with that over "Home".
I use ALT to say what the graphic is, "Image of WYZ Co. logo", and TITLE to say what it does if clicked.
I agree about the ALT, and would use the alt text "Graphic: site name logo" - this for accessibility
Back to the home page of site.com
I thought that SE spiders liked "title" text... but CMIIW please..
Suzy
;)
<added> I knew there was something else..
In the case of <img> elements, JAWS will speak title attribute information rather than alt attribute information when both are included.
This taken from webaim.org [webaim.org]
</added>
[edited by: SuzyUK at 5:44 pm (utc) on May 8, 2003]
Mozilla gets it right, but who cares ;(
Just imagine reading the document with all images replaced by their alt attribute text. Does it still make perfect sense? That's my standard.
But what if the logo says somthing?
on further reading: I discovered it's not a perfect world after all! ;)
accessibility guidelines are that the title and alt attributes serve different purposes (alt for the text to display if the image can't be shown, title for the "tooltip"/longer description), and it's recommended that it should remain so, however just as visual browsers have different ways of rendering, so screenreaders may still read the alt text and not the title text, indeed they read the alt text if there is no title attribute anyway..
Although it's recommended that you use short alt text, you should also think about the image that you're using it for.
So in this case i.e. a company logo and description..probably best to make them the same... and drop the "Graphic:" if it's serving as a text heading
Suzy
Try browsing a forum with graphics turned off, then especially try finding the Reply, Edit, PM, etc, buttons when the site only has this infrmation in the Title attribute, not in the Alt attribute.
then the rest came from various sources, it's a bit like CSS it will be great when the various attributes are properly rendered (visually and aurally), but until then it's making the best of what there is...
e.g. NN will not render the "alt" text as a tooltip but IE will..so trying to make them (title and alt) different will only confuse the issue until browsers conform (sound familiar?)
Suzy
I think I need to figure out how to use CSS to have the logo visible at the top of page but so the title attribute is not read first by the bots.