Commit Graph

133 Commits

Author SHA1 Message Date
fat
a01b1dd71a fixes #9585 2013-08-17 15:07:26 -07:00
fat
484d51ce48 add doc comment for #9517 2013-08-17 14:42:44 -07:00
Mark Otto
82f6f08f89 Fixes #9552: Downsize and use whole numbers for panel title to prevent odd 1px bug 2013-08-17 13:18:10 -07:00
Mark Otto
e0c6a5a32f fixes #9644: update scrollspy navbar to use latest code 2013-08-15 14:46:28 -07:00
Mark Otto
0664b3f0da fixes #9634: turn off overflow-y when the navbar is re-expanded into horizontal mode 2013-08-15 13:29:45 -07:00
Chris Rebert
5f311790b9 more fixes for #9513 2013-08-15 12:26:37 -07:00
Mark Otto
057a87ed65 Merge pull request #9521 from Luis-TP/fix-javascript-docs
Javascript Docs: Add .navbar-header, and correct .nav-collapse
2013-08-14 15:27:41 -07:00
Chris Rebert
a9972c5d20 Add missing close-parens in docs sentence; fixes #9512 2013-08-14 13:45:20 -07:00
Luis Aleman
b0aef6cde0 Removed containers, and moved brand to after the navbar-toggle 2013-08-14 14:30:35 -04:00
ggam
2be8a5a245 Removed trailing semicolons from examples 2013-08-14 19:57:54 +02:00
ggam
cde39f7b78 Fixed indentation in JavaScript example 2013-08-14 19:53:37 +02:00
Luis Aleman
80ff4bf870 Add .navbar-header, and correct .nav-collapse 2013-08-14 13:31:29 -04:00
Mark Otto
33a88c9a94 Merge branch '3.0.0-wip' into bs3_drop_accordion_for_panel
Conflicts:
	dist/css/bootstrap.min.css
