Navs available in Bootstrap have shared markup, starting with the base
.nav class, as well as shared states. Swap modifier classes to switch between each style.
If you are using navs to provide a navigation bar, be sure to add a
role="navigation" to the most logical parent container of the
<ul>, or wrap a
<nav> element around the whole navigation. Do not add the role to the
<ul> itself, as this would prevent it from being announced as an actual list by assistive technologies.
More Information in the WCAG 2.0 Guidelines
G125: Providing links to navigate to related Web pages
G128: Indicating current location within navigation bars