diff options
| author | Chris Rebert <[email protected]> | 2014-07-07 19:53:57 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-07-07 19:53:57 -0700 |
| commit | 94eff8c159359c52eaebb6db6611ca337a557fd7 (patch) | |
| tree | e22a2f3a10a29b3c98ba37f6264669307532c70b /docs/examples | |
| parent | 5d1abf8b380aa94be26f52a662636cc6501fec2d (diff) | |
| download | bootstrap-94eff8c159359c52eaebb6db6611ca337a557fd7.tar.xz bootstrap-94eff8c159359c52eaebb6db6611ca337a557fd7.zip | |
add role="listbox" to .carousel-inner to improve accessibility of Carousels
Refs #13556.
Per https://github.com/paypal/bootstrap-accessibility-plugin/#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
[skip sauce]
Diffstat (limited to 'docs/examples')
| -rw-r--r-- | docs/examples/carousel/index.html | 2 | ||||
| -rw-r--r-- | docs/examples/theme/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html index efe2c9754..113a51d16 100644 --- a/docs/examples/carousel/index.html +++ b/docs/examples/carousel/index.html @@ -81,7 +81,7 @@ <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> - <div class="carousel-inner"> + <div class="carousel-inner" role="listbox"> <div class="item active"> <img src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide"> <div class="container"> diff --git a/docs/examples/theme/index.html b/docs/examples/theme/index.html index 0f686c32e..8a956e1e3 100644 --- a/docs/examples/theme/index.html +++ b/docs/examples/theme/index.html @@ -620,7 +620,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/1140x500/auto/#777:#555/text:First slide" alt="First slide"> </div> |
