0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Commit Graph

444 Commits

Author SHA1 Message Date
Chris Rebert
878f720ea1 Add role="tablist" & aria-multiselectable="true" to accordion .panel-group to improve accessibility
Refs #13555.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#collapse
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-08 12:47:44 -07:00
Chris Rebert
81f67e925a add role="tabpanel" to .panel-collapse to improve accessibility
Refs #13555.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#collapse
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-08 12:40:42 -07:00
Chris Rebert
4683beeedf Merge pull request #14085 from twbs/tab-lis-role-preso
add role="presentation" to tab <li>s to improve accessibility
2014-07-08 12:25:38 -07:00
Chris Rebert
e2b4f3429c Add role="tabpanel" to .tab-pane <div>s to improve accessibility
Refs #13554.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#tab-panel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-08 12:11:02 -07:00
Chris Rebert
5c1f4e1a0c add role="presentation" to tab <li>s to improve accessibility
Refs #13554.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#tab-panel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-08 12:00:43 -07:00
Mark Otto
933b38421c derp 2014-07-08 03:51:32 -07:00
Mark Otto
ddee04038f Fixes #14068: Update docs note for inline forms 2014-07-07 20:44:43 -07:00
Mark Otto
25a9095840 Merge branch 'master' of github.com:twbs/bootstrap 2014-07-07 20:29:51 -07:00
Mark Otto
32affe9835 more accurate homepage title 2014-07-07 20:29:43 -07:00
Chris Rebert
2e3f1a23f6 Merge pull request #14072 from twbs/carousel-gloss-buttons
Add screenreader text to prev/next carousel buttons in examples to improve accessibility
2014-07-07 20:16:52 -07:00
Chris Rebert
849bf58a54 Add screenreader text to prev/next carousel buttons in examples to improve accessibility
Refs #13556.
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-07 20:05:44 -07:00
Chris Rebert
94eff8c159 add role="listbox" to .carousel-inner to improve accessibility of Carousels
Refs #13556.
Per https://github.com/paypal/bootstrap-accessibility-plugin/#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin

[skip sauce]
2014-07-07 19:53:57 -07:00
Chris Rebert
5d1abf8b38 Merge pull request #14036 from twbs/fix-13575
Jekyll: Use non-minified assets when not running from GitHub Pages
2014-07-07 19:36:32 -07:00
Chris Rebert
7c50b9ad7a Add role="tablist" to .nav-pills in examples to improve accessibility
Follow-up to e9374c0609
Per f203dea4b6
Credit: https://github.com/paypal/bootstrap-accessibility-plugin & @rohk

