diff options
| author | Chris Rebert <[email protected]> | 2014-05-09 15:31:52 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-05-09 15:31:52 -0700 |
| commit | b7ac0d401f4100a40028e8b75d6130b70e4d9390 (patch) | |
| tree | 47e9b66faa610a90e07f2eaec71c801fe0714db0 /docs/_includes | |
| parent | 48fd9e29a24ae7fd8d8061e62a099c6097c41f18 (diff) | |
| download | bootstrap-b7ac0d401f4100a40028e8b75d6130b70e4d9390.tar.xz bootstrap-b7ac0d401f4100a40028e8b75d6130b70e4d9390.zip | |
add role="button" to [data-slide="prev"],[data-slide="next"] to improve accessibility
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
Diffstat (limited to 'docs/_includes')
| -rw-r--r-- | docs/_includes/js/carousel.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index fa7476b68..b8a0d1e4b 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -21,10 +21,10 @@ <img data-src="holder.js/900x500/auto/#555:#333/text:Third slide" alt="Third slide"> </div> </div> - <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev"> + <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> - <a class="right carousel-control" href="#carousel-example-generic" data-slide="next"> + <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> @@ -56,10 +56,10 @@ </div> <!-- Controls --> - <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev"> + <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> - <a class="right carousel-control" href="#carousel-example-generic" data-slide="next"> + <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> @@ -102,10 +102,10 @@ </div> </div> </div> - <a class="left carousel-control" href="#carousel-example-captions" data-slide="prev"> + <a class="left carousel-control" href="#carousel-example-captions" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> - <a class="right carousel-control" href="#carousel-example-captions" data-slide="next"> + <a class="right carousel-control" href="#carousel-example-captions" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> |
