diff options
| author | Mark Otto <[email protected]> | 2014-07-07 20:29:51 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-07 20:29:51 -0700 |
| commit | 25a90958406b04e07f5ba42c88112a170b043e20 (patch) | |
| tree | 9e457d4dede37e611f8a58cd09d0fa8c1489c84c /docs/_includes | |
| parent | 32affe98356ccee4f3dfae17e3c4d47c7efb25ce (diff) | |
| parent | 2e3f1a23f6703d985f3017526dc9ba1c7ddbe4e3 (diff) | |
| download | bootstrap-25a90958406b04e07f5ba42c88112a170b043e20.tar.xz bootstrap-25a90958406b04e07f5ba42c88112a170b043e20.zip | |
Merge branch 'master' of github.com:twbs/bootstrap
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/js/carousel.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index 222caf333..728356268 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -10,7 +10,7 @@ <li data-target="#carousel-example-generic" data-slide-to="1"></li> <li data-target="#carousel-example-generic" data-slide-to="2"></li> </ol> - <div class="carousel-inner"> + <div class="carousel-inner" role="listbox"> <div class="item active"> <img data-src="holder.js/900x500/auto/#777:#555/text:First slide" alt="First slide"> </div> @@ -23,9 +23,11 @@ </div> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> + <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> + <span class="sr-only">Next</span> </a> </div> </div><!-- /example --> @@ -39,7 +41,7 @@ </ol> <!-- Wrapper for slides --> - <div class="carousel-inner"> + <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="..." alt="..."> <div class="carousel-caption"> @@ -58,9 +60,11 @@ <!-- Controls --> <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> + <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> + <span class="sr-only">Next</span> </a> </div> {% endhighlight %} @@ -79,7 +83,7 @@ <li data-target="#carousel-example-captions" data-slide-to="1"></li> <li data-target="#carousel-example-captions" data-slide-to="2"></li> </ol> - <div class="carousel-inner"> + <div class="carousel-inner" role="listbox"> <div class="item active"> <img data-src="holder.js/900x500/auto/#777:#777" alt="First slide image"> <div class="carousel-caption"> @@ -104,9 +108,11 @@ </div> <a class="left carousel-control" href="#carousel-example-captions" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> + <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#carousel-example-captions" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> + <span class="sr-only">Next</span> </a> </div> </div><!-- /example --> |
