Ideally, for SEO reasons, only the Home page is assigned a H1 to the logo and sitename, subsequent pages usually have the logo just left in a div, and the page title is given a H1 tag. However with this theme, I've noticed that every single page has the logo marked up as H1.

Admittedly, I have no idea whether this has been fixed in Blueprint 2.x, but I find that it's bothersome that 1.7 works this way. Can anyone offer a fix?

CommentFileSizeAuthor
#3 page.tpl.php.patch660 bytesjoelstein
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

designerbrent’s picture

Version: 6.x-1.7 » 6.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

Thanks for the comments and suggestion. I'm wondering if you have any documentation to back this up? I haven't heard anything about that before, though I know I'm not all knowing!

I would be open to a patch, though at the moment I would like to see that happen as an option in the settings page. I may eventually write that but right now my focus is on the D7 version of the theme which is nowhere near ready!

So please, I would love to see some good information on the best use of h1 tags on the page.

-Brent

susheel_c’s picture

Status: Postponed (maintainer needs more info) » Active

Hi Brent,

I'd love to submit a patch and lend you a hand in the magnificent effort you're putting in, but I'm not very good at that sort of thing (patches and PHP, I'm a designer). I think that I've seen this sort of structure an all good Search Engine Optimized themes that I've come across on Drupal (Check Zen Theme) and Wordpress (well, atleast more frequently on wordpress).

The H1 tag is supposed to describe the content of a web page in much the same way as a the chapter title of a book. H2 describes the content of sub sections of the page, so on and so forth.

Here is one link discussing it at yoast.com.

Here's an extract from Opera's Developer Articles website, in an article about semantic markup:

Very often, designers who have heard a bit about Semantic HTML will fit the name of a site in the header into an h1 tag. On the homepage of a site, that might be a very wise decision. On every other page within your site, you probably have a specific topic, which might be related to your site's name but doesn't have to be. On those sub pages, that topic should be in the h1 tag, and it's wise to put the name of your site into an h4 tag or maybe even a span.

I hope this helps: Please feel free to mail / message me if you'd like any help with the theme from a designer's POV.

joelstein’s picture

Status: Active » Needs review
FileSize
660 bytes

I agree with susheel_c; everything I've seen makes me think that he's right. Plus, lots of users have been trained to use H2 tags in their WYSIWYG's, which causes semantic problems when the page title is also an H2.

Here's a patch which works for me.

designerbrent’s picture

Status: Needs review » Fixed

Thanks for the help on this. It has been patched and committed. Will show up shortly in the dev release and soon in the next alpha.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

susheel_c’s picture

Thanks for the support, designerbrent