From 3dfad4f1addd50a066d28ca605f14d4dc9a2b82f Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 29 Jun 2014 21:16:44 -0700 Subject: doc that you can't use both data-ride and $().carousel() on the same carousel; fixes #13896 [skip sauce] --- docs/_includes/js/carousel.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/js/carousel.html') diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index b8a0d1e4b..222caf333 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -132,7 +132,7 @@

Via data attributes

Use data attributes to easily control the position of the carousel. data-slide accepts the keywords prev or next, which alters the slide position relative to its current position. Alternatively, use data-slide-to to pass a raw slide index to the carousel data-slide-to="2", which shifts the slide position to a particular index beginning with 0.

-

The data-ride="carousel" attribute is used to mark a carousel as animating starting at page load.

+

The data-ride="carousel" attribute is used to mark a carousel as animating starting at page load. It cannot be used in combination with (redundant and unnecessary) explicit JavaScript initialization of the same carousel.

Via JavaScript

Call carousel manually with:

-- cgit v1.2.3 From 94eff8c159359c52eaebb6db6611ca337a557fd7 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 7 Jul 2014 19:53:57 -0700 Subject: 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] --- docs/_includes/js/carousel.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/js/carousel.html') diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index 222caf333..e58107fba 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -10,7 +10,7 @@
  • -