Commit Graph

115 Commits

Author SHA1 Message Date
Cameron Little 0755d529c6 Tabs plugin accessibility
Added support for `aria-expanded` toggling via JavaScript. Added
`aria-controls`, `aria-expanded`, `aria-labelledby` to tabs docs.

Added `aria-expanded` unit test for the tabs plugin.

See also #13554.

Closes #14154 by merging it.
2014-10-26 02:25:47 +01:00
Chris Rebert 57e4b58782 Merge pull request #14859 from twbs/fix-14853
Clarify order of tabs events
2014-10-22 18:57:43 -07:00
Chris Rebert b421dc9490 Clarify order of tabs events; fixes #14853
[skip sauce]
2014-10-22 18:38:18 -07:00
Chris Rebert 8d806b0ae5 Document .alert-dismissible .close restrictions; fixes #14802
[skip sauce]
2014-10-22 18:05:42 -07:00
Phil Hughes ab8dbc214e Implement `hide` and `hidden` events for tabs
Closes #14772.
2014-10-22 21:42:35 +02:00
Patrick H. Lauke e1d40f7633 Add `aria-pressed` to single toggle buttons
also includes tiny fix/clarification to two existing unit tests for the
.active class, adding data-toggle=“button” explicitly to the tested
buttons

Closes #14819.
2014-10-22 21:02:19 +02:00
Chris Rebert f26dde085f add role="button" to a couple more dummy-anchor btns 2014-10-20 20:16:09 -07:00
XhmikosR 909a178362 Change Twitter links to use `https`. 2014-10-07 15:28:41 +03:00
Jacob 2c562d2386 Merge pull request #14590 from twbs/carousel-keyboard-option
Add `keyboard` option to carousel
2014-10-02 23:11:14 -07:00
Mark Otto 76268c4b96 more grunt 2014-10-02 21:21:49 -07:00
Mark Otto 12091b9567 Fixes #14711: Account for list groups in collapsing panels 2014-10-02 21:19:20 -07:00
Heinrich Fenkart 038a63b0eb Add `keyboard` option to carousel
Also adds unit tests for keyboard events.

Fixes #14468.
2014-10-03 05:16:31 +02:00
David Nguyen 6fa7495333 Fix #12563: Reiterate that empty tooltips+popovers do not get displayed 2014-10-02 10:44:20 -07:00
Nicole Bartelt 7398e1904b Added default collapsed class to the collapsed accordion html code example in the docs 2014-09-30 17:54:34 -07:00
Nicole Bartelt d8c02c7d29 Added default collapsed class to the collapsed accordion examples in the docs 2014-09-30 17:10:51 -07:00
Mark Otto 6eb633775b Merge pull request #14674 from twbs/fix-14478
Document that the autofocus attribute doesn't work in modals.
2014-09-23 22:03:13 -07:00
Chris Rebert 93f4426fed linkify reference to Nav component in Scrollspy docs 2014-09-23 17:18:15 -07:00
Chris Rebert d6903e4239 Document that the autofocus attribute doesn't work in modals.
Closes #14478.
2014-09-23 16:53:09 -07:00
Mark Otto ccecb7cde4 fixes #14654: callout for scrollspy-nav link 2014-09-22 20:27:23 -07:00
Chris Rebert ad00ad85fe modal docs: ensure all <button>s have an explicit `type` attribute
[skip sauce]
2014-09-15 15:43:34 -07:00
Chris Rebert 4849ec1cea add aria-labelledby to accordion example to improve accessibility 2014-09-12 17:40:44 -07:00
Chris Rebert 60164bc4ba Merge pull request #14579 from twbs/accordion-heading-role-tab
add role="tab" to .panel-heading-s in accordion example to improve accessibility
2014-09-12 17:23:23 -07:00
Chris Rebert 56c8c1bb55 add role="tab" to .panel-heading-s in accordion example to improve accessibility 2014-09-08 23:33:26 -07:00
Patrick H. Lauke fb1ca10b99 ARIA support for collapse
Added handling of aria-expanded=true/false to collapse.js, updated
documentation to include advice on making expand/collapse controls
accessible, updated examples and javascript documentation to use
aria-expanded and aria-controls (when targetting single collapsible
element, using ID rather than class selector)

