aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js
AgeCommit message (Collapse)AuthorFilesLines
2015-06-11Slightly expand accessible modals calloutPatrick H. Lauke1-1/+1
to include a note about `role="document"`
2015-06-11Add role="document" to modal itselfPatrick H. Lauke1-6/+6
Initial fix to generalise use of modals. Generally, true role="dialog" containers would require only forms/controls as content, with all other text correctly and explicitly associated via aria-labelledby/aria-describedby and similar...but as authors use modals also as generic overlays, this extra role is required to get AT (particularly NVDA) out of "forms" mode and reenable reading keys
2015-06-02Merge pull request #16571 from patrickhlauke/generalize-dropdownsPatrick H. Lauke3-47/+47
generalize dropdowns / drop role="menu"
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke3-47/+47
as role="menu" is a very specific (and strict) ARIA pattern for desktop-like application menus, and our dropdowns are often used as pure navigation dropdowns, this change abandons ARIA menus for a more open-ended and light-weight approach (see http://heydonworks.com/practical_aria_examples/#submenus and http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria) note that in dropdown.js, switched to now target ``.dropdown-menu`` instead of ``role["menu"]`` - this also prevents bootstrap scripts from "bleeding" into non-bootstrap components on the same page. also removed the ``role=["listbox"]`` part, which appears to be vestigial/unused (only place in bootstrap that uses that role are carousels, and their key handling is done separately)
2015-05-30Merge pull request #16484 from kkirsche/patch-13Mark Otto1-1/+1
ScrollSpy requires non-body elements to have height and overflow…
2015-05-30[Close #16441] ScrollSpy requires non-body elements to have height and paddingKevin Kirsche1-1/+1
[Close #16441] ScrollSpy requires non-body elements to have height and padding
2015-05-29ensure divider list items have role="separator"Patrick H. Lauke2-7/+7
http://www.w3.org/TR/wai-aria/roles#separator
2015-05-18Clarify the bs-callout on multiple open modalsKevin Kirsche1-1/+1
[Close #16502] Clarify the bs-callout on multiple open modals Currently it states overlapping modals, this isn't the only case as this truly applies to any instance when a user would want to open multiple modals at the same time. For this reason, I have modified the title of the callout to make this more clear.
2015-05-17Use `https` when possible.XhmikosR1-1/+1
2015-05-06Closes #16249: Doc that nested tabs are not supportedJulian Thilo1-1/+1
2015-05-05Document that $(...).button('reset') is async.Chris Rebert1-1/+1
Closes #16362. [skip sauce]
2015-05-05Mark stateful button feature as deprecatedChris Rebert1-0/+1
Refs https://github.com/twbs/bootstrap/issues/16362#issuecomment-96268469 [skip sauce]
2015-05-04Merge pull request #16409 from twbs/fix-16361Chris Rebert1-0/+13
Document Affix plugin's `checkPosition` method
2015-05-02Document that 'manual' is mutually exclusive of other tooltip/popover triggersChris Rebert2-2/+2
Closes #16122 [skip sauce]
2015-05-02Document Affix plugin's `checkPosition` methodChris Rebert1-0/+13
Fixes #16361 Refs #16356 [skip sauce]
2015-04-21Allow viewport option to be a functionAdrien Siami2-2/+4
Closes #16151 by merging a rebased version of it that adds docs and 1 more assertion.
2015-04-21Merge pull request #16147 from Johann-S/event_insertedChris Rebert2-0/+8
Fixes #16124.
2015-04-14affix plugin does not work within a pulled/pushed columnJoshua Tauberer1-0/+1
This documents the limitation discussed in https://github.com/twbs/bootstrap/issues/12126: > When using column reordering and using the affix-plugin on an element positioned with push, the affix plugin doesn't work correctly - the element affected by the affix plugin is positioned to the left even when the element is in a column positioned on the right. Seems to affect Safari (tested in version 8) only. That issue has (unfortunately) been closed, so this at least documents the behavior.
2015-04-08Add event after template insertedJohann-S2-0/+8
2015-04-07Carousel docs: fix typo in holder.js colorChris Rebert1-1/+1
2015-04-01indented javascript/modal/using-grid-system sample code from 4 spaces to 2 ↵fyquah951-36/+36
spaces
2015-03-27Remove wrong role="tabpanel" from parent containerPatrick H. Lauke1-2/+2
As per discussion on https://github.com/w3c/wai-wcag-quickref/issues/2 and #13554
2015-03-25Merge pull request #16158 from twbs/fix-16020Chris Rebert1-12/+12
remove redundant aria-hidden usage from Modals
2015-03-25Merge pull request #16157 from twbs/fix-16069Chris Rebert1-0/+7
Document how to disable transitions in jQuery plugins
2015-03-25rm redundant aria-hidden usage from Modals; fixes #16020Chris Rebert1-12/+12
2015-03-25Document how to disable transitions in jQuery plugins; fixes #16069Chris Rebert1-0/+7
[skip sauce]
2015-03-25Properly document $(...).tab('show') method; fixes #16115Chris Rebert1-21/+4
[skip sauce]
2015-03-25docs: #myTab => #myTabs, to slightly increase clarityChris Rebert1-8/+8
2015-03-24add missing <code> within docs heading for `.modal('handleUpdate')`Chris Rebert1-1/+1
2015-03-24Merge pull request #15987 from twbs/fix-15972Chris Rebert1-9/+9
add role="button" to a[data-toggle="collapse"]
2015-03-23Move all tooltip callouts into appropriate sectionPatrick H. Lauke1-20/+22
Before, most callouts hierarchically came under Examples > Four directions, which is not appropriate. Now they're under Markup
2015-03-23Callout for tooltips and keyboard/AT accessibilityPatrick H. Lauke1-0/+4
Include callout explicitly mentioning tooltips should only be added to focusable elements. Closes #16134
2015-03-16Clarify that role="button" is required for dismiss-on-next-click popoversChris Rebert1-1/+1
Refs #15947
2015-03-03add role="button" to a[data-toggle="collapse"]; fixes #15972Chris Rebert1-9/+9
2015-03-03Javascript docs: Accessibility and cosmetic changes to headings.Steven Black10-33/+33
Closes #15915 by merging it.
2015-03-03Properly document Modal#handleUpdateHeinrich Fenkart1-3/+5
2015-03-01Replace accidently removed textKevin Kirsche2-2/+2
X-Ref #15742 cc: @mdo
2015-02-24Merge pull request #15914 from StevenBlack/docs.js.headingsMark Otto2-9/+9
docs > js > headings
2015-02-25Document how to properly handle modals with dynamic content heightKevin Kirsche1-0/+3
Fixes #15106. Closes #15910.
2015-02-24Accessibility changes to headings (transitions.html)Steven Black1-2/+2
2015-02-24Accessibility changes to headings (overview.html)Steven Black1-7/+7
2015-02-24[Docs—Fixes #15882]Use an ID as the example for ScrollspyKevin Kirsche1-3/+3
Fixes #15882 — Use an ID as the example for Scrollspy so that it is more clear that this is for use with a single nav.
2015-02-19Fix #15712: Add example of how to use grid system within a modalKevin Kirsche1-0/+96
Closes #15725 by merging a tweaked version of it.
2015-02-19Affix docs: add MDN link for `position: sticky`Chris Rebert1-1/+1
2015-02-19Merge pull request #15773 from kkirsche/patch-16Chris Rebert1-2/+2
Fix #15766: Clarify Affix plugin docs
2015-02-19[Fixes #15766] Need Clearer Affix plugin documentationKevin Kirsche1-2/+2
[Fixes #15766] Need Clearer Affix plugin documentation Remove trailing whitespace Update the documentation
2015-02-12fix indentation of highlighted code in Modal docsChris Rebert1-5/+5
2015-02-06Update Twitter handle: @twbootstrap => @getbootstrapChris Rebert1-2/+2
Refs https://github.com/twbs/bootstrap-blog/commit/1c94b7791f8a24a18f08aba40c38d519b873f2d0 CC: @mdo
2015-02-03[Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation ↵Kevin Kirsche2-2/+2
case [Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case. Add to popovers
2015-02-03Merge pull request #15740 from twbs/carousel-events-targetChris Rebert1-0/+1
Clarify target of carousel events