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/examples/rtl | |
| 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/examples/rtl')
| -rw-r--r-- | docs/examples/rtl/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/rtl/index.html b/docs/examples/rtl/index.html index 070831461..2af200710 100644 --- a/docs/examples/rtl/index.html +++ b/docs/examples/rtl/index.html @@ -626,10 +626,10 @@ <img data-src="holder.js/1140x500/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> |
