Using navs for tab panels requires JavaScript tabs plugin
For tabs with tabbable areas, you must use the tabs JavaScript plugin. The markup will also require additional
role
and ARIA attributes – see the plugin's example markup for further details.Make navs used as navigation accessible
If you are using navs to provide a navigation bar, be sure to add arole="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.