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

766 Commits

Author SHA1 Message Date
Mark Otto
e11c634be9 fixes #15311: mention in docs requirement for .btn-group-* sizing on immediate .btn-group 2014-12-07 22:26:19 -08:00
Patrick H. Lauke
202f1f8d69 `<abbr>` with title also useful for AT
...and remove the redundant paragraph for basic abbreviation, which
simply repeats what was just said above.
2014-12-07 20:56:38 +00:00
Patrick H. Lauke
353d8395ae Expand advice about adding labels
Harmonizing this with same advice given for CSS inline forms
2014-12-07 20:56:37 +00: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
08f388679b tweak grid docs copy
[skip sauce]
2014-12-06 13:55:31 -08:00
Chris Rebert
7e758f60fc Repeat warning comment about keeping "What's included" sections in sync
Refs #15238
[skip sauce]
2014-12-05 11:50:55 -08: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
TJ
f837a3f775 Remove "Separated link" in example where it's not
Removed "Separated link" in example where it's not separated. This may confuse people to think that it is separated.

I don't want to sound nitpick, but I've been working with a client maintaining a custom internal Bootstrap installation with customized docs, so I've been getting a lot of feedback from client developers using the docs.
2014-12-04 19:00:31 -05:00
Mark Otto
a17f23c022 nuke the other incomplete example per @ianw 2014-12-01 01:39:31 -08:00
Mark Otto
0eb2c922d8 Merge branch 'master' of github.com:twbs/bootstrap 2014-11-30 17:11:24 -08:00
Mark Otto
88ec5152da clarify collapse example with link and button triggers; also mention classes 2014-11-30 17:10:13 -08:00
Quy Ton
a6950ce276 Add .media-object in docs 2014-11-30 07:44:14 -08:00
Mark Otto
65f72ff095 Merge pull request #15133 from patrickhlauke/docs-table-fixes
Fixes to scope
2014-11-29 23:17:36 -08:00
Mark Otto
9928144dc4 Fixes #15241: Add simple example to docs for collapse plugin 2014-11-29 23:03:47 -08:00
Mark Otto
1de638f830 fixes #15164: wrap disable pagination spans in another span 2014-11-29 18:27:51 -08:00
Mark Otto
c9289691ba fix the run-on 2014-11-29 16:53:37 -08:00
Peter Blazejewicz
c1885ef58b Add CSS source maps reference to docs. Closes #15211
- update distribution file list with relevant files
- add a short reference to CSS source map purpose
- add link to Google Chrome developer network article
2014-11-27 22:03:32 +01:00
Chris Rebert
44447eeefe Give all embedded live docs examples data-example-id attrs
Refs #11410
2014-11-24 17:09:32 -08:00
Julian Thilo
c022d88ac5 Merge pull request #15108 from zacechola/irc_room
corrects IRC room
2014-11-24 15:46:14 +01:00
Julian Thilo
7bf002d63d Fix #15194: Shrink media link area 2014-11-22 13:45:32 +01: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
Quy Ton
347ad61010 Fix name spelling 2014-11-17 08:05:26 -08:00
Chris Rebert
03f35d2dab Since Safari has released new fixed versions, we're unlikely to take any further action on this. 2014-11-17 03:19:05 -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
XhmikosR
d782eed426 Merge pull request #15129 from twbs/examples-img-alt
Specify `img` alternative text.
2014-11-17 11:31:21 +02:00
Chris Rebert
7876ebd2ed rm redundant role="button" from <button> 2014-11-16 16:34:28 -08:00
XhmikosR
1a2baf4873 Merge pull request #15139 from patrickhlauke/docs-button-section-restructure
Docs button section restructure
2014-11-16 17:42:33 +02:00
XhmikosR
5245bafb92 Merge pull request #15135 from hillai/patch-1
Add modal autofocus example
2014-11-16 17:42:05 +02:00
hillai
0ada807ce6 Add modal autofocus example 2014-11-16 16:48:08 +02:00
Patrick H. Lauke
cb8581580c Move button-tags section to start of button section 2014-11-15 00:26:22 +00:00
Patrick H. Lauke
25ef6ad625 Move context-specific callout to general tag usage 2014-11-15 00:25:13 +00:00
Chris Rebert
729a115c88 split .form-inline .input-group into separate docs example 2014-11-14 12:03:54 -08:00
Patrick H. Lauke
db4e5efb8f Fixes to scope
as discssued in
https://github.com/twbs/bootstrap/issues/15117#issuecomment-63029993