[skip sauce]
2014-07-07 19:24:32 -07:00
Mark Otto
4f5efb84c9 Part 2 for fixing #13996: Add a docs callout to help folks using SVG images in IE8-10 2014-07-07 17:26:52 -07:00
Chris Rebert
719cde1a11 docs HTML5 validity fixup to 8e2348e9ed 2014-07-07 00:25:55 -07:00
Chris Rebert
520b3547a4 nitpick phrasing of the docs added for #13835 2014-07-07 00:10:49 -07:00
Chris Rebert
ddffe76961 grammar fix; indicate that img[src] shouldn't actually be empty 2014-07-07 00:04:14 -07:00
Mark Otto
8e2348e9ed Fixes #13746: Add docs section for brand image 2014-07-06 18:39:37 -07:00
Mark Otto
5e41a23ec5 Fixes #13835: More explicitly document mobile dropdown menu dismissing behavior 2014-07-06 16:55:35 -07:00
Mark Otto
44f83fff90 Merge pull request #14021 from CFXd/add_collapsed_default_class_to_navbar_collapse_button
Add collapsed default class to navbar-toggle
2014-07-06 16:37:42 -07:00
Chris Rebert
7933a50ee5 Merge pull request #14034 from twbs/deprecate-modal-remote
Deprecate the `remote` option of modals?
2014-07-05 23:48:25 -07:00
Chris Rebert
7f4af4aeea remote modal docs: mention jQuery.load and other JS options as alternatives
[skip sauce]
2014-07-05 23:43:29 -07:00
Mark Otto
d55462fae8 grunt 2014-07-05 20:10:44 -07:00
XhmikosR
97ca848e16 Docs: add missing example code code for kbd after #13351. 2014-07-05 15:51:03 +03:00
Chris Rebert
1dc54dc160 use non-minified Bootstrap JS when on non-gh-pages 2014-07-03 13:40:47 -07:00
Chris Rebert
92fd25a2a2 use non-minified docs JS on non-gh-pages 2014-07-03 13:18:44 -07:00
Chris Rebert
b793fbb13a use non-minified docs CSS on non-gh-pages 2014-07-03 13:12:58 -07:00
Chris Rebert
d9f356f05f use non-minified BS Theme CSS on non-gh-pages 2014-07-03 13:06:54 -07:00
Chris Rebert
6b46d4d8c1 use non-minified Bootstrap CSS on non-gh-pages 2014-07-03 13:05:48 -07:00
Chris Rebert
24e51590b7 modal docs formatting tweak
[skip sauce]
2014-07-03 12:58:20 -07:00
Chris Rebert
8340d664ce Mark the remote option of the Modal plugin as deprecated.
Follow-up to https://github.com/twbs/bootstrap/issues/13087#issuecomment-46563760
Closes #13087 as WONTFIX.
Closes #13597 as WONTFIX.
2014-07-03 12:58:10 -07:00
Chris Rebert
456bd67da8 Merge pull request #13986 from twbs/address-13874
docs: use valid JSON in compound option value examples
2014-07-03 11:07:50 -07:00
Mark Otto
a091c90063 fix new form validation 2014-07-02 22:12:39 -07:00
Mark Otto
d67fe0f5b9 Merge branch 'pr/14011' 2014-07-02 22:06:32 -07:00
Mark Otto
ebdecacd65 fix up examples 2014-07-02 22:06:28 -07:00
Chris Rebert
afbe7114b4 clarify the iOS virtual keyboard bug with respect to navbars 2014-07-02 17:09:13 -07:00
Michael Silber
1e407c81f1 Add collapsed default class to navbar-toggle 2014-07-02 16:49:03 -04:00
Zac Echola
1136f9346a Moves checkbox/radios into "Validation states" example. 2014-07-02 11:32:25 -05:00
Zac Echola
afdc9c4b32 Documents radio and checkbox validation states
References #14010

fixing duped IDs

fix ALL the duped IDs.

