From what I've learned, it is semantic to place your navigation links and elements within a <nav>
. However, I have also seen many people putting their navigation links and elements within an <aside>
when their navigation content is beside the page's main content.
In the way I'm currently developing my website, I have "CHECK-IN", "CHECK-OUT", and "BOOK NOW" in a <header>
and multiple navigation links in a <nav>
along the left side of the page.
Should I keep my navigation content inside of a <nav>
or place it inside of an <aside>
? Which one is semantically correct and most accessible?