B diff --git a/docs/javascript/buttons.md b/docs/javascript/buttons.md index 9db269f8d6..68c8ed0159 100644 --- a/docs/javascript/buttons.md +++ b/docs/javascript/buttons.md @@ -8,7 +8,7 @@ Do more with buttons. Control button states or create groups of buttons for more

Cross-browser compatibility

-

Firefox persists form control states (disabledness and checkedness) across page loads. A workaround for this is to use autocomplete="off".

+

Firefox persists form control states (disabledness and checkedness) across page loads. A workaround for this is to use autocomplete="off". See Mozilla bug #654072.

## Stateful @@ -38,11 +38,16 @@ Add `data-loading-text="Loading..."` to use a loading state on a button. Add `data-toggle="button"` to activate toggling on a single button. {% example html %} - {% endexample %} +
+

Pre-toggled buttons need .active and aria-pressed="true"

+

For pre-toggled buttons, you must add the .active class and the aria-pressed="true" attribute to the button yourself.

+
+ ## Checkbox and radio Add `data-toggle="buttons"` to a `.btn-group` containing checkbox or radio inputs to enable toggling in their respective styles. diff --git a/docs/javascript/carousel.md b/docs/javascript/carousel.md index 374e2143d4..2b4386ebaa 100644 --- a/docs/javascript/carousel.md +++ b/docs/javascript/carousel.md @@ -154,6 +154,12 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap true Whether the carousel should cycle continuously or have hard stops. + + keyboard + boolean + true + Whether the carousel should react to keyboard events. +
diff --git a/docs/javascript/collapse.md b/docs/javascript/collapse.md index b392d97443..cf764b0178 100644 --- a/docs/javascript/collapse.md +++ b/docs/javascript/collapse.md @@ -33,7 +33,7 @@ Using the collapse plugin, we built a simple accordion by extending the panel co