make example id match actual id
2014-07-02 11:05:28 -05:00
Chris Rebert
8deab3a95d Merge pull request #13988 from twbs/fix-13896
doc that you can't use both data-ride and $().carousel() on the same carousel
2014-06-30 14:49:11 -07:00
Patrick Robertson
dcb09f3b09 Fix inconsistency between demo and displayed code for modal demo
Fixes #13991
2014-06-30 19:19:18 +07:00
Chris Rebert
3dfad4f1ad doc that you can't use both data-ride and $().carousel() on the same carousel; fixes #13896
[skip sauce]
2014-06-29 21:16:44 -07:00
Chris Rebert
48e35cb830 docs: use valid JSON in compound option value examples
Fixes #13874.
[skip sauce]
2014-06-29 21:08:42 -07:00
Chris Rebert
d23d9ee4a0 fix #13979 2014-06-29 19:58:09 -07:00
Mark Otto
51f924ea24 fixes #13968 2014-06-28 16:23:06 -07:00
Chris Rebert
2f7d5fd26b docs: minor correction to the focus-triggered popover demo explanation 2014-06-26 12:21:45 -07:00
XhmikosR
10ea20515c Fix link to compiling info. Fixes #13938.
[skip sauce]
2014-06-26 11:37:08 -07:00
Chris Rebert
43b7a942bc fix class names in popover live examples in docs 2014-06-26 10:51:07 -07:00
Mark Otto
4dcdc08d89 grunt 2014-06-25 23:03:40 -07:00
Julian Thilo
25b06d927f grid class inconsistency 2
32bde78e19
2014-06-23 23:36:18 +02:00
Mark Otto
bc895a4b43 Merge pull request #13900 from twbs/customize_on_your_own
Remove broken link
2014-06-23 10:42:13 -07:00
Mark Otto
32bde78e19 grid class inconsistency /cc @juthilo 2014-06-23 10:41:45 -07:00
Ilya Radchenko
d4ce4dbf12 fix typo in css - buttons 2014-06-23 12:25:14 -04:00
Julian Thilo
7339759fd6 Remove broken link to Customizing Bootstrap 2014-06-23 17:51:02 +02:00
Mark Otto
34248437c3 tweak alert per #13875 2014-06-19 19:54:25 -07:00
Mark Otto
a4fa8d07c8 grunt dist 2014-06-19 15:24:24 -07:00
Mark Otto
00cc166671 ids over names 2014-06-19 15:22:49 -07:00
Bas Bosman
8c1160d91b Document IE8 font-face weirdness 2014-06-19 16:07:18 +02:00
Bas Bosman
91d2cf848b Fix @gray-light in docs 2014-06-19 14:56:43 +02:00
Mark Otto
bd541083f1 Nuke equal height columns example; got a few bugs that make it not ready for prime time in v3.2 2014-06-19 02:02:23 -07:00
Mark Otto
99f176e7ec rewrite striped and active to deprecate the parent selectors, change the docs 2014-06-18 22:35:05 -07:00
Mark Otto
d222c21f84 grunt 2014-06-18 22:24:56 -07:00
Mark Otto
02642350f8 Fixes #13400, #13415: actually document the existing practice for links in panel headings 2014-06-18 22:16:15 -07:00
Mark Otto
11cf54f9df grunt 2014-06-18 18:22:11 -07:00
Mark Otto
74a264fb98 fixes #13021: add .form-group-sm/-lg 2014-06-18 18:19:17 -07:00
Chris Rebert
d75506fbec among supported WebKit/Blink browsers, this now only applies to Safari
Missed this in 4cbc8d49b1
2014-06-18 15:12:17 -07:00
Bas Bosman
128e52ff29 Fix dismissible spelling 2014-06-18 00:00:28 +02:00
Chris Rebert
5b9e2bf126 popovers.html: fix typo: "Dimissmisable" 2014-06-17 12:57:54 -07:00
Heinrich Fenkart
5e6967358f Update generated markup by the tooltip plugin in docs; fixes #13796 2014-06-12 05:35:27 +02:00
Bas Bosman
7a0f4416a5 Add dropped text-justify 2014-06-11 17:39:02 +02:00
Heinrich Fenkart
03b556bbc5 Follow-up to #13671; improves consistency of text with previous examples
Also fixes a small indentation error.
2014-06-11 08:33:30 +02:00
Mark Otto
ed2da1c354 Merge pull request #13351 from Cecchi/nested-kbd
Add nested kbd element styles for actual keys or inputs
2014-06-10 23:09:25 -07:00
Chris Rebert
cb85f2ad9b fix grammar in new callout 2014-06-10 23:08:30 -07:00
Mark Otto
f77d0aa591 fixes #13356: clarify use of clearfix on parents 2014-06-10 23:06:25 -07:00
Mark Otto
1d97cbed0f Merge pull request #13671 from 04818419/text-transformation
text transformation added
2014-06-10 22:56:38 -07:00
Mark Otto
dacaf619d2 docs callout for #13219 2014-06-10 22:39:27 -07:00
Mark Otto
5c6c0a194d fixes #13775: tweak grid nesting docs about # of cols, change up example slightly 2014-06-10 21:24:44 -07:00
Mark Otto
dcbe484a09 New text align class, .text-nowrap, for preventing text from breaking to new lines. Applies it to the grid docs table. 2014-06-10 21:20:34 -07:00
Mark Otto
e8100c3b3c fix thumbnails docs 2014-06-10 21:14:04 -07:00
Chris Rebert
ff7e8d5054 button-groups.html: fix grammar: "in on" => "on" 2014-06-10 18:09:30 -07:00
Chris Rebert
bbdaf0f244 Merge pull request #13780 from twbs/fx-30
<input> buttons line-height Firefox bugfix has been shipped!
2014-06-10 11:52:20 -07:00
Chris Rebert
af45472dfe <input> buttons line-height Firefox bugfix has been shipped!
Remove Wall of Browser Bugs entry.
Update mention of the bug in the CSS docs.
[skip sauce]
2014-06-10 11:48:12 -07:00
Mark Otto
61dbc6134e Merge branch 'master' of github.com:twbs/bootstrap 2014-06-09 21:56:45 -07:00
Mark Otto
2535f7c79a fixes #13769 2014-06-09 21:45:55 -07:00
Mark Otto
d2061e8aeb relative 2014-06-09 21:26:57 -07:00
Mark Otto
24a9b34add typo 2014-06-09 21:08:24 -07:00
Mark Otto
b35840e48d simpler and updated docs copy for icon font file paths 2014-06-09 21:00:27 -07:00
XhmikosR
29d00e0cd7 Move apple-touch-icon-precomposed.png and favicon.ico in docs root.
This way, it works in all browsers.
2014-06-09 01:14:44 +03:00
XhmikosR
79cbf5501e Use a 152x152 apple touch icon. 2014-06-09 01:14:44 +03:00
Chris Rebert
dd7ee517e4 add docs for #13745
Good catch @juthilo
[skip sauce]
2014-06-06 17:29:36 -07:00
Chris Rebert
95ff94091e add missing role="menu" attrs to .dropdown-menu elements in docs+examples
Docs audit prompted by #13697.
[skip sauce]
2014-05-28 17:18:22 -07:00
Chris Rebert
ad34c3b061 fix #13697
[skip sauce]
2014-05-28 16:52:47 -07:00
Konstantin Kulinicenko
585f4787f7 text transformation added
Transform text in components with text capitalization classes.
2014-05-24 15:33:15 +02:00
Mark Otto
338cff1359 clarify 2014-05-22 21:39:47 -07:00
Mark Otto
abbf6da6aa tighten up callouts and remove backgrounds 2014-05-22 21:12:13 -07:00
Mark Otto
a375069704 Merge branch 'master' of github.com:twbs/bootstrap 2014-05-22 20:57:10 -07:00
Mark Otto
ef360b61b5 clarify and danger-ify affix docs usage requirements, per #10235 2014-05-22 20:14:32 -07:00
Mark Otto
326f6b2b87 Merge branch 'master' into docs-theme-toggler
Conflicts:
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/assets/css/docs.min.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
2014-05-22 18:54:25 -07:00
Max Kramer
ee12ce8305 Add aria-haspopup and aria-expanded attributes to dropdown plugin
1. Add aria-haspopup="true" and aria-expanded="false" to dropdown docs
2. Toggle aria-expanded between "true" and "false" when opening and closing dropdown

