diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2014-07-15 14:39:27 +0400 |
---|---|---|
committer | Heinrich Fenkart <hnrch02@gmail.com> | 2014-09-09 03:19:20 +0400 |
commit | fb1ca10b99edc0f92eddd68b840f021da942afe9 (patch) | |
tree | b4bbbbd2d9b2b4d1af3d34a9922b8e66ace4df6b /docs/examples/jumbotron | |
parent | 9702579aeb3f0aeb677631782c2920d6cd804475 (diff) |
ARIA support for collapse
Added handling of aria-expanded=true/false to collapse.js, updated
documentation to include advice on making expand/collapse controls
accessible, updated examples and javascript documentation to use
aria-expanded and aria-controls (when targetting single collapsible
element, using ID rather than class selector)
Closes #14147.
Closes #14153.
Diffstat (limited to 'docs/examples/jumbotron')
-rw-r--r-- | docs/examples/jumbotron/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/jumbotron/index.html b/docs/examples/jumbotron/index.html index 084dcfba13..81b8bfc495 100644 --- a/docs/examples/jumbotron/index.html +++ b/docs/examples/jumbotron/index.html @@ -32,7 +32,7 @@ <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <div class="navbar-header"> - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> @@ -40,7 +40,7 @@ </button> <a class="navbar-brand" href="#">Project name</a> </div> - <div class="navbar-collapse collapse"> + <div id="navbar" class="navbar-collapse collapse"> <form class="navbar-form navbar-right" role="form"> <div class="form-group"> <input type="text" placeholder="Email" class="form-control"> |