Well, I've got a site and brand new HTML5 tags to make semantic web pages. However, all the info is messed up in my head.
My site has:
- a header with banner and navigation;
- contents block (some promo-text separated by small headers) with tabs and tab headers (could be more than one tab header in a single tab)
- footer
Well, I see, the main navigation should be in the <nav>
block, header — in the <header>
, footer — in the <footer>
.
What should be a tab? Is it a <section>
? Or one tab has as much <section>
s as tab headers? Which tag should be used for the tabs selection panel? Is it just a <div>
or another <nav>
?
The next headache is headers. Well, I suppose the site header (which is in the <header>
tag with banner) should be <h1>
. But what to do with sections? If I have one section per tab, there will be more than one equal level headers and it would be incorrect to make them <h1>
s, so they'll become <h2>
s. But is it correct for section not to have a <h1>
header?
The next thing — the ARIA roles. Should I write roles for page header, content and footer (banner
, contentinfo
, main
), navigation?