Are you a Google Analytics enthusiast?
Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE!

www.CustomReportSharing.com
From the folks who brought you High Rankings!
More SEO Content
Coding For Graphic Headlines & Nav
#1
Posted 08 September 2003 - 04:02 PM
We are optimizing a site that will use graphic headers. The development firm
is suggesting the following coding for the graphic nav buttons:
<div class="textnav"><a href="navtextbutton.html">Nav Text Button</a></div><a href="navtextbutton.html"><img src="../images/navtextbutton.jpg" width="144" height="24" alt="" border="0"></a>
and this coding for the headline (so we can use the <h1> tag):
<h1 class="textnav">Headline</h1><img src="../images/header.jpg" width="262" height="35" alt="" border="0">
I've spidered it using the SIM spider and it's working, so assume code is OK. Any comments?
Btw, any other tools out there to check for spidering that are better than SIM spider?
Thanks.
#2
Posted 08 September 2003 - 05:25 PM
indicates that you'll have a heading followed by a graphic. Is the "textnav" class formatting the heading tag in such a way as to make it invisible, or are both the text heading and the graphic going to be on the page?<h1 class="textnav">Headline</h1><img src="../images/header.jpg" width="262" height="35" alt="" border="0">
#3
Posted 08 September 2003 - 05:53 PM
Are you saying that the graphics will be on top of the text, so that the text won't be seen by the average browser? If so, I wouldn't recommend it. It's doubtful it would be caught or penalized by the search engines, but it may be something they would consider to be some sort of trick.
Of course, if the words under the graphic were the same as the words contained within the graphic, then I think it would be perfectly fine. It would only be a problem if you were saying one thing on the graphic, and then something else underneath them.
But I may be totally misunderstanding what you're planning to do, so please explain further.
BTW, welcome mktgnut!
Jill
#4
Posted 08 September 2003 - 06:03 PM
I thought it was an interesting idea, but a bit risky. I worried that the spiders would view it as hidden text, so I didn't try it.
Now, if I'm reading this right, mktgnut wants to do something like this, but take it a step further by putting the semi-hidden text in a heading tag. I think that only adds to the risk. If a SE sees this as hidden text, the fact that it's in a heading tag is likely to make them view it as even worse than hiding normal text, in my opinion.
#5
Posted 08 September 2003 - 06:55 PM
Granted, the image alt attribute would also serve that purpose, but perhaps there's some other good reason for having the text underneath the graphic? I'm not very familiar with the technique, so I'm not really sure. If there are other good usability reasons, it seems like a good idea, in general.
Obviously, it's open to abuse, just like so many HTML coding techniques. That doesn't mean people should use techniques in the manner to which they were intended. Things like comment tags and noscript tags, all have good uses and people should never, ever be afraid to use them as they were intended.
Search engines don't dictate HTML coding. They never have, and they never will.
Jill
#6
Posted 08 September 2003 - 07:04 PM
But if anyone is interested, I found the article I was talking about. It's at http://www.stopdesig...s/replace_text/
[added] And I had this backwards: the article suggests using the image as the background for the text, but using the CSS to format the text not to display. So for spiders and users with CSS turned off, the instructions from the CSS to display the image instead of the text will not fire, and the text will be displayed.
Edited by qwerty, 08 September 2003 - 07:17 PM.
#7
Posted 08 September 2003 - 09:19 PM
From reading that article, it's a great way to keep sites beautiful, but also accessible to all, and would conform to all standards. I think it's great, and as long as it's used correctly, there won't be any problems for the search engines with it. In fact, it's great for the search engines, and they would certainly welcome the ability to be able to read images they might not otherwise be able to read.
I liked that they even wrote the following caveat:
This replacement method needs to be exercised with a certain amount of responsibility. Care should be taken in matching the text of each replacing image with the same raw text in the HTML. Otherwise, it wouldn’t be fair to give visitors seeing full-blown stylesheets different textual content than visitors seeing, hearing, or feeling content without the same stylesheet applied.
Great article. Thanks for sharing it, Qwerty!
Jill
#8
Posted 09 September 2003 - 03:54 AM
PS love the spell checker Scottie, great help to those whose typing speed and skill does not match thier thinking speed.
#9
Posted 09 September 2003 - 09:52 AM
Thanks for all the advice. Yes, I had never seen this coding either and was concerned that it would appear to be deceptive.
We need to use graphic headlines since the font used for branding purposes is not a common one. But the developers suggested using the code I noted for the headline to insert an <h1> tag and text that would not be visible to viewers, but would be spiderable.
The "invisible" text is exactly the same as the headline. So, Jill, you sound as though that may be acceptable. Or should I go the safe route and use the <h1> tag and just use a graphic and alt tag?
Mktgnut
#10
Posted 09 September 2003 - 10:00 AM
The way I see it, anything that's done exclusively for SE spiders is risky, even if they don't yet have the technology to understand either how or why you've done it.
#11
Posted 09 September 2003 - 10:04 AM
The "invisible" text is exactly the same as the headline. So, Jill, you sound as though that may be acceptable.
Absolutely! If you're using the same text as the graphics, it's a wonderful, elegant solution.
So the "invisible" heading text would never be visible to any users -- just to spiders?
No, Bob, I don't think that's true. It would be available to all who use text-only browsers such as Lynx, etc. Text-to-speech readers too, from what I understand from that article.
Jill
#12
Posted 09 September 2003 - 10:12 AM
#13
Posted 09 September 2003 - 10:31 AM
I'm not sure the plan is the same as the one described in the article, Jill.
Really, why do you say that? Sounds the same to me, but maybe I'm missing something.
They're using the same copy as what's in the images in both cases. Not a problem, great use of coding and design, usability and accessability as far as I can tell.
What am I missing?
Jill
#14
Posted 09 September 2003 - 10:35 AM
But the developers suggested using the code I noted for the headline to insert an <h1> tag and text that would not be visible to viewers, but would be spiderable.
Maybe I'm just reading it from a paranoid perspective, but I'd need some clarification to be certain. My question is, does "text that would not be visible to viewers, but would be spiderable" mean text that is not visible to users with CSS turned on, or text that is never visible to users?
...Let me clarify my concern. If the plan in the article is used, then most users will see the graphic, and those with CSS or images turned off (including spiders) will see the heading text. However, if the plan is to format the heading text to be invisible, users with images turned off (with the exception of those who use a browser like Lynx) will see neither the graphic nor the heading text.
#15
Posted 09 September 2003 - 10:44 AM
Jill
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users







