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.
Button Menu
Use skin="button-menu"
to display the Links as Buttons.
Accessibility
- In the Vanilla API, use a
<nav>
tag instead of a<div>
. If not possible, place arole="navigation"
on the wrapper element. - In the React API,
LeftHandNavigationHeader
andLinkListHeading
create<h2>
and<h3>
tags by default. If these do not represent the proper document structure for your page, use theas
prop 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-labelledby
attribute whose value is the id of its heading. Refer to the Link List documentation.