Do search engines treat the alt text of an image placed within an h1 tag the same way they would treat regular text placed in an h1 tag?
I gave a search through here looking for an answer to this question, but was only able to find information on image replacement and the infamous h1 debate.
For example would:
<h1><img src="#" alt="Contact Us" /></h1>
Act the same as:
<h1>Contact Us</h1>
In the electronic eye of a search engine?
This seems considerably less "CSS Hacky" than other image replacement techniques like negative text indents, display:none, height:0, or ridiculous z-index integers.
I agree, in an ideal world, we could use image alt within a h1 and be confident about our searchability. As far as I know (and according to this blog) Google ranks this:
Higher than this:
While Yahoo and Bing will not index the image Alt as a page title.
I use a negative text indent personally.