Commit Graph

102 Commits

Author SHA1 Message Date
Ben Combee 92bb465ba3 javascript.html: add data-ride note
carousel docs were missing mention of the data-ride attribute
used to automatically start the carousel at load time
2013-08-25 23:07:43 -05:00
Joel Kuzmarski e63b6c0675 Fixes #9008: remove `alert-block` class from example 2013-08-24 23:01:08 -05:00
Kevin Suttle 0add7700ad Add role="button" to <a> buttons
These should really be <button> elements, but until that gets squared away, this will suffice.
2013-08-24 16:29:35 -04:00
Mark Otto c0b00f22fe forgot a pair of buttons 2013-08-24 12:30:46 -07:00
Mark Otto ab3e1762d4 turn some buttons into <button> elements where possible 2013-08-24 11:46:24 -07:00
wangsai e3f9719096 complete missed </td> 2013-08-24 11:09:33 +08:00
Chris Rebert ec7fa0a254 fix data-api portion of #10084 2013-08-23 11:14:54 -07:00
Chris Rebert 0f669b6dcb repeat #10081 caveat for popovers too 2013-08-23 11:09:01 -07:00
Chris Rebert 3d72942384 tweak #10081 phrasing 2013-08-23 11:08:37 -07:00
bcarrell 5d39794287 docs: add explanation for adding tooltips to disabled elements, closes #10049 2013-08-23 12:10:52 -04:00
Chris Rebert 99b35150ee update outdated JSFiddle example 2013-08-22 16:51:57 -07:00
Mark Otto 1a8f1e68ef fix broken panels in js example 2013-08-19 13:27:45 -07:00
Mark Otto e989acfc79 Add responsive tables with help of `.table-responsive` wrapper 2013-08-18 21:43:05 -07:00
Mark Otto 108d10a920 Refactor alerts to have a base class, but no default class, thus requiring a modifier class at all times 2013-08-18 19:50:53 -07:00
Julian Thilo abca00870f Add a .navbar-default class for default colors
* Extract color styles from .navbar { } and put them into
.navbar-default { }
* Change variable names
* Change the docs accordingly (i.e., add the .navbar-default class to
all default navbars)
* Change customizer accordingly
2013-08-18 23:05:56 +02:00
Mark Otto 6b24297c5b update urls 2013-08-18 02:11:57 -07:00
Chris Rebert 405df13044 fix typo in JS docs 2013-08-17 17:44:42 -07:00
fat d754e6564d add some crap 2013-08-17 15:54:42 -07:00
fat 1d53dd31f5 add role=menu to html 2013-08-17 15:48:29 -07:00
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