Forum Moderators: open
<h1><img src="special text graphic" title="brief desciption of page topic" alt="insert text from graphic" /></h1>
Check the difference in Opera: your suggestion will not display the "tool tip" (at least in my copy of Opera for Linux).
For example:<img title="DJ AIM releases his second album, Hinterland" src="assets/aim_hinterland.jpg" alt="AIM Hinterland CD" /> - the title value will appear as a tool tip in Opera and the alt value will not. This is the correct behavior, since alt values are intended only to display when the image is not available (images-off) or be "read" by screen readers or Braille browsers. Mozilla follows these rules as well.
IE however, WILL display an alt attribute as a tooltip. If a title attribute value is also present, the title will take precedence and display (correctly) in place of the alt value.
I wonder what occurs when both are assigned to an image and presented to a screen reader? Will both be read, or will the alt value now take precendence over the title value?
Below is an outline for this document, automatically generated from the heading tags (<H1> through <H6>.)* Wonder Woman Graphics Logo
If this does not look like a real outline, it is likely that the heading tags are not being used properly. (Headings should reflect the logical structure of the document; they should not be used simply to add emphasis, or to change the font size.)
If this does not look like a real outline...
If is the telling word here: It is leaving the final discretion to you as the author of the document. From what you imply, in this case,
<h1><img title="This page is about..." src="MyImage.gif" alt="description of image" /></h1> is being used appropriately.
Validators will often offer a warning when there may be an error that because of circumstances (the validator could not "read" the image), cannot wholly be verified. It errs on the side of caution and gives you, the author, suggested guidelines to help make the final decision.
...will SEs place the same significance on the keyword in the title attribute as they would to normal text in an H1 tag?
The answer is no, you don't get the SAME boost. But you do get a boost that using the image alone won't give you. The optimum path is still straight text in the H tag. And the clients I've convinced to go that route are very happy with their traffic.
This is a trade-off situation, and pretty headings are not nearly so valuable to a site as the search friendly nature of text headings.
It actually needn't be a trade-off. If you design your page right, you can do both. On pages where it's important to maintain a certain graphic look, I have a logo or graphic title followed by a heading that's positioned visually and contextually as sort of a tagline, but which carries the prime optimizing phrases for the page.
The heading can be h1 or h2, controlled by CSS. The graphic or logo should be in a size, color, and/or font that contrasts with the heading... and the wording should contrast enough that the heading works as a tagline. For example...
[6]W[/6]idget[6]W[/6]orld
Plastic Blue and Green WidgetsWidgetWorld offers a wide variety of green and blue plastic widgets for all occasions...
It sometimes takes a bit of talking and showing a few attractive examples, but I find a client will usually give me the heading if they can keep their graphic look too.