Use Left Hand Navigation...
- To navigate through various sections.
- To structure the information in a hierarchical format.
Don't use Left Hand Navigation...
- To organize content into separate views within the same context. Use Tabs instead.
- To navigate between sections within the same page. Use Anchor Bar instead.
The preview has been updated.
Button Menu
Use skin="button-menu" to display the Links as Buttons.
The preview has been updated.
Accessibility
- Since the Left Hand Navigation is a
<nav>tag, it needs an accessible label to make it distinguishable from other navigation landmarks such as the top navigation. The easiest way to accomplish this is to give it anaria-labelattribute whose value is localized text describing the navigation. - In the React API,
LeftHandNavigationHeaderandLinkListHeadingcreate<h2>and<h3>tags by default. If these do not represent the proper document structure for your page, use theasprop on these components to change the tags. - If the Left Hand Navigation has a heading(s), then the Link List that has heading labels should have an
aria-labelledbyattribute whose value is the id of its heading. Refer to the Link List documentation. - In the Vanilla API, use a
<nav>tag instead of a<div>. If not possible, place arole="navigation"on the wrapper element.