<aside>
Example
<aside>
<a href="/">Home</a>
<a href="/blog">Blog</a>
</aside><nav aria-label="Main">
<a href="/">Home</a>
<a href="/blog">Blog</a>
</nav>Main site links belong in <nav>; <aside> is for content only loosely related to the main content.
Common mistakes
- Using
<aside>for any sidebar, including the main navigation. - Adding several
<aside>landmarks without labels, so they all sound the same.
Interview questions
Is <aside> the same as a sidebar?
<aside> the same as a sidebar?Not always. It means tangentially related content, which often sits in a sidebar but can also be an inline pull quote or note.
Which ARIA role does <aside> have?
<aside> have?It maps to the complementary landmark role.