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
3ec7930720
add ARIA roles to Dropdown examples in Components docs
2013-08-12 18:09:25 -07:00
Chris Rebert
8a1fc99f50
give navbar forms non-empty action
s
2013-08-12 17:43:38 -07:00
Chris Rebert
10356f9d67
rm unnecessary blank id attribute
2013-08-12 17:43:38 -07:00
Chris Rebert
598f811fa0
add alt text to media object <img>s
2013-08-12 17:28:53 -07:00
Chris Rebert
5b9717ef67
add alt text to thumbnail <img>s
2013-08-12 17:28:53 -07:00
Mark Otto
a78c8d9c04
Newfangled input and button group sizing ( fixes #9295 )
...
Instead of applying `.btn-` or `.input-` to individual elements in
button and input groups, we now have new sizing classes to keep your
markup a little leaner.
* Add `.input-group-sm` or `.input-group-lg` to your `.input-group` to
replicate `.input-sm` and `.input-lg`, respectively.
* Add `.btn-group-xs`, `.btn-group-sm`, or `.btn-group-lg` to your
`.btn-group` to replicate `.btn-xs`, `.btn-sm`, and `. btn-lg`,
respectively.
Both sets of new sizing classes simply use the existing individual
sizing classes as mixins, so customization of them is automatically
inherited when compiling.
2013-08-12 14:03:57 -07: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
Bas Bosman
38b2083f3c
Aria role search instead of form
2013-08-12 17:38:20 +02:00
Mark Otto
5e73cc90d9
fixes #9266 manually on account of list group file reorganization
2013-08-12 01:39:43 -07:00
Mark Otto
6dbf588237
fixes #9310 : alerts aren't dismissable by default, now requires .alert-dismissable if you need a close button
2013-08-12 01:20:22 -07:00
Kevin Suttle
a86f5d24f8
Give forms and search fields proper ARIA roles
...
http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex
http://www.w3.org/TR/wai-aria/roles#form
http://www.w3.org/TR/wai-aria/roles#search
2013-08-11 21:45:50 -04:00
Mark Otto
a88888aaeb
fix broken components page, also likely from @kevinsuttle's #9332
2013-08-11 14:49:50 -07:00
Mark Otto
0b9efa9565
fix indentation
2013-08-11 13:20:24 -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
Mark Otto
5eac5dab5d
Merge pull request #9245 from jlaswell/patch-1
...
Update components.html
2013-08-10 15:39:28 -07:00
jlaswell
64888ce0b0
Update components.html
...
Keeping bs-examples consistent with code provided.
2013-08-08 12:31:48 -04:00
Guillermo González de Agüero
5c98288122
Changed "Standard pagination" to "Default pagination"
2013-08-08 12:26:06 +02:00
Guillermo González de Agüero
50d5a6d17a
Fixed link to JavaScript buttons plugin
2013-08-07 12:42:46 +02: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
Chris Rebert
b976956432
Fix #9132 , but in the correct branch
...
People, don't PR against `gh-pages` please!
2013-08-06 12:09:44 -07:00
Rakhat Jabagin
b29b8acd28
remove repeated 'pagination' class in code example
2013-08-06 09:19:07 +06:00
Mark Otto
c4281f3919
Update labels to include a base class
...
* Builds on the new button styles by requiring a `.btn-default` for the
regular, gray labels
* Updates components examples to show new stuff
2013-08-05 15:30:28 -07:00
Mark Otto
c15f5a89a0
Enable scrollable responsive nav bar
...
Fixes #9007 in a hopefully decent way
2013-08-05 14:19:32 -07:00
Chris Rebert
b6390d298a
trivial docs grammar improvements
2013-08-04 00:06:56 -07:00
Chris Rebert
19e8342c7a
adjust description & give source for nested .btn-group
s example
2013-08-03 23:34:27 -07:00
Chris Rebert
a84e07b272
components.html: rm disconnected sentence fragment
2013-08-03 23:23:40 -07:00
Chris Rebert
b9c572184f
add .btn-xs to .btn-group example
2013-08-03 21:59:01 -07:00
Chris Rebert
7a04e95b71
rm stray space in components.html
2013-08-03 21:58:31 -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
Mark Otto
a0c44329e3
Merge pull request #8939 from frabrunelle/3.0.0-wip
...
add nav to media object and thumbnails
2013-08-02 19:58:17 -07:00
Mark Otto
6b850132d0
Remove requirement of .list-group-flush
when list groups are in panels
...
Fixes #8900
2013-08-02 17:57:19 -07:00
Mark Otto
d0b94ead9a
Fix #9008 : consolidate .alert-block
styles into .alert
2013-08-02 09:32:58 -07:00
Francis Brunelle
521ff5c8a7
add nav to media object and thumbnails
2013-07-31 22:37:36 -04:00
Mark Otto
ba05b7a63c
Merge pull request #8908 from bbeng89/3.0.0-wip
...
Small fix to justified button groups docs
2013-07-31 09:48:33 -07:00
Blake Bengtson
2433faa528
Small fix to justified button groups docs
2013-07-31 08:39:07 -05:00
faceach
a538c8dfb3
miss one 'div' close tag under components page
2013-07-31 18:57:39 +08:00
Mark Otto
b281ad6409
Input groups overhaul
...
* Moves input groups CSS into separate file
* Moves input groups docs into the Components page
* Add support for radios and checkboxes in input groups to fix #8679
2013-07-27 18:56:31 -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
Mark Otto
22fda2f54d
Upate IDs on components page
2013-07-26 19:37:31 -07:00
Mark Otto
1659ac6473
Fix up navbar forms
2013-07-25 23:32:12 -07:00
Mark Otto
56404bc89b
Add .panel-title
to panel component to mirror modals
...
/cc @leeaston
2013-07-25 21:16:43 -07:00
James Holland
bbe0d0d874
fix typo / doc components.html responsive menu dropdowns now have ref to .dropdown-header instead of .nav-header
2013-07-19 00:04:58 -04:00
Mark Otto
a8005b3d0b
flatten docs dir back into root
2013-07-18 17:41:30 -07:00