Your structure is most likely incorrect. A logo is not a list or list. Like a list item that contains only another list is usually meaningless.
Use the title for the logo (usually I use H1
for the home page and H3
with a link inside it for other pages):
<h1 id="logo">Company</h1> <h3 id="logo"><a href="/">Company</a></h3>
And make sure your navigation has the correct hierarchy as follows:
<ul> <li><a href="#">Products</a> <ul> <li><a href="#">Desktops</a></li> <li><a href="#">Laptops</a></li> <li><a href="#">Tablets</a></li> </ul> </li> <li><a href="#">About</a> <ul> <li><a href="#">History</a></li> <li><a href="#">Contacts</a></li> </ul> </li> </ul>
In the example, each LI
has its own link and section subsections that the link represents, and thus the link text is a heading for the list of subsections.
source share