Taxonomic name: M-NAVIGATION-NON-LINEAR
v.3.0.0 - Updated 11/09/17.
This component provides simple inline secondary or tertiary navigation.
- The lists will automatically balance across the width of the section, but are set to keep whole links together so they do not break onto multiple columns.
- Default layout is for four columns in a large view, collapsing to two columns at a medium view, and a single column at mobile.
- Built to work on light and dark accent colours.
Notes for testers
- Ensure that links can be accessed via the mouse as well as via tabbing using the keyboard.
- Use a screen reader to confirm that the links are understandable as to where they will be going when listed out of context of the page.
- Ensure that when hovering over a link the style changes noticeably.
- Ensure that when a link has focus the style changes noticeably.
- Ensure that text within links is descriptive of what or where the link is going. Additional descriptive text can be hidden visually from the user to help make the link understandable especially if there area number of links such as "Find out more" on the page which go to different locations.
<div class="l-content-container [ Modifiers ]"> <h2 class="a-heading a-heading--2 a-heading--light u-margin--top-none">In this section</h2> <ul class="a-list-unordered m-navigation-non-linear"> <li class="m-navigation-non-linear__current"><span>...</span></li> <li><a href="...">...</a></li> ... </ul> <p><a href="..." class="a-button a-button--primary">Back to parent page</a></p> </div>
The following table gives you a quick overview of the CSS classes that can be applied.
||Base style for non-linear navigation list||Yes||
||Only style requied for non-linear navigation lists|
||Base style for current linear navigation list item||Yes||