(I am not sure if this is the right place to ask this question, if not please suggest the appropriate forum)
I have a very simple structure in the page:
<nav>
<h2>Menu</h2>
<ul>
<li>first</li>
<li>second</li>
</ul>
</nav>
<h1>This is the h1</h1>
<p>This is a paragraph</p>
<h2>This is the h2</h2>
<p>This is a paragraph</p>
I use a Chrome extension "HTML5 Outliner" to check if the structure of the page is correct. To my surprise this is what it gives me:
1- Untitled BODY
1- Menu
2- This is the h1
1- This is the h2
I think the problem is that, in the code above, I put the nav before the h1. If I put the h1 first, "HTML5 Outliner" gives me the structure of the page that I really want:
1- This is the h1
1- Menu
2- This is the h2
In the design of my page (as in many others) it makes more sense to put the nav first and then the h1.
My questions are:
1- Is the structure that I give here correct?
2- Is the problem with that extension that does not work well? if so, can anyone recommend me another good way to check the structure-outline of the pages of my site?