2013-08-13 10:36:38 -07:00
saiwang
21a7de7a18 patch highlighting hint 2013-08-14 00:21:07 +08:00
Mark Otto
09b2a153fc copy 2013-08-12 23:38:52 -07:00
Mark Otto
237640c706 Drop the accordion for the panel
* Deletes the accordion.less file
* Extends the panel to be collapsible with our JS plugin
* Supports panel color variations
2013-08-12 23:36:25 -07:00
Chris Rebert
df7c9a6d96 add alt text to <img>s in javascript.html 2013-08-12 19:47:05 -07:00
Chris Rebert
b33989a977 add src attribute to holder.js-powered <img>s so that they validate
use `data:` URL of empty invalid PNG: src="data:image/png;base64,"
2013-08-12 18:59:59 -07:00
Chris Rebert
df59ecc9c4 add alt text to carousel <img>s 2013-08-12 17:28:53 -07:00
johvik
7eb0793223 Javascript > Alert should use danger not error 2013-08-12 20:52:25 +02:00
Mark Otto
1f745176d4 Merge pull request #9384 from BBosman/aria-hidden
Add missing aria-hidden attribs to close buttons
2013-08-12 09:55:46 -07:00
Bas Bosman
8dd45053ce Add missing aria-hidden attribs to close buttons 2013-08-12 17:56:10 +02:00
ggam
587a001dcc Added Dropdown JS plugin events (fixed #9375) 2013-08-12 17:05:15 +02:00
Jacob Thornton
92c2ad98e7 fixes #8983 2013-08-11 15:41:06 -07:00
Jacob Thornton
89b3cb0dac fixes #9318 2013-08-11 15:17:04 -07:00
Mark Otto
da75d0d30b Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-11 14:44:39 -07:00
Mark Otto
65c0f847e9 fix borked js docs layout, likely from @kevinsuttle's latest PR 2013-08-11 14:44:32 -07:00
Jacob Thornton
5c6b995971 add event prefixes 2013-08-11 14:39:11 -07:00
Kevin Suttle
aa454134ec Use nav for proper HTML5 ARIA role mapping
http://www.w3.org/html/wg/drafts/html/master/sections.html#the-nav-element

http://dev.w3.org/html5/spec/sections.html#the-nav-element

http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex
2013-08-10 22:33:53 -04:00
adamjacobbecker
a8d95d4721 Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.

What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.

What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo

Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
2013-08-06 21:58:09 -07:00
Mark Otto
d89b364260 Merge pull request #9120 from FLOKER/patch-2
fix scrollSpy instructions for JS call
2013-08-06 18:09:49 -07:00
Mark Otto
f266595092 Fixes #9150: Hide popover titles in IE8
Properly hides popover titles in IE8 because apparently it doesn't
accept the `:empty` selector. /cc @fat @cvrebert
2013-08-06 11:18:12 -07:00
Florian Weber
e70d146b20 Update javascript.html 2013-08-06 11:44:55 +02:00
Florian Weber
f3fd67772e fix scrollSpy instructions for JS call
Don't really know if this is correct, but at least it only worked for me that way...
2013-08-05 23:37:08 +02:00
Mark Otto
233eef6861 update modals demo code 2013-08-05 08:13:44 -07:00
Chris Rebert
b6390d298a trivial docs grammar improvements 2013-08-04 00:06:56 -07:00
Chris Rebert
899c147cd5 streamline $().dropdown('toggle') description 2013-08-03 23:16:09 -07:00
Chris Rebert
eed4844fd2 JS docs: capitalize Bootstrap 2013-08-03 23:01:05 -07:00
Chris Rebert
23ef8c0c20 Greater standardization of sizing terminology
In class names:
* large => lg
* small => sm
* mini => xs ("Extra small")

In screen size categories:
* Tiny => Extra small
2013-08-03 21:39:57 -07:00
Chris Rebert
fce2e89b7d JS docs: put transitionEnd within <code> 2013-08-03 02:24:31 -07:00
Chris Rebert
364fdf7fa1 JavaScript docs: fix caps of "JS" 2013-08-03 02:22:55 -07:00
Chris Rebert
3a96ff9a0a JS docs: fix caps of "CSS" acronym 2013-08-03 02:21:29 -07:00
fat
e969d2ff18 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip 2013-08-02 15:10:47 -07:00
fat
69f9920132 fixes #8955 2013-08-02 15:10:14 -07:00
Guillermo González de Agüero
655e84c532 Removed data-toggle class when it wasn't been applied 2013-08-01 20:13:08 +02:00
Jacob Thornton
7a3c61ee33 fixes #8892 2013-07-31 22:57:00 -07:00
Oliver Schmidt
f5f171f0ed Update javascript.html 2013-07-31 20:51:37 +02:00
Oliver Schmidt
034fb3bc87 Update javascript.html 2013-07-31 16:14:27 +02:00
Mark Otto
46a424fc93 edit modal docs code to fix #8769 2013-07-30 15:14:38 -07:00
fat
fc8f4f0465 fixes #8216 2013-07-30 13:41:24 -07:00
Chris Rebert
1e0c0b8f94 Add .fade to div.modal in "Live demo" modal example code; fixes #8723 2013-07-29 13:26:00 -07:00
Mark Otto
2acb0f40c0 Merge pull request #8718 from ggam/patch-4
Deleted unnecessary ID from modals example
2013-07-29 10:00:35 -07:00
Chris Rebert
b1a1210f07 fix #8694: apply tooltip demo ordering change from #8730 to popovers too 2013-07-29 03:35:45 -07:00
eduardo luttner
6652e2684d Javascript - tooltips directions - easier visualization
Changed the order of the visualization. It is not the css order, however it is easier to see the tooltips
2013-07-28 22:46:16 -03:00
Guillermo González de Agüero
7dba45bae7 Deleted unnecessary ID from modals example 2013-07-28 19:46:15 +02:00
Loic Bistuer
273a388995 Fixed minor typos in javascript.html 2013-07-28 00:57:12 +07:00
Mark Otto
94df8090a7 fixes for hella broken links on account of jekyll and twbs.github.com links 2013-07-27 00:28:23 -07:00
Mark Otto
0f2b22a210 herpy derpy shit for urls 2013-07-27 00:18:12 -07:00
fat
b1e01a1b04 update js title 2013-07-26 23:14:21 -07:00
fat
0da0b321ab small copy change 2013-07-26 22:36:23 -07:00
Mark Otto
88dd20e6ac Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
Conflicts:
	dist/css/bootstrap.min.css
2013-07-26 22:18:16 -07:00
Mark Otto
bed8e959b3 responsive tables all up in js docs 2013-07-26 22:17:53 -07:00
fat
2cf1851d9f use transforms to make the dialog smooooth 2013-07-26 22:09:31 -07:00
fat
f83995684c fixes #6937 2013-07-26 21:01:14 -07:00
fat
93eeb8578d Merge branch '3.0.0-docs-js' of git://github.com/juthilo/bootstrap-wip into juthilo-3.0.0-docs-js
Conflicts:
	javascript.html
2013-07-26 20:50:51 -07:00
Mark Otto
d16396f44a Fix broke ass popovers direction example 2013-07-26 19:50:02 -07:00
Mark Otto
20040868c1 Unfuck JS docs spacing and closing divs 2013-07-26 19:46:42 -07:00
fat
178d8e98de update docs nav targets 2013-07-26 19:25:45 -07:00
James Costian
2c58fab318 Fix ID of buttons section on javascript page
The old ID caused the link on affix to not work.
2013-07-26 19:15:11 -05:00
Mark Otto
75f5a70f7d Fixes #8293: sub nav links in JS docs 2013-07-26 16:52:09 -07:00
fat
778f3a3df7 update docs a bit more for affix 2013-07-25 23:57:21 -07:00
fat
7ae8db8b7e update the affix docs a bit 2013-07-25 23:53:34 -07:00
Mark Otto
d242d536c4 Merge pull request #8603 from cvrebert/twbs
twbs ALL the links
2013-07-25 13:42:51 -07:00
Chris Rebert
90fb40b707 twbs ALL the links 2013-07-25 12:24:13 -07:00
Mark Otto
bc93a429a8 update docs to use buttons for tooltips 2013-07-25 11:55:12 -07:00
Jacob Thornton
aad910465c fixes #8569 2013-07-24 20:21:23 -07:00
Julian Thilo
7936f14780 Fix #8428 - Document tooltip/popover events 2013-07-24 09:08:19 +02:00
Jacob Thornton
217eb988b8 add placement auto for tooltips + tests… kinda sad about this doe 2013-07-23 23:50:23 -07:00
Seth Faxon
13f2a68a23 update carousel js docs to reflect leading .glyphicon
https://github.com/twitter/bootstrap/pull/6342 icons section
  mentions the change to using glyphicon base class
  this adds it to the docs
2013-07-23 19:38:23 -07:00
Mark Otto
b6238c5f20 Fixes #8385: update carousel captions
* No longer hidden by default--up to users to figure that part out with
longer content
* Cleaned up styles and spacing
2013-07-19 17:36:03 -07:00
Mark Otto
8ab77191ce Twerk callouts and fix an unstyled one 2013-07-19 17:17:52 -07:00
Christopher Canipe
3e8b3a246a Clean up tooltip's trigger description in the docs. 2013-07-18 19:41:42 -06:00
Mark Otto
a8005b3d0b flatten docs dir back into root 2013-07-18 17:41:30 -07:00