Allows users to navigate around the application or website.
The application navigation is positioned just below the global header. It provides users with a way to move to different sections or pages within the application.
In most cases, Turas applications have only one level of active navigation by default. However, you can customise this setting to your needs.
Often top-level landing pages do not exist in the application and therefore the navigation section labels are not clickable. Subpages can be accessed by clicking or tapping the navigation link once.
Applications that include landing pages, such as this Design System, allow users to navigate to the landing page by double clicking or tapping the navigation section label. Subpages can be accessed by clicking or tapping the navigation link once.
The application navigation is a standard component of all Turas page templates. Always include this component on the page unless there is a very strong use case to deviate from the standard templates. If you want to make changes to the standard templates you must contact the Experience team.
Do:
Avoid:
Neilson Norman Group
Information Architecture: 3 Key Models
Neilson Norman Group
Audience-Based Website Navigation
Neilson Norman Group
How Many Items in a Navigation Menu?
<turas-navigation>
<turas-navigation-item>
<turas-navigation-link href="/">
Home
</turas-navigation-link>
</turas-navigation-item>
<turas-navigation-item navigation-has-drop-down>
<turas-navigation-link href="#" navigation-has-drop-down>
Section one
</turas-navigation-link>
<turas-navigation-dropdown>
<turas-navigation-link href="/" is-in-drop-down>
Link
</turas-navigation-link>
<turas-navigation-link href="/" is-in-drop-down>
Link
</turas-navigation-link>
<turas-navigation-link href="/" is-in-drop-down>
Link
</turas-navigation-link>
</turas-navigation-dropdown>
</turas-navigation-item>
<turas-navigation-item navigation-has-drop-down>
<turas-navigation-link href="#" navigation-has-drop-down>
Section two
</turas-navigation-link>
<turas-navigation-dropdown>
<turas-navigation-link href="/" is-in-drop-down>
Link
</turas-navigation-link>
<turas-navigation-link href="/" is-in-drop-down>
Link
</turas-navigation-link>
<turas-navigation-link href="/" is-in-drop-down>
Link
</turas-navigation-link>
</turas-navigation-dropdown>
</turas-navigation-item>
<turas-navigation-item>
<turas-navigation-link href="/">
Section three
</turas-navigation-link>
</turas-navigation-item>
<turas-navigation-item>
<turas-navigation-link href="/">
Section four
</turas-navigation-link>
</turas-navigation-item>
</turas-navigation>
<nav id="main-nav" class="navbar navbar-expand-xl navbar-dark bg-dark ">
<div class="container">
<!-- Collapse button -->
<span class="menu-text float-right">Menu</span>
<button class="navbar-toggler second-button float-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="animated-icon2"><span></span><span></span><span></span><span></span></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item ">
<a href="/" class="nav-link ">
Home
</a>
</li>
<li class="nav-item dropdown ">
<a href="#" class="nav-link dropdown-toggle " role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Section one
</a>
<div class="dropdown-menu " aria-labelledby="main-nav">
<a href="/" class="dropdown-item ">
Link
</a>
<a href="/" class="dropdown-item ">
Link
</a>
<a href="/" class="dropdown-item ">
Link
</a>
</div>
</li>
<li class="nav-item dropdown ">
<a href="#" class="nav-link dropdown-toggle " role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Section two
</a>
<div class="dropdown-menu " aria-labelledby="main-nav">
<a href="/" class="dropdown-item ">
Link
</a>
<a href="/" class="dropdown-item ">
Link
</a>
<a href="/" class="dropdown-item ">
Link
</a>
</div>
</li>
<li class="nav-item ">
<a href="/" class="nav-link ">
Section three
</a>
</li>
<li class="nav-item ">
<a href="/" class="nav-link ">
Section four
</a>
</li>
</ul>
</div>
</div></nav>
This component is partially compliant with the WCAG 2.2 standard because of the following non compliances: