0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Commit Graph

229 Commits

Author SHA1 Message Date
Steven Black
457885075f Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
2015-03-03 18:22:09 +02:00
Heinrich Fenkart
be68cdd4b8 Properly document Modal#handleUpdate 2015-03-03 06:45:38 +01:00
Kevin Kirsche
7b3e4d8423 Replace accidently removed text
X-Ref #15742

cc: @mdo
2015-03-01 16:24:12 -05:00
Mark Otto
8982de3482 Merge pull request #15914 from StevenBlack/docs.js.headings
docs > js > headings
2015-02-24 21:14:43 -08:00
Kevin Kirsche
769c27a19f Document how to properly handle modals with dynamic content height
Fixes #15106.
Closes #15910.
2015-02-25 03:23:02 +01:00
Steven Black
e9b29a3ef0 Accessibility changes to headings (transitions.html) 2015-02-24 20:19:00 -05:00
Steven Black
daccfc3c0f Accessibility changes to headings (overview.html) 2015-02-24 20:17:14 -05:00
Kevin Kirsche
ced312a90e [Docs—Fixes #15882]Use an ID as the example for Scrollspy
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-24 09:14:50 -05:00
Kevin Kirsche
504435e0b0 Fix #15712: Add example of how to use grid system within a modal
Closes #15725 by merging a tweaked version of it.
2015-02-19 16:14:06 -08:00
Chris Rebert
89455afe97 Affix docs: add MDN link for position: sticky 2015-02-19 15:55:33 -08:00
Chris Rebert
3748e44b2e Merge pull request #15773 from kkirsche/patch-16
Fix #15766: Clarify Affix plugin docs
2015-02-19 15:53:49 -08:00
Kevin Kirsche
744c3646f5 [Fixes #15766] Need Clearer Affix plugin documentation
[Fixes #15766] Need Clearer Affix plugin documentation

Remove trailing whitespace

Update the documentation
2015-02-19 16:38:03 -05:00
Chris Rebert
19a6406ec4 fix indentation of highlighted code in Modal docs 2015-02-12 10:36:15 -08:00
Chris Rebert
e7de01eeed Update Twitter handle: @twbootstrap => @getbootstrap
Refs 1c94b7791f
CC: @mdo
2015-02-06 11:54:07 -08:00
Kevin Kirsche
be2206edfc [Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case
[Fix Issue #15701] Tooltip/popover destroy docs don't explain the delegation case.

Add to popovers
2015-02-03 15:49:03 -05:00
Chris Rebert
012af29efc Merge pull request #15740 from twbs/carousel-events-target
Clarify target of carousel events
2015-02-03 10:58:33 -08:00
Chris Rebert
ab99374a9c Clarify target of carousel events
[skip sauce]
2015-02-03 10:53:33 -08:00
Chris Rebert
89ef0a5d34 Clarify target of modal events 2015-02-03 10:48:56 -08:00
XhmikosR
9f25895015 Fix validation errors.
Surprisingly those weren't reported by the validator; only in the grunt-contrib-htmlmin branch they were reported, so after digging into it, I saw they were indeed errors...
2015-01-26 17:58:09 +02:00
XhmikosR
a6f3bdb71f Move inline CSS to docs.css. 2015-01-21 09:51:12 +02:00
Chris Rebert
161eac4fd7 rm dummy href from dismiss-on-next-click popover example; fixes #15277 2015-01-18 12:51:47 -08:00
Chris Rebert
63f3136450 Document that tooltip+popover show+hide methods are async; fixes #15500
[skip sauce]
2015-01-15 17:18:00 -08:00
Chris Rebert
fb6622a7d4 Document that calling tooltip/popover .show()/.hide() qualifies as manual triggering
Fixes #15465

[skip sauce]
2015-01-13 17:06:31 -08:00
Chris Rebert
19222bfe89 overview.html: add missing <p> 2015-01-03 22:05:49 -08:00
Chris Rebert
5ccfd98c31 Document the VERSION property of the jQuery plugins; fixes #15202
[skip sauce]
2014-12-30 13:32:28 -08:00
Julian Thilo
a940e1fdd6 Revert "fix typo in carousel doc" 2014-12-12 14:24:50 +01:00
Emmanuel Gautier
f0be5e0409 fix typo 2014-12-12 12:53:50 +01:00
Patrick H. Lauke
c609272ac1 `aria-label="close" instead of sr-only span`
shorter, neater, well supported
2014-12-07 14:29:03 +00:00
Chris Rebert
0c5a5563b2 Merge pull request #15214 from twbs/example-ids
Give all embedded live docs examples data-example-id attrs
[skip sauce]
2014-12-04 19:18:29 -08:00
Mark Otto
a17f23c022 nuke the other incomplete example per @ianw 2014-12-01 01:39:31 -08:00
Mark Otto
88ec5152da clarify collapse example with link and button triggers; also mention classes 2014-11-30 17:10:13 -08:00
Mark Otto
9928144dc4 Fixes #15241: Add simple example to docs for collapse plugin 2014-11-29 23:03:47 -08:00
Chris Rebert
44447eeefe Give all embedded live docs examples data-example-id attrs
Refs #11410
2014-11-24 17:09:32 -08:00
XhmikosR
0c816d910d Merge pull request #15159 from twbs/docs-muted
Clean up old `muted` references and switch to `text-muted`.
2014-11-20 10:27:42 +02:00
Chris Rebert
af77842ce7 Merge pull request #15111 from twbs/events-tables-wrapping
Don't line wrap event names in JS plugin docs
2014-11-20 00:06:33 -08:00
XhmikosR
a1b8aa351e Clean up old muted references and switch to text-muted. 2014-11-20 08:02:25 +02:00
Chris Rebert
8bb59abf40 Merge pull request #15090 from twbs/dropdowns-events
consolidate relatedTarget docs in dropdown event docs
2014-11-19 17:33:17 -08:00
Chris Rebert
450a9ece10 Merge pull request #15125 from patrickhlauke/docs-clean-up
Docs clean up - unnecessary role attributes, callout clarifications
2014-11-17 02:13:21 -08:00
Chris Rebert
7876ebd2ed rm redundant role="button" from <button> 2014-11-16 16:34:28 -08:00
hillai
0ada807ce6 Add modal autofocus example 2014-11-16 16:48:08 +02:00
Patrick H. Lauke
bab36220c9 Redundant role="navigation" on <nav>s
plus one example that still used the old <div role="navigation"> and a
fix-up of the callout as per
https://github.com/twbs/bootstrap/issues/15109
2014-11-14 10:52:57 +00:00
Patrick H. Lauke
25cac1ea9a Redundant role="form" on <form>s 2014-11-14 10:52:56 +00:00
Chris Rebert
ea407666ce give all docs callouts IDs
[skip sauce]
2014-11-13 12:16:03 -08:00
Chris Rebert
ddf39cc2e7 Don't line wrap event names in JS plugin docs 2014-11-12 16:32:51 -08:00
Chris Rebert
856d31b373 Merge pull request #15089 from twbs/data-attrib-callout
move data attributes callout into data attributes doc subsection
2014-11-12 10:07:22 -08:00
Chris Rebert
1211a8155e JS docs: add Options, Methods, Events subsections to nav sidebar 2014-11-11 21:16:34 -08:00
Chris Rebert
c672ed3fb0 Merge pull request #15092 from twbs/scrollspy-callouts
move scrollspy callouts so they're all adjacent to each other
[skip sauce]
2014-11-11 19:56:28 -08:00
Chris Rebert
69d42cef14 move scrollspy callouts so they're all adjacent to each other 2014-11-11 19:42:29 -08:00
Chris Rebert
e2e9613f83 move popover examples heading to directly before the actual examples 2014-11-11 19:40:47 -08:00
Chris Rebert
d79e898d67 consolidate relatedTarget docs in dropdown event docs 2014-11-11 19:38:06 -08:00
Chris Rebert
ab1a9d4fac move data attributes callout into data attributes doc subsection 2014-11-11 19:35:08 -08:00
Chris Rebert
5ba5200195 move carousel accessibility callout next to rest of callouts 2014-11-11 19:29:56 -08:00
Chris Rebert
3b2d1570fa move single-toggle button plugin callout before example for consistency 2014-11-11 19:26:10 -08:00
Heinrich Fenkart
56f4156126 Merge pull request #15087 from patrickhlauke/dropdown-accessibility-tweaks
Wash-up of some stray dropdown examples
2014-11-12 01:19:39 +01:00
Patrick H. Lauke
0681971c8a Wash-up of some stray dropdown examples
adding explicit aria-expanded="false" initial state (so they're
correctly announced by AT as being collapsed), and - in the case of
old-school use of <a> - role="button"
2014-11-11 23:52:52 +00:00
Mark Otto
2006a435d9 Merge pull request #15077 from jayanthkoushik/issue-15076-fix
Fix Issue #15076.
2014-11-11 15:47:01 -08:00
Patrick H. Lauke
9391ef207f aria-hidden added to some stray glyphicons
plus minor tweak to customizer's generated alerts
2014-11-11 22:41:21 +00:00
Jayanth Koushik
917decab6c Fix Issue #15076.
This commit adds documentation explaining the need to have an initial
.active element in carousels.
2014-11-11 15:28:21 +05:30
Patrick H. Lauke
bb89657bcb Assorted accessibility (and some consistency) fixes for documentation
Closes #14951 by merging it.
2014-11-11 07:46:14 +01:00
Jayanth Koushik
e55feacf5b Add initialization examples to tooltip and popover "Opt-in functionality" callouts
Fixes #14950.
Closes #15015 by merging it.
2014-11-04 20:00:08 +01:00
Chris Rebert
594831f4f3 Add event.relatedTarget + data-* example to Modal docs
Fixes #14245
2014-11-03 13:37:27 -08:00
Aaron Cordovez
f412979287 Fix typo
Corrected spelling of the word "elements"
2014-11-01 17:46:33 -07:00
Manuel Meurer
1f64aac6b9 fix whitespace in js dropdown docs 2014-11-01 11:51:11 +01:00
hillai
1339ab7a13 Replace v3.2.1 reference with v3.3.0 since there wasn't a v3.2.1
Closes #14941
2014-10-30 10:20:54 -07:00
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