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

5197 Commits

Author SHA1 Message Date
Kevin Kirsche
315db4a005 Clarify that <fieldset> only uses the disabled attribute
Fix #16632
2015-06-15 19:59:26 -04:00
Patrick H. Lauke
3d244537fb Slightly expand accessible modals callout
to include a note about `role="document"`
2015-06-11 12:47:52 +01:00
Patrick H. Lauke
e23868c9cf Add role="document" to modal itself
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-11 12:40:24 +01:00
Kevin Kirsche
9747ea5231 Use new gradient syntax in justified nav example; fixes #16598
Closes #16599 by merging a tweaked version of it.
2015-06-08 01:44:32 -07:00
Patrick H. Lauke
caca5d46d5 Merge pull request #16571 from patrickhlauke/generalize-dropdowns
generalize dropdowns / drop role="menu"
2015-06-02 11:21:26 +01:00
Patrick H. Lauke
5fd7bc1554 generalize dropdowns / drop role="menu"
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-06-02 11:03:21 +01:00
yang
5efc832d7e change korean translation site url 2015-06-01 23:44:42 +09:00
XhmikosR
b5ed74d43d Run grunt.
[ci skip]
2015-06-01 10:29:18 +03:00
XhmikosR
82aa0cd56b docs: update uglify-js to v2.4.23.
[ci skip]
2015-06-01 10:29:18 +03:00
Mark Otto
b5b4c9c701 Merge pull request #16484 from kkirsche/patch-13
ScrollSpy requires non-body elements to have height and overflow…
2015-05-30 17:32:20 -07:00
Kevin Kirsche
962ae5ac2f [Close #16441] ScrollSpy requires non-body elements to have height and padding
[Close #16441] ScrollSpy requires non-body elements to have height and padding
2015-05-30 18:24:23 -04:00
Timothy Gu
7278bed86f Adjust Carbon Ads margin on -xs
The .container that immediately surrounds .carbonad has a padding of 15px, not 30px.

Fixes #16552.
2015-05-30 14:57:41 -07:00
Dan Kaplun
78bdbcdc08 Adds @dl-horizontal-breakpoint 2015-05-30 12:57:36 -04:00
Patrick H. Lauke
3b59b97c62 ensure divider list items have role="separator"
http://www.w3.org/TR/wai-aria/roles#separator
2015-05-29 23:48:35 +01:00
Supergibbs
24918b3bd8 A little cleanup 2015-05-29 11:32:25 -07:00
Supergibbs
7b23005f58 Clarified documentation about input groups and added an example of
multiple buttons
2015-05-29 11:29:56 -07:00
Chris Rebert
3487898a6a Merge pull request #16504 from kkirsche/patch-8
Clarify the bs-callout on multiple open modals
2015-05-26 15:15:15 -07:00
Morton Fox
665d2d25c0 Update source maps link 2015-05-26 08:14:57 -04:00
Chris Rebert
9c717b4716 Wall of Browser Bugs: Add link to "jQuery's browser bug workarounds"
[skip sauce]
2015-05-22 23:30:05 -07:00
Mike Taylor
59f9a5e5ba Remove Firefox warning for customizer download.
Closes #15016.
2015-05-22 12:25:08 -05:00
Kevin Kirsche
97f8e5610d Clarify the bs-callout on multiple open modals
[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-18 18:30:58 -04:00
Chris Rebert
efe2023014 Add missing type="button" attrs to <button>s in list-group docs
Fixes Bootlint warnings:
	W007 Found one or more `<button>`s missing a `type` attribute.

[skip sauce]
2015-05-17 23:22:27 -07:00
XhmikosR
315907c97c Use https when possible. 2015-05-17 12:43:20 +03:00
XhmikosR
cf211a9654 about.html: Add the size of the gravatar image we currently use. 2015-05-17 12:43:20 +03:00
XhmikosR
9b6a2013d6 docs: update uglify-js to v2.4.21.
[ci skip]
2015-05-17 00:55:26 +03:00
XhmikosR
c56032a0e5 Remove grunt-banner completely.
Add a license header in theme instead.
2015-05-16 12:57:27 +03:00
XhmikosR
9e395712a5 Run grunt. 2015-05-16 09:58:16 +03:00
Bryan Braun
dec2faec3d Update Anchor.js and port over the existing styles.
Anchor.js 1.0.0 drops the need to use anchor.css, so we remove it
from the codebase and move any leftover styles over to docs.css.

Closes #16488 by merging it.
2015-05-16 09:58:15 +03:00
Chris Rebert
c111c291be Relicense ie10-viewport-bug-workaround.js under MIT License
Fixes #16470
Closes #16483
2015-05-14 22:43:27 -07:00
Mark Otto
588b7e564e grrrrrrrrrrrrrrrrrrrunt 2015-05-14 11:11:03 -07:00
Mark Otto
54df51b5ea Merge pull request #16437 from twbs/fix-16249
Document that nested tabs are not supported
2015-05-14 11:07:05 -07:00
Chris Rebert
1b08cd39b3 Add WebKit+Safari Wall of Browser 2015-05-13 23:37:18 -07:00
Mark Otto
c5babda02f Merge pull request #16215 from zacechola/list_group_buttons
Adds button styles to `.list-group-item`
2015-05-13 21:35:39 -07:00
Mark Otto
82279a8eb2 Merge branch 'btn-borders' of https://github.com/martinbean/bootstrap into martinbean-btn-borders 2015-05-13 21:20:02 -07:00
XhmikosR
1eba173c9e Update jQuery to v1.11.3. 2015-05-10 01:22:23 +03:00
Chris Rebert
843581b8ff docs examples: input[placeholder]: "Enter email" => "Email"
For uniformity, as we don't seem to use this "Enter <X>" phrasing anywhere else.

[skip sauce]
2015-05-08 00:24:39 -07:00
Julian Thilo
a3c480fd94 Closes #16249: Doc that nested tabs are not supported 2015-05-06 22:37:56 +02:00
Chris Rebert
2aa102bfd4 Add Wall of Browser Bugs entries for #16372 (Safari/WebKit) 2015-05-06 11:23:24 -07:00
Chris Rebert
0d2c7ecb7a Add Wall of Browser Bugs entry for #16372 (Chrome)
Closes #16372
2015-05-05 23:21:15 -07:00
Chris Rebert
d9a7cb2a09 Merge pull request #16430 from twbs/stateful-btn
Improvements to stateful button JS docs
2015-05-05 15:38:45 -07:00
Chris Rebert
89f2c5c5c0 Document that $(...).button('reset') is async.
Closes #16362.
[skip sauce]
2015-05-05 15:03:12 -07:00
Chris Rebert
fce30b57e2 Mark stateful button feature as deprecated
Refs https://github.com/twbs/bootstrap/issues/16362#issuecomment-96268469
[skip sauce]
2015-05-05 15:03:05 -07:00
XhmikosR
414d0a535a Run grunt. 2015-05-05 11:57:42 +03:00
XhmikosR
5ae00f2e7c Run grunt. 2015-05-05 06:50:18 +03:00
XhmikosR
49c4556354 Comply to the new JSCS rules. 2015-05-05 06:50:18 +03:00
Chris Rebert
a19441dd64 Merge pull request #16409 from twbs/fix-16361
Document Affix plugin's `checkPosition` method
2015-05-04 12:28:41 -07:00
Anthony Barone
1f5519b981 Added #panels-footer to components nav in docs 2015-05-03 20:33:38 -04:00
Chris Rebert
75d6c14dc9 Document that 'manual' is mutually exclusive of other tooltip/popover triggers
Closes #16122
[skip sauce]
2015-05-02 18:24:12 -07:00
Chris Rebert
85235c55ac Document Affix plugin's checkPosition method
Fixes #16361
Refs #16356
[skip sauce]
2015-05-02 13:02:48 -07:00
Patrick H. Lauke
0b937117a4 Remove inappropriate role="button" from download links 2015-04-30 11:08:23 +01:00
XhmikosR
07e76a571d Redo changes needed to hide Copy button. 2015-04-29 08:56:33 +03:00
XhmikosR
438cae9d90 Revert "Update ZeroClipboard and remove Copy buttons when Flash is unavailable"
This reverts commit 229e888929.

ZeroClipboard v2.x drops IE < 9 support.
2015-04-29 08:55:29 +03:00
XhmikosR
16a44c208d Fix dab6a4f0e3. 2015-04-29 08:54:32 +03:00
Zac Echola
fa2cdd44bc Adds documentation for buttons in link groups
Mostly a duplication of the *Linked items* section, but for buttons.
Includes a note not to use the standard btn classes.
2015-04-28 10:58:42 -05:00
XhmikosR
5ca44f94ac Run grunt. 2015-04-28 14:24:37 +03:00
Bootstrap's Grunt bot
e6438592e9 automatic grunt dist
[ci skip]
2015-04-28 09:20:25 +00:00
XhmikosR
2bc9d70069 Update clean-css to v3.2.6. 2015-04-28 12:12:05 +03:00
XhmikosR
86400070b5 Bump copyright year.
[ci skip]
2015-04-28 11:40:42 +03:00
Bootstrap's Grunt bot
a9137bd621 automatic grunt dist
[ci skip]
2015-04-28 08:19:19 +00:00
XhmikosR
3e7ca3bbc8 Minor lint tweaks. 2015-04-28 11:03:37 +03:00
Mark Otto
dab6a4f0e3 scope anchorjs to immediate children, fixes #16129 2015-04-27 14:16:27 -07:00
Bootstrap's Grunt bot
d87b7a037b automatic grunt dist
[ci skip]
2015-04-27 18:30:49 +00:00
Bootstrap's Grunt bot
71597a4424 automatic grunt dist
[ci skip]
2015-04-27 08:20:49 +00:00
Martin Bean
9a451d4aea Add @btn-border-radius variables (#16271) 2015-04-26 17:42:34 +01:00
Bootstrap's Grunt bot
d0926f2deb automatic grunt dist
[ci skip]
2015-04-26 11:11:05 +00:00
XhmikosR
fa4d7d2bd2 Run grunt. 2015-04-26 14:03:35 +03:00
XhmikosR
8cc39a3951 Update autoprefixer.js.
Taken from https://github.com/ai/autoprefixer-rails/blob/master/vendor/autoprefixer.js

[ci skip]
2015-04-26 14:01:17 +03:00
Bootstrap's Grunt bot
2b89fd5289 automatic grunt dist
[ci skip]
2015-04-26 06:40:33 +00:00
Bootstrap's Grunt bot
f5b5fc69a8 automatic grunt dist
[ci skip]
2015-04-26 05:20:36 +00:00
Mark Otto
ebad91b9b5 Merge pull request #16369 from vsn4ik/split_docs_dropup
DOCS: Separation of .dropdown and .dropup.
2015-04-25 22:04:08 -07:00
Bootstrap's Grunt bot
2900711db4 automatic grunt dist
[ci skip]
2015-04-26 04:50:34 +00:00
Bootstrap's Grunt bot
3e3b331ad3 automatic grunt dist
[ci skip]
2015-04-25 20:20:30 +00:00
vsn4ik
d46f6dcbdc DOCS: Separation of .dropdown and .dropup. 2015-04-25 12:52:22 +03:00
Chris Rebert
6ae488d6ef Ensure .form-inline in non-responsive example doesn't stack; fixes #15977 2015-04-24 19:49:43 -07:00
XhmikosR
a2680e8b6b Run grunt.
[ci skip`
2015-04-23 09:18:46 +03:00
XhmikosR
b29c15dfc8 Update Blob.js to v2015-03-21.
[ci skip]
2015-04-23 09:18:45 +03:00
XhmikosR
6df6452619 Update FileSaver.js to v2015-03-04.
[ci skip]
2015-04-23 09:18:45 +03:00
XhmikosR
7da5f13383 Update JSZip to v2.5.0.
[ci skip]
2015-04-23 09:18:45 +03:00
XhmikosR
cd23569d49 Update uglify-js to v2.4.20.
[ci skip]
2015-04-23 09:18:45 +03:00
XhmikosR
69308dc883 Update Holder.js to v2.6.0.
[ci skip]
2015-04-23 09:18:45 +03:00
Bootstrap's Grunt bot
063c1b0780 automatic grunt dist
[ci skip]
2015-04-22 05:30:27 +00:00
Adrien Siami
e949505b89 Allow viewport option to be a function
Closes #16151 by merging a rebased version of it that adds docs and 1 more assertion.
2015-04-21 22:20:15 -07:00
Bootstrap's Grunt bot
48232aad6c automatic grunt dist
[ci skip]
2015-04-22 04:50:38 +00:00
Chris Rebert
c6b62f0cd9 Merge pull request #16147 from Johann-S/event_inserted
Fixes #16124.
2015-04-21 21:40:14 -07:00
Bootstrap's Grunt bot
7993251b1c automatic grunt dist
[ci skip]
2015-04-22 01:01:07 +00:00
Bootstrap's Grunt bot
b5f3cd37f2 automatic grunt dist
[ci skip]
2015-04-21 06:40:36 +00:00
XhmikosR
09f98453ce Update devDependencies. 2015-04-19 00:07:37 +03:00
Chris Rebert
a955164a67 Merge pull request #16282 from JoshData/patch-1
affix plugin does not work within a pulled/pushed column
2015-04-17 12:37:41 -07:00
Bootstrap's Grunt bot
483412a795 automatic grunt dist
[ci skip]
2015-04-17 16:20:21 +00:00
Chris Rebert
3a279860b0 grunt docs 2015-04-16 17:25:00 -07:00
Mark Tareshawty
229e888929 Update ZeroClipboard and remove Copy buttons when Flash is unavailable
Fixes #16269.
Closes #16301 by merging a rebased version of it.
2015-04-16 17:17:28 -07:00
Chris Rebert
21e94b0374 Update docs to account for #15755 2015-04-14 18:40:36 -07:00
Joshua Tauberer
20b5e24765 affix plugin does not work within a pulled/pushed column
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-14 16:37:07 -04:00
Bootstrap's Grunt bot
e7064c7224 automatic grunt dist 2015-04-13 17:21:14 +00:00
Bootstrap's Grunt bot
a719eb69d2 automatic grunt dist 2015-04-13 00:21:28 +00:00
Bootstrap's Grunt bot
9cc9379f46 automatic grunt dist 2015-04-13 00:11:22 +00:00
Chris Rebert
feeff91be1 Turns out http://crbug.com/475128 affects all OSes 2015-04-12 13:32:01 -07:00
Bootstrap's Grunt bot
ff88cf9335 automatic grunt dist 2015-04-11 00:02:33 +00:00
Chris Rebert
4127b250db Merge pull request #16262 from twbs/browser-bugs-16180
Add Wall of Browser Bugs entries for #16180
2015-04-08 11:49:03 -07:00
Chris Rebert
70f4be6124 Add Wall of Browser Bugs entries for #16180
Closes #16180.
2015-04-08 11:48:16 -07:00
Bootstrap's Grunt bot
b9fe637ecd automatic grunt dist 2015-04-08 18:41:31 +00:00
Johann-S
3d71eae301 Add event after template inserted 2015-04-08 13:10:53 +02:00
Bootstrap's Grunt bot
8a9d698daf automatic grunt dist 2015-04-08 02:31:50 +00:00
Chris Rebert
bf3a64f2df grunt dist docs
[skip sauce]
2015-04-07 19:18:35 -07:00
Chris Rebert
05d381afc6 Upgrade to Holder v2.5.2
Fixes #16216, FWICT
2015-04-07 19:18:23 -07:00
Chris Rebert
4cf748b017 Carousel docs: fix typo in holder.js color 2015-04-07 18:52:59 -07:00
Bootstrap's Grunt bot
7c3034dfb0 automatic grunt dist 2015-04-07 01:30:48 +00:00
Bootstrap's Grunt bot
f62c014cbc automatic grunt dist 2015-04-05 07:10:30 +00:00
Bootstrap's Grunt bot
e2d5e084b2 automatic grunt dist 2015-04-05 07:01:05 +00:00
Bootstrap's Grunt bot
9c41aee780 automatic grunt dist 2015-04-05 06:50:29 +00:00
Mark Otto
9c0bd37661 Merge pull request #16208 from StevenBlack/issue.15100
(#15100) Eliminate spurrious padding in .bs-docs-header
2015-04-04 01:55:50 -07:00
Bootstrap's Grunt bot
a250673afc automatic grunt dist 2015-04-04 08:40:29 +00:00
Steven Black
d3cbf018a8 Eliminate spurrious padding in .bs-docs-header
I agree with all the comments here.

Rather than dicker with container nesting at this late juncture, near sunset for BS 3.0x, let's just fix and move on.  It's docs only.

This PR addresses issue #15100 and eliminates the unnecessary horizontal scrollbar that appears for width for width >=768px and <= 782px.

Tested on three different iOS devices and FireFox/Chrome on OSX and it's fine now.

The only difference is the text in .bs-docs-header is shifted left by 15-pixels, lines are 30 px longer so wrap less in some circumstances in some viewports.
2015-04-01 21:53:10 -04:00
fyquah95
4d153b9125 indented javascript/modal/using-grid-system sample code from 4 spaces to 2 spaces 2015-04-01 17:43:32 +08:00
Bootstrap's Grunt bot
bb6af65ca6 automatic grunt dist 2015-03-29 06:40:29 +00:00
Mark Otto
ce75f289f2 grunt 2015-03-28 23:33:11 -07:00
Bootstrap's Grunt bot
a922985788 automatic grunt dist 2015-03-29 04:10:35 +00:00
Bootstrap's Grunt bot
e260661ab8 automatic grunt dist 2015-03-29 04:00:36 +00:00
Bootstrap's Grunt bot
93bf800e1f automatic grunt dist 2015-03-28 00:50:33 +00:00
Patrick H. Lauke
3b28b75cf3 Remove wrong role="tabpanel" from parent container
As per discussion on https://github.com/w3c/wai-wcag-quickref/issues/2
and #13554
2015-03-27 11:57:03 +00:00
Bootstrap's Grunt bot
0fa643a8a3 automatic grunt dist 2015-03-27 08:50:27 +00:00
Bootstrap's Grunt bot
5833d079a0 automatic grunt dist 2015-03-26 05:40:28 +00:00
Bootstrap's Grunt bot
087c68bd85 automatic grunt dist 2015-03-26 05:10:31 +00:00
Bootstrap's Grunt bot
39a05d7420 automatic grunt dist 2015-03-26 05:00:30 +00:00
Bootstrap's Grunt bot
b6508f5d04 automatic grunt dist 2015-03-26 01:50:28 +00:00
Chris Rebert
caa84299ec Merge pull request #16158 from twbs/fix-16020
remove redundant aria-hidden usage from Modals
2015-03-25 18:40:44 -07:00
Chris Rebert
d6714d1383 Merge pull request #16157 from twbs/fix-16069
Document how to disable transitions in jQuery plugins
2015-03-25 18:14:15 -07:00
Chris Rebert
6c5e7dfce1 rm redundant aria-hidden usage from Modals; fixes #16020 2015-03-25 18:06:47 -07:00
Chris Rebert
e8a5112b31 Document how to disable transitions in jQuery plugins; fixes #16069
[skip sauce]
2015-03-25 17:56:59 -07:00
Chris Rebert
343827081f Properly document $(...).tab('show') method; fixes #16115
[skip sauce]
2015-03-25 17:47:56 -07:00
Chris Rebert
1bafd4c829 docs: #myTab => #myTabs, to slightly increase clarity 2015-03-25 17:39:44 -07:00
Chris Rebert
2f3076f20a add missing <code> within docs heading for .modal('handleUpdate') 2015-03-24 15:15:21 -07:00
Chris Rebert
d37bc2ae65 Merge pull request #15987 from twbs/fix-15972
add role="button" to a[data-toggle="collapse"]
2015-03-24 08:57:56 -07:00
Patrick H. Lauke
04280335f6 Add aria-expanded and aria-controls to docs navbar toggle
Also, use id rather class name for the navigation, as it's unique and
lets us use correct aria-controls (and without the use of id,
aria-expanded does not get updated correctly by the current dropdown
toggle script)
2015-03-24 10:32:53 +00:00
Patrick H. Lauke
dc4aa004d4 Add aria-expanded to navbar toggles 2015-03-24 10:30:12 +00:00
Patrick H. Lauke
6c2548e031 Move all tooltip callouts into appropriate section
Before, most callouts hierarchically came under Examples > Four
directions, which is not appropriate. Now they're under Markup
2015-03-23 22:06:22 +00:00
Patrick H. Lauke
debcb1de59 Callout for tooltips and keyboard/AT accessibility
Include callout explicitly mentioning tooltips should only be added to
focusable elements. Closes #16134
2015-03-23 21:53:30 +00:00
Bootstrap's Grunt bot
e22a73fd38 automatic grunt dist 2015-03-21 23:10:30 +00:00
Rodrigo Prado
fbe0836a8f Add docs on how to install Bootstrap via composer
Closes #16113
Closes #16114

[skip sauce]
2015-03-20 18:42:03 -07:00
Vignesh Nandha Kumar
5281d7b4bc Add .alert-warning related change to migration doc 2015-03-19 17:27:38 +05:30
Bootstrap's Grunt bot
eece194763 automatic grunt dist 2015-03-19 05:30:30 +00:00
Bootstrap's Grunt bot
f5250d0a0e automatic grunt dist 2015-03-16 15:50:28 +00:00
Chris Rebert
a10eb60bc0 full grunt 2015-03-16 08:44:41 -07:00
Chris Rebert
4d652035dc v3.3.2 => v3.3.4 2015-03-16 08:39:31 -07:00
Chris Rebert
66ceae7b75 Clarify that role="button" is required for dismiss-on-next-click popovers
Refs #15947
2015-03-16 00:57:23 -07:00
Bootstrap's Grunt bot
026e7ccf4e automatic grunt dist 2015-03-15 21:50:31 +00:00
Bootstrap's Grunt bot
fc99118179 automatic grunt dist 2015-03-15 11:30:30 +00:00
XhmikosR
d18a043ddc Run grunt. 2015-03-15 04:27:44 -07:00
Chris Rebert
f3ae9430f2 Document that .progress-bar-striped doesn't work in IE<=9; fixes #16058
[skip sauce]
2015-03-13 13:53:12 -07:00
Bootstrap's Grunt bot
ba1345f144 automatic grunt dist 2015-03-10 20:20:23 +00:00