aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-07 19:30:18 -0700
committerChris Rebert <[email protected]>2014-07-07 19:30:18 -0700
commitc7c2a078ddf39c582dca283384814ccd7aa5f94d (patch)
tree9afa72a9f77483f8f63fedd52784cb6c684c7f87 /docs/examples
parent4f5efb84c9e81120b26949cecc626ae866fef46a (diff)
parent7c50b9ad7a5bbcc6728dcd501e396c3bf5247b31 (diff)
downloadbootstrap-c7c2a078ddf39c582dca283384814ccd7aa5f94d.tar.xz
bootstrap-c7c2a078ddf39c582dca283384814ccd7aa5f94d.zip
Merge pull request #14070 from twbs/pills-role-tablist-too
Add role="tablist" to .nav-pills in examples to improve accessibility
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/jumbotron-narrow/index.html2
-rw-r--r--docs/examples/theme/index.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/jumbotron-narrow/index.html b/docs/examples/jumbotron-narrow/index.html
index 56398c96e..304c8fc93 100644
--- a/docs/examples/jumbotron-narrow/index.html
+++ b/docs/examples/jumbotron-narrow/index.html
@@ -34,7 +34,7 @@
<div class="container">
<div class="header">
- <ul class="nav nav-pills pull-right">
+ <ul class="nav nav-pills pull-right" role="tablist">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
diff --git a/docs/examples/theme/index.html b/docs/examples/theme/index.html
index 627abc380..0f686c32e 100644
--- a/docs/examples/theme/index.html
+++ b/docs/examples/theme/index.html
@@ -338,7 +338,7 @@
<p>
<a href="#">Inbox <span class="badge">42</span></a>
</p>
- <ul class="nav nav-pills">
+ <ul class="nav nav-pills" role="tablist">
<li class="active"><a href="#">Home <span class="badge">42</span></a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages <span class="badge">3</span></a></li>
@@ -369,7 +369,7 @@
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
</ul>
- <ul class="nav nav-pills">
+ <ul class="nav nav-pills" role="tablist">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>