Skip to content

Commit

Permalink
Fix typo in navs.md (#25404)
Browse files Browse the repository at this point in the history
  • Loading branch information
huphtur authored and XhmikosR committed Jan 23, 2018
1 parent 96a9e98 commit 3e2fbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/4.0/components/navs.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ Note that dynamic tabbed interfaces should <em>not</em> contain dropdown menus,
</div>
{% endhighlight %}

To help fit your needs, this works with `<ul>`-based markup, as shown above, or with any arbitrary "roll your own" markup. Note that if you're using `<nav>`, you shouldn't add `role="tablist"` directly to it, as this would override the element's native role as a navigation landmark. Instead, switch to an alternative element (in the exammple below, a simple `<div>`) and wrap the `<nav>` around it.
To help fit your needs, this works with `<ul>`-based markup, as shown above, or with any arbitrary "roll your own" markup. Note that if you're using `<nav>`, you shouldn't add `role="tablist"` directly to it, as this would override the element's native role as a navigation landmark. Instead, switch to an alternative element (in the example below, a simple `<div>`) and wrap the `<nav>` around it.

<div class="bd-example bd-example-tabs">
<nav>
Expand Down

0 comments on commit 3e2fbd5

Please sign in to comment.