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/carousel | |
| 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/carousel')
| -rw-r--r-- | docs/examples/carousel/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html index 828314603..06a2eb8bc 100644 --- a/docs/examples/carousel/index.html +++ b/docs/examples/carousel/index.html @@ -113,8 +113,8 @@ </div> </div> </div> - <a class="left carousel-control" href="#myCarousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> - <a class="right carousel-control" href="#myCarousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> + <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> + <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> </div><!-- /.carousel --> |