- added ``scope="row"`` to row headers
- made sure row headers are actual ``<th>`` elements
- removed ``scope="col"`` where it was redundant
- simplified table examples with (to me) unnecessary
``rowspan``/``colspan`` (unless you really want complex tables, in which
case we would need full-on ``id`` and ``headers`` attributes to make
sure each table cell has an explicit association with the related header
cells - overkill, in my opinion)
- one table (in typography) left header-less, as it's more or less presentational (though its structure is still important, hence not adding ``role="presentation"``)
2014-11-14 13:40:09 +00: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
Patrick H. Lauke
27d9d35ffd Expand caveat for disabled fieldsets and links 2014-11-14 10:52:56 +00:00
XhmikosR
4d2fb67050 Specify img alternative text. 2014-11-14 11:28:17 +02:00
Quy Ton
cd03436379 Fix link 2014-11-13 22:20:30 -08:00
Chris Rebert
7bdc307b70 clarify that Bower is one among several installation methods 2014-11-13 15:18:55 -08:00
Chris Rebert
3a96a80a1b Merge pull request #15093 from twbs/id-callouts
Give all docs callouts IDs
[skip sauce]
2014-11-13 12:24:03 -08:00
XhmikosR
6ce4ca75a2 Fix a small grammar mistake.
[ci skip]
2014-11-13 22:18:02 +02:00
Chris Rebert
ea407666ce give all docs callouts IDs
[skip sauce]
2014-11-13 12:16:03 -08:00
XhmikosR
5660be42fa Use a 40x40 image for the navbar brand image example.
Saves 3.4KB.
2014-11-13 22:09:38 +02:00
Chris Rebert
e5c888f4a2 Fix .form-inline docs example
Make sample code match live example
Move <label> out of .input-group into .form-group instead
Change field from Email to Username to make it less redundant, slightly more realistic
Add <label> for Username field for consistency
Fixes #15118
2014-11-13 11:32:33 -08:00
Zac Echola
bf43c9cf9f escaped uri 2014-11-13 09:12:31 -06:00
Chris Rebert
ddf39cc2e7 Don't line wrap event names in JS plugin docs 2014-11-12 16:32:51 -08:00
Chris Rebert
82eaefcd43 add link to MDN docs regarding iOS Safari element clickability 2014-11-12 16:16:10 -08:00
Zac Echola
75dfed7f8f corrects IRC room 2014-11-12 15:31:36 -06: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
84dcd226df Merge pull request #15094 from twbs/js-navs
JS docs: add Options, Methods, Events subsections to nav sidebar
2014-11-12 10:06:07 -08:00
Chris Rebert
b87370c28f navbar callouts cleanup
Move all callouts to be adjacent to each other
Combine JS-related callouts into a single callout
2014-11-11 21:22:30 -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
cb9531f378 Merge pull request #15091 from twbs/popovers-heading
move popover examples heading to directly before the actual examples
2014-11-11 19:53:49 -08:00
Chris Rebert
125945eb90 add missing dots to .sr-only class mentions, for consistency w/ rest of docs 2014-11-11 19:51:10 -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
Patrick H. Lauke
eb580f739c Improved accessible glyphicon advice/use
...to actually make it consistent with what I said in the glyphicon docs
section...
2014-11-11 22:13:25 +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
Chris Rebert
c513f58c6a Remove X-UA-Compatible caveat from Validators docs
Refs #15072
2014-11-10 13:14:33 -08:00
XhmikosR
5339f7c8d5 Merge pull request #15009 from patrickhlauke/glyphicon-accessibility-tweaks
Glyphicon accessibility tweaks
2014-11-10 12:30:34 +02:00
Patrick H. Lauke
eb74d8c863 Accessibility tweaks and explanation for glyphicons
- add aria-hidden="true" to avoid SRs unintentionally reading out the
Unicode character (see
http://www.filamentgroup.com/lab/bulletproof_icon_fonts.html)
- callout with advice on accessible icon usage
- replaced sr-only text in examples with (in the case of button) cleaner
aria-label
- additional example of icon used to convey meaning (in a
non-interactive control)
2014-11-10 08:55:58 +00:00
Mark Otto
eb74a8cbf3 darken primary blue for accessibility contrast on link colors 2014-11-09 23:11:28 -08:00
Chris Rebert
d904429e05 Merge pull request #14986 from twbs/safari-broken-printing-doc
Add #14868 to the compatibility docs
2014-11-05 14:59:24 -08: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
Heinrich Fenkart
d107004278 Remove duplicate code from Customizer/Gruntfile by sharing it 2014-11-04 12:35:38 +01:00
Chris Rebert
594831f4f3 Add event.relatedTarget + data-* example to Modal docs
Fixes #14245
2014-11-03 13:37:27 -08:00
Chris Rebert
f0d8894d54 Add #14868 to the compatibility docs 2014-11-03 10:56:30 -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
Chris Rebert
88dfd954fa Replace deprecated uses of .pull-left & .pull-right in .media docs
Refs https://github.com/twbs/bootlint/pull/153
[skip sauce]
2014-10-30 11:36:24 -07: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
Mark Otto
22baa8153b fixes #14911: bump dependencies to fix customizer text from being cut shor 2014-10-29 09:42:00 -07:00
Mark Otto
a75c6d84e1 grunt 2014-10-28 23:08:42 -07:00
Mark Otto
aad0f00887 indentation and comment 2014-10-28 23:04:25 -07:00
XhmikosR
a515191afd Customizer: include the minified files only on GitHub pages. 2014-10-29 07:30:57 +02:00
Chris Rebert
c897f9d5f0 Safari v8.0 still suffers from Justified Nav rendering bug 2014-10-28 21:24:45 -07:00
Heinrich Fenkart
a7f58a8356 grunt 2014-10-29 04:30:31 +01:00
Mark Otto
2758cfecd8 Merge pull request #14885 from twbs/remove-baseurl
Remove `baseurl` as it doesn't serve any real purpose.
2014-10-28 17:21:04 -07:00
Chris Rebert
d87a636ff9 add missing href="#" to .btn-group-justified example
[skip sauce]
2014-10-28 16:10:43 -07:00
Chris Rebert
3eec86e2e5 add missing hrefs to <a>s in docs+examples 2014-10-28 16:05:32 -07:00
Chris Rebert
780c9b05fe reads more smoothly
For @XhmikosR
2014-10-28 13:11:35 -07:00
Chris Rebert
223d9b4b6b Merge branch 'master' into jonschlinkert/master 2014-10-28 11:10:51 -07:00
Chris Rebert
a43d4767ba .bs-customizer-input => .col-xs-4 2014-10-27 15:02:21 -07:00
Chris Rebert
032a5ab72f add clearfix divs to customizer input rows 2014-10-27 15:00:30 -07:00
Chris Rebert
af70ac8ae1 Tweak parser to ignore empty Less section docstrings; fixes #14878 2014-10-27 13:50:45 -07:00
XhmikosR
3908235e0f Remove baseurl as it doesn't serve any real purpose. 2014-10-27 19:35:59 +02:00
Heinrich Fenkart
66e140db82 Docs: progress bars' animation now needs to be manually toggled
Refs #14409
2014-10-26 20:43:41 +01:00
jonschlinkert
3e9b461766 Replaces markdown.js with [remarkable](https://github.com/jonschlinkert/remarkable).
- remarkable has 100% support for [commonmark](http://jgm.github.io/CommonMark/spec.html)
  - [faster](https://github.com/jonschlinkert/remarkable/tree/master/benchmark)
  - easier to monkeypatch. this is a goal of ours, might be useful to you at some point given the custom tokenizing/parsing you're doing for documentation.
2014-10-26 06:38:10 -04:00
Mark Otto
5eb08f5d8d Merge pull request #14748 from twbs/apple-touch-icon
Docs: Use a 180x180 apple-touch-icon-precomposed.png.
2014-10-25 21:02:08 -07:00
Mark Otto
dbef67f198 fix validation 2014-10-25 18:53:43 -07:00
Mark Otto
e795ea1084 Fixes #14791: document dropdown dividers 2014-10-25 18:44:55 -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
Mark Otto
38217ee405 Merge branch 'pr/14801'
Conflicts:
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
	docs/assets/js/customize.min.js
	docs/assets/js/raw-files.min.js
	docs/dist/css/bootstrap.css.map
	docs/dist/css/bootstrap.min.css
2014-10-25 18:16:40 -07:00
Mark Otto
6e3c55a115 grunt 2014-10-25 18:13:50 -07:00
XhmikosR
db550a9235 Run grunt. 2014-10-25 14:12:21 +03:00
Jenn Dodd
e8643ed8b3 Remove .media-object from docs.
Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
2014-10-23 18:48:50 -04:00
Nicole Sullivan
919b4ccb15 Fixes #14799: Add vertical alignment of image in media component
Signed-off-by: Jenn Dodd <jedodd@pivotal.io>
2014-10-23 18:48:18 -04:00
XhmikosR
f33ed634fc Docs: Use a 180x180 apple-touch-icon.png.
Refs:
1c4fcf3214
345925f043

[ci skip]
2014-10-23 09:17:27 +03:00
XhmikosR
41dbc53b9b Fix a small typo in comment.
[ci skip]
2014-10-23 09:11:12 +03: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
fece552ce0 Merge pull request #14841 from twbs/role-button
add role="button" to a couple more dummy-anchor btns
2014-10-22 08:31:35 -07:00
XhmikosR
908190a6c5 Replace the unicode ellipsis symbol with 3 dots.
[ci skip]
2014-10-22 13:49:24 +03:00
Heinrich Fenkart
930c422f22 grunt 2014-10-22 04:28:16 +02:00
Chris Rebert
f26dde085f add role="button" to a couple more dummy-anchor btns 2014-10-20 20:16:09 -07:00
Chris Rebert
8a6a253355 clarify that "build & test everything" Grunt task requires Jekyll
Refs #13131.
2014-10-14 11:41:30 -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
82eaf3cdce Fixes #14251: Don't use hidden screen reader content in docs table so that Safari doesn't screw up overflow: hidden; content 2014-10-02 22:18:39 -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
Mark Otto
2aedd274f2 fixes #14714: don't use specific value in buttons docs 2014-10-02 20:09:23 -07: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
8e25695d09 Fixes #14687: Include video element in responsive embed 2014-09-26 13:45:28 -07:00
Chris Rebert
89d437deda rm redundant grid column classes from responsive utilities demos 2014-09-25 09:09:19 -07:00
Chris Rebert
e70fc61eff fix typo in Tools section of Getting Started docs 2014-09-24 11:10:18 -07:00
Mark Otto
73117814ea Merge pull request #14677 from twbs/bootlint-docs
Mention Bootlint in Getting Started docs under new Tools section
2014-09-23 22:03:35 -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
afde59ef87 Mention Bootlint in Getting Started docs under new Tools section
[skip sauce]
2014-09-23 18:24:37 -07:00
Chris Rebert
f334a15e9e Also mention the "no justified navbars" limitation in the Nav docs
Refs #14598
[skip sauce]
2014-09-23 18:06:39 -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
5d051736a4 Add brief note about justified navs being unsupported to fix #14598 2014-09-23 14:29:48 -07:00
Mark Otto
ccecb7cde4 fixes #14654: callout for scrollspy-nav link 2014-09-22 20:27:23 -07:00
Chris Rebert
be79bef527 Safari percentages were fixed in v7.1 & iOS 8.0; fixes #14663 2014-09-22 13:48:05 -07:00
Chris Rebert
1f329f8f17 the justified nav bug is still present in Safari v7.1 2014-09-21 15:34:57 -07:00
Mark Otto
e33922eb06 grunt 2014-09-18 19:11:47 -07:00
Mark Otto
642fbf7e36 Fixes #14642: Add docs mention for blank checkboxes and radios 2014-09-18 19:00:26 -07:00
Chris Rebert
3a1bf02ebf tweak grunt docs description 2014-09-17 17:48:40 -07:00
Mark Otto
c5c67d0f54 Fixes #14628, #14629: Add note to docs about grunt docs command 2014-09-17 11:28:24 -07:00
Chris Rebert
48c67095b0 Merge pull request #14577 from twbs/pagination-role-nav
Wrap .pagination & .pager in <nav> to improve accessibility
2014-09-16 13:01:00 -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
vsn4ik
73224f6564 Update github links in footer. 2014-09-13 12:59:42 +04: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
Chris Rebert
b2088366a3 Wrap .pagination & .pager in <nav> to improve accessibility 2014-09-08 20:52:07 -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
Mark Otto
6cec0399d0 grunt 2014-09-08 11:40:23 -07:00
Mark Otto
c20d00cf05 Merge pull request #14546 from twbs/address-14541
Address #14541 by tweaking badge docs
2014-09-06 21:21:13 -07:00
Mark Otto
f5a05fe9e9 Merge pull request #14543 from twbs/validation-docs
Add section to docs explaining our stance on validators
2014-09-06 12:24:45 -07:00
Chris Rebert
bb8ca6b786 Address #14541 by tweaking badge docs
* move unrelated .btn-primary example out of the pills subsection
* remove excessive .nav-stacked example
2014-09-05 16:04:56 -07:00
Chris Rebert
c447cc7bc1 Add section to docs explaining our stance on validators 2014-09-05 11:59:04 -07: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
af5f2213f0 Merge pull request #14527 from twbs/firefox-disabled-bug
Add Wall of Browser bugs entry for #793
2014-09-03 19:00:29 -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
Chris Rebert
e646889fd6 document that fieldset[disabled] is somewhat broken in IE11; fixes #14509 2014-09-02 15:23:15 -07:00
Chris Rebert
629fe63291 Document that input groups weren't intended for use with <textarea>s
Refs #14362
2014-08-28 19:55:23 -07:00
Mark Otto
36f098dc07 Merge pull request #14472 from mrduguo/master
fix nav links to end with / to avoid 301 redirect
2014-08-28 16:57:40 -07:00
Mark Otto
72ddad6fc8 Fixes #14439: Add static tooltip example to docs 2014-08-27 23:33:03 -07:00
Mark Otto
1ebc7e62a8 grunt 2014-08-27 22:37:10 -07:00
Guo Du
57c152e8ff fix nav links to end with / to avoid 301 redirect 2014-08-27 21:37:55 +01:00
Mark Otto
28c907f635 fixes #14441 2014-08-23 13:35:39 -07:00
Mark Otto
4fc96e8029 grunt 2014-08-23 13:35:22 -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
Mark Otto
9096c20021 grunt 2014-08-04 14:05:12 -07: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
Mark Otto
033f1654b0 Fixes #14296: document a table caption example 2014-08-02 14:49:48 -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
2973103571 Merge pull request #14257 from twbs/fix-14219
Document that empty tooltips+popovers do not get displayed
2014-07-28 13:51:51 -07:00
Chris Rebert
5892273a23 Merge pull request #14258 from twbs/fix-14164
Move Windows Phone 8 IE10 viewport bug workaround script from head to footer
2014-07-27 17:08:27 -07:00
Chris Rebert
a64f2008da Merge pull request #14235 from twbs/doc-14221
Update docs & add example for #14221
2014-07-27 17:06:48 -07:00
Chris Rebert
9742bb2ee4 Fix #14164: move Windows Phone 8 IE10 viewport bug workaround script to footer of pages 2014-07-27 17:01:34 -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
Chris Rebert
43fe197da7 Update docs & add example for #14221
[skip sauce]
2014-07-24 13:58:13 -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
1118e8103b Document that form field feedback icons only work with input.form-control
Closes #14202.

[skip sauce]
2014-07-21 12:27:55 -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
Chris Rebert
11db482371 popover dismiss-on-next-click example: instead of <button>, use <a> w/ tabindex
Fixes #14038.

Research supporting this choice of approach:
    https://gist.github.com/cvrebert/68659d0333a578d75372

Why not <button>?
Even with a `tabindex` attribute, they don't gain focus when clicked upon in:
    * Mac OS X Firefox 30.0
    * Mac OS X Safari 7.0.5
2014-07-15 16:57:54 -07:00
Bas Bosman
d7c92a0f08 Fix jsbin link 2014-07-15 19:55:28 +02:00
Chris Rebert
dc0fe18e35 Merge pull request #14143 from twbs/fix-14134
add docs note about browsers with JS disabled
2014-07-15 09:51:07 -07:00
Mark Otto
aa73047254 Another new js bin link
/cc @cvrebert @hnrch02
2014-07-15 09:28:48 -07:00
Chris Rebert
74691b7e27 add docs note about browsers w/ JS disabled; fixes #14134
[skip sauce]
2014-07-14 17:17:38 -07:00
Chris Rebert
5c1746c556 fix #14114 mo' betta 2014-07-14 14:52:36 -07:00
Daniel Nixon
8167223b3b Fix inaccessible buttons. 2014-07-14 08:13:17 +10:00
Mark Otto
2c540b7e33 typos 2014-07-13 00:08:25 -07:00
Chris Rebert
cd7250d6a8 Redundant thanks to bb1286a0ab 2014-07-12 18:15:45 -07:00
Mark Otto
bb1286a0ab Fixes #14133 2014-07-12 17:53:31 -07:00
Mark Otto
d9a38cd99f Fixes #14132: add .alert-dismissible to docs examples 2014-07-12 17:51:57 -07:00
Mark Otto
62d6d69c20 Use bootstrapcdn links 2014-07-12 17:26:43 -07:00
Mark Otto
2000e854ed New Android select example
Fixes #14114
2014-07-12 17:23:51 -07:00
Mark Otto
717a50ce19 grunt 2014-07-12 15:37:13 -07:00
Mark Otto
7ec6c9fd13 Fixes #14116: Use <button> elements over empty anchors 2014-07-12 15:16:43 -07:00
Chris Rebert
d8d954372c Merge pull request #14113 from vsn4ik/add-attributes-for-dropdown-example
dropdowns.html: Add role="button" and id="..." to link in example.
2014-07-10 13:32:22 -07:00
vsn4ik
816c8f480a dropdowns.html: Add role="button" and id="..." to link in example. 2014-07-10 21:44:46 +04:00
vsn4ik
2fb107e918 Fix text on ".progress-bar .sr-only" elements. 2014-07-10 21:30:21 +04:00
Chris Rebert
8c6061c195 Merge pull request #14089 from twbs/accordion-panel-group-aria-multiselectable
Add role="tablist" & aria-multiselectable="true" to accordion .panel-group
2014-07-08 12:56:06 -07:00
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