Reputation: 27127
What's the recommended way to structure html that includes navigation so it's still SEO'able and accessible.
For example, should the structure be more like that of a document:
or:
Obviously CSS is used to control the layout, but bots and screen-readers ignore the CSS.
Upvotes: 5
Views: 3253
Reputation: 6345
I've been asked to move the navigation after content by a client before, but I don't think it helped them much. I generally follow the first structure you mention above.
Some random tips:
Upvotes: 7
Reputation: 39893
As a screen reader user I don't care where navigation is on the page. The thing that helps the most is to have content listed by heading, for example this question is at an h2 level, and the answers start at the next h2 level. Screen readers offer keys that allow you to skip by heading so I find that heading navigation is quicker then finding the skip navigation link and pressing enter on it.
Upvotes: 2
Reputation: 4506
It's generally considered to be "best" to have your content as close to the top of the page as possible. So technically, your second example is best. The skip to content link is a nice touch for screen readers though, and that state of CSS layouts being what they are, no one would begrudge you putting some simple navigation at the top of your document. I certainly don't think it would hurt your Google PageRank.
Upvotes: 1
Reputation: 24747
Reduce everything else other then the content to as minimum as possible.
Very short navigation, add a link to full navigation page / or / load it by AJAX.
No "Other content". If you put anything on the page, they must be related. In addition, they should be sorted by their relation.
Upvotes: 1
Reputation: 351566
The best thing you can do is move your content as close to the top of the page as possible. I would suggest this structure:
Upvotes: 0
Reputation: 43094
Any page that doesn't have it's content stashed away in Flash or similar is SEO'able. The web crawlers tend to strip everything and read the page as a text stream. Some pay attention to your keywords, their use in the body text, H1 & H2 tags, page title and even domain name but I don't think they are affected by the order of page structure.
Upvotes: 5