Satisfy item 1 from https://github.com/paypal/bootstrap-accessibility-plugin#dropdown. See #13553.
2014-05-22 18:13:41 -04:00
XhmikosR
cae7dee236 Revert 4f9270cc20.
The validator doesn't choke anymore on this and even though it's not spec compliant, it's needed for some IE versions. So until we move favicon.ico in root, this should do the job.
2014-05-22 10:55:28 +03:00
Mark Otto
707b362b80 Merge branch 'master' into docs-theme-toggler
Conflicts:
	docs/assets/css/docs.min.css
2014-05-20 23:27:40 -07:00
Chris Rebert
511240b377 update link to Grunt setup & info 2014-05-17 22:55:29 -07:00
Attila Dobi
f47ad79538 add target option to Affix plugin 2014-05-16 13:07:45 -07:00
Chris Rebert
00fcf072c6 update default 'template' value in popover docs 2014-05-14 18:43:14 -07:00
Chris Rebert
3465d984fb add 'container' option motivation to tooltip docs 2014-05-14 18:23:58 -07:00
Chris Rebert
6fdbd8e3cf add 'selector' option motivation to tooltip docs 2014-05-14 18:21:19 -07:00
Chris Rebert
e839a49995 add multiple triggers info to popover docs 2014-05-14 18:21:19 -07:00
Chris Rebert
90cfa1a44d add 'viewport' option to popover docs; #12328 erratum 2014-05-14 18:20:55 -07:00
Chris Rebert
99f6f700f4 docs: sort tooltip & container options for sanity 2014-05-14 18:12:18 -07:00
XhmikosR
ceda948372 Remove unneeded spaces from pre. 2014-05-13 17:14:34 +03:00
Chris Rebert
239d5e0e39 add link to StackOverflow question regarding Android <select> bug 2014-05-13 04:19:51 -07:00
XhmikosR
d0fca8aaad Remove RTL leftovers. 2014-05-13 09:26:24 +03:00
XhmikosR
7a765d1f8b Update jQuery to v1.11.1. 2014-05-13 08:33:23 +03:00
Mark Otto
be00b82bb9 nuke the rtl docs 2014-05-12 19:55:58 -07:00
Mark Otto
96bdc56fde cleanup 2014-05-10 13:31:18 -07:00
XhmikosR
ed98b3dfc0 Update html5shiv to 3.7.2. 2014-05-10 09:23:53 +03:00
Chris Rebert
a217ed776d Merge pull request #13558 from twbs/nav-tabs-role-tablist
add some ARIA roles to tabs for improved accessibility
2014-05-09 23:12:46 -07:00
Chris Rebert
b7ac0d401f add role="button" to [data-slide="prev"],[data-slide="next"] to improve accessibility
Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#carousel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
2014-05-09 15:31:52 -07:00
Chris Rebert
0a808fc56c add role="tab" to .nav-tabs [data-toggle="tab"]
Per https://github.com/paypal/bootstrap-accessibility-plugin#tab-panel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
2014-05-09 15:12:57 -07:00
Chris Rebert
e9374c0609 add role="tablist" to .nav-tabs in examples to improve accessibility
Per https://github.com/paypal/bootstrap-accessibility-plugin#tab-panel
Credit: https://github.com/paypal/bootstrap-accessibility-plugin
2014-05-09 15:05:20 -07:00
Quy Ton
5f6304bd65 Remove outdated rtl nav links 2014-05-08 07:20:25 -07:00
Chris Rebert
bdd822a94c regenerate minified docs JS & CSS 2014-05-07 20:19:40 -07:00
Chris Rebert
5d8880fdfa move Grunt info from README into HTML docs
Fixes #13470
2014-05-07 19:38:27 -07:00
Chris Rebert
7d0f7e8441 add button to toggle the optional theme when viewing the docs; fixes #9764 2014-05-07 16:12:42 -07:00
Mark Otto
f0daa64a29 move rtl to getting started, per @cvrebert's feedback 2014-05-07 15:30:27 -07:00
Mark Otto
7408917887 Merge pull request #13499 from twbs/clarify-rtl
emphasize that bootstrap-rtl.css & bootstrap.css should not be used together
2014-05-07 15:28:08 -07:00
Chris Rebert
16cff71ba4 Merge pull request #13504 from Quy/resputil
Fix .visible-print deprecation version #.
2014-05-07 14:35:33 -07:00
Chris Rebert
d36c150569 tweak formatting in Carousel docs for clarity; fixes #13522 2014-05-06 11:34:46 -07:00
Quy Ton
ed410667df Fix .visible-print deprecation version #. 2014-05-04 09:02:55 -07:00
Chris Rebert
f71f2dbeb0 emphasize that bootstrap-rtl.css & bootstrap.css should not be used together 2014-05-04 02:24:04 -07:00
Chris Rebert
04028cf6fe add RTL CSS files to "What's included" section of docs 2014-05-04 02:20:07 -07:00
Chris Rebert
d6104b1151 include RTL CSS CDN URL in Download docs 2014-05-04 02:09:34 -07:00
Chris Rebert
ce2cad6366 Merge pull request #13493 from twbs/close-btn-access
Improve accessibility of close buttons in modals & alerts
2014-05-04 00:33:58 -07:00
Mark Otto
3bc95979a9 Merge pull request #13495 from twbs/android-firefox
Officially support Android Firefox
2014-05-04 00:19:59 -07:00
Chris Rebert
c4a3848d57 mark Android Firefox as officially supported 2014-05-03 23:02:48 -07:00
Chris Rebert
588889cdc5 document #13390 2014-05-03 22:56:45 -07:00
Chris Rebert
949b81f511 Improve accessibility of close buttons in modals & alerts
Adds textual caption to the close buttons. The "X" multiplication sign isn't very meaningful to screenreaders.