Closes #14147.
Closes #14153.
2014-09-09 01:19:20 +02:00
gitname 83daf95c64 Fixed typos involving apostrophes
Added apostrophes to 3 words to indicate possession (i.e. ownership of something) instead of plurality (i.e. multiples of something).
2014-09-04 22:10:19 -07:00
Chris Rebert b9bfc74c62 Add Wall of Browser bugs entry for #793
Also, link to the Mozilla bug in the relevant callout.
2014-09-03 16:50:47 -07:00
Mark Otto 72ddad6fc8 Fixes #14439: Add static tooltip example to docs 2014-08-27 23:33:03 -07:00
Mark Otto 28c907f635 fixes #14441 2014-08-23 13:35:39 -07:00
Heinrich Fenkart 2c625c7d1a Clean up buttons documentation 2014-08-06 06:10:51 +02:00
Heinrich Fenkart d9f1ea8252 Small wording tweak in alert docs 2014-08-06 03:50:10 +02:00
Heinrich Fenkart ddadb2cf65 Document that alerts are removed from the DOM when closed; fixes #14318 2014-08-06 02:42:03 +02:00
Chris Rebert fb2e9fe30c Merge branch 'KyleMit/add-default-settings-documentation' 2014-08-04 09:08:07 -07:00
Kyle 333af7d371 Add docs for how to change default JS plugin settings
Closes #14250.
2014-08-04 09:07:19 -07:00
Heinrich Fenkart 852d0d1144 Document arguments passed to `placement` function of tooltip/popover
Closes #14255
2014-07-29 02:29:41 +02:00
Chris Rebert 86d698f4e4 Merge pull request #14256 from twbs/fix-14224
Correctly doc args passed to function vals for `title` & `content` options of tooltips+popovers
2014-07-28 13:53:48 -07:00
Chris Rebert 90424296eb Fix #14219: Document that empty tooltips+popovers do not get displayed 2014-07-27 16:51:07 -07:00
Chris Rebert ff12a76e5a Fix #14224: Correctly document args passed to function vals for `title` & `content` options of tooltips+popovers 2014-07-27 16:18:59 -07:00
vsn4ik 3e15e40ac9 dropdowns.html: Remove wrong "type" attribute. 2014-07-25 16:54:05 +04:00
Chris Rebert 2c4641855d fix #14115
[skip sauce]
2014-07-24 15:16:08 -07:00
Mark Otto 7fcc6c7889 unfuck those dropdowns 2014-07-23 21:00:48 -07:00
Mark Otto 463fe476d8 Merge pull request #14166 from hnrch02/docs-cleanup
Docs cleanup
2014-07-23 20:39:40 -07:00
Chris Rebert c0eddc1fe3 Merge pull request #14188 from twbs/doc-14148
Document limitations of buttons JS plugin
2014-07-23 18:01:31 -07:00
Chris Rebert 4a98e2d765 Merge pull request #14191 from twbs/autocomplete-off-btns
Use autocomplete="off" in buttons plugin docs examples
2014-07-23 17:55:12 -07:00
fat 4775c9296a Merge branch 'dropdown-aria' of git://github.com/mckramer/bootstrap into mckramer-dropdown-aria
Conflicts:
	docs/_includes/js/dropdowns.html
2014-07-21 22:44:35 -07:00
Chris Rebert db352bcc94 Make warning from #13875 slightly more detailed
[skip sauce]
2014-07-18 14:19:19 -07:00
Chris Rebert fc19cad608 Use autocomplete="off" in buttons plugin docs examples
Refs #13875.
2014-07-18 13:59:37 -07:00
Chris Rebert 976441ac1b Document limitations of buttons JS plugin
Addresses #14148.
2014-07-18 11:48:00 -07:00
Heinrich Fenkart 38335b2a3d Merge alert examples and add `.bs-example-standalone` class 2014-07-17 05:16:48 +02:00
Heinrich Fenkart 31772677f9 Clean up the Alert documentation 2014-07-17 05:16:34 +02:00
Heinrich Fenkart f9349f36df Clean up Affix documentation 2014-07-17 03:53:49 +02:00