aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2014-11-14 01:44:09 +0000
committerPatrick H. Lauke <[email protected]>2014-11-14 10:52:57 +0000
commitbab36220c98bc9552a483d5d091cb8d8acfd3d31 (patch)
tree4a51aad2780c8f6d316076d8aa6aeaa7e425f622 /docs/_includes/js
parent25cac1ea9a70ab192a4b4fb49b972de2f342d240 (diff)
downloadbootstrap-bab36220c98bc9552a483d5d091cb8d8acfd3d31.tar.xz
bootstrap-bab36220c98bc9552a483d5d091cb8d8acfd3d31.zip
Redundant role="navigation" on <nav>s
plus one example that still used the old <div role="navigation"> and a fix-up of the callout as per https://github.com/twbs/bootstrap/issues/15109
Diffstat (limited to 'docs/_includes/js')
-rw-r--r--docs/_includes/js/dropdowns.html2
-rw-r--r--docs/_includes/js/scrollspy.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html
index 2268b5780..19e0245b2 100644
--- a/docs/_includes/js/dropdowns.html
+++ b/docs/_includes/js/dropdowns.html
@@ -6,7 +6,7 @@
<h3>Within a navbar</h3>
<div class="bs-example">
- <nav id="navbar-example" class="navbar navbar-default navbar-static" role="navigation">
+ <nav id="navbar-example" class="navbar navbar-default navbar-static">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-example-js-navbar-collapse">
diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html
index 4f660b40e..b2dd07ae9 100644
--- a/docs/_includes/js/scrollspy.html
+++ b/docs/_includes/js/scrollspy.html
@@ -4,7 +4,7 @@
<h2 id="scrollspy-examples">Example in navbar</h2>
<p>The ScrollSpy plugin is for automatically updating nav targets based on scroll position. Scroll the area below the navbar and watch the active class change. The dropdown sub items will be highlighted as well.</p>
<div class="bs-example">
- <nav id="navbar-example2" class="navbar navbar-default navbar-static" role="navigation">
+ <nav id="navbar-example2" class="navbar navbar-default navbar-static">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-example-js-navbar-scrollspy">