Credit: https://github.com/paypal/bootstrap-accessibility-plugin
Per:
    https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#alert
    https://github.com/paypal/bootstrap-accessibility-plugin/blob/master/README.md#modal-dialog
2014-05-03 19:53:34 -07:00
Mark Otto
f9b88cbe9e Merge pull request #13461 from patrickhlauke/docs-dropdown-sr-only
Remove sr-only from components/dropdowns example
2014-05-01 22:41:06 -07:00
Patrick H. Lauke
463e02511b Remove sr-only from components/dropdown entirely
possibly less confusing option, as per discussion, is to always show the
dropdown trigger button (both live and in that code example)
2014-05-01 20:26:42 +01:00
Chris Rebert
42c8daea75 Not Less' fault per se 2014-05-01 11:45:48 -07:00
Chris Rebert
99f22d97ba Merge pull request #13434 from twbs/fix-13247
document grid column wrapping behavior; fixes #13247
2014-04-30 20:16:30 -07:00
Chris Rebert
f793853609 document grid column wrapping behavior; fixes #13247 2014-04-30 20:15:46 -07:00
Mark Otto
4c3ef52fc1 Merge branch 'pr/13320'
Conflicts:
	dist/css/bootstrap-rtl.min.css
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/dist/css/bootstrap-rtl.min.css
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
2014-04-30 19:48:22 -07:00
Mark Otto
a80eb1eb50 explain 2014-04-30 19:47:50 -07:00
Mark Otto
abc797696d Merge pull request #13437 from saas786/master
fixes #13367
2014-04-30 17:26:37 -07:00
Patrick H. Lauke
7026c9626a Remove sr-only from components/dropdowns example
Assuming sr-only is used in the actual live code so that the menu can be
shown open already ... but having sr-only in the highlighted example
code itself is confusing/misleading.

Also, change the text for the button from "Dropdown" to "Dropdown
trigger" for clarity (and it then matches
http://getbootstrap.com/javascript/#dropdowns)
2014-04-29 20:52:35 +01:00
Chris Rebert
bde5f1fe9f Merge pull request #13422 from twbs/ie-emulation-modes-warning
Warn about IE emulation modes in docs+examples
2014-04-27 22:29:14 -07:00
Chris Rebert
a84a3693b1 add ie-emulation-modes-warning.js to docs & examples 2014-04-27 22:08:44 -07:00
Chris Rebert
686a45a84b Merge pull request #13435 from twbs/doc-less-import-glyphicons
Document that @import-ing Bootstrap can break the icon font path
2014-04-27 20:45:35 -07:00