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

110 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Chris Rebert
c897f9d5f0 Safari v8.0 still suffers from Justified Nav rendering bug 2014-10-28 21:24:45 -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
Heinrich Fenkart
66e140db82 Docs: progress bars' animation now needs to be manually toggled
Refs #14409
2014-10-26 20:43:41 +01: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
Mark Otto
6e3c55a115 grunt 2014-10-25 18:13:50 -07: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
908190a6c5 Replace the unicode ellipsis symbol with 3 dots.
[ci skip]
2014-10-22 13:49:24 +03:00
Mark Otto
8e25695d09 Fixes #14687: Include video element in responsive embed 2014-09-26 13:45:28 -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
Mark Otto
5d051736a4 Add brief note about justified navs being unsupported to fix #14598 2014-09-23 14:29:48 -07:00
Chris Rebert
1f329f8f17 the justified nav bug is still present in Safari v7.1 2014-09-21 15:34:57 -07:00
Chris Rebert
b2088366a3 Wrap .pagination & .pager in <nav> to improve accessibility 2014-09-08 20:52:07 -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
629fe63291 Document that input groups weren't intended for use with <textarea>s
Refs #14362
2014-08-28 19:55:23 -07:00
Daniel Nixon
8167223b3b Fix inaccessible buttons. 2014-07-14 08:13:17 +10: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
vsn4ik
2fb107e918 Fix text on ".progress-bar .sr-only" elements. 2014-07-10 21:30:21 +04: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
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
Chris Rebert
719cde1a11 docs HTML5 validity fixup to 8e2348e9ed 2014-07-07 00:25:55 -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
Michael Silber
1e407c81f1 Add collapsed default class to navbar-toggle 2014-07-02 16:49:03 -04: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
02642350f8 Fixes #13400, #13415: actually document the existing practice for links in panel headings 2014-06-18 22:16:15 -07:00
Bas Bosman
128e52ff29 Fix dismissible spelling 2014-06-18 00:00:28 +02:00
Chris Rebert
cb85f2ad9b fix grammar in new callout 2014-06-10 23:08:30 -07:00
Mark Otto
dacaf619d2 docs callout for #13219 2014-06-10 22:39:27 -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
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
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
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
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
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
31f01c1abb Document that @import-ing Bootstrap can break the icon font path
Addresses part of #13429.
2014-04-25 12:02:16 -07:00
Chris Rebert
aec366c591 fix #13340 by documenting @icon-font-path & @icon-font-name more 2014-04-15 20:03:44 -07:00
Mark Otto
f159ce8b9e Fixes #13208: Drop <b> for <span> in code snippets and examples 2014-04-07 22:59:37 -07:00
Chris Rebert
1c19284a38 doc how to change the collapsed mobile navbar breakpoint; fixes #13126 2014-04-03 13:31:55 -07:00
Chris Rebert
11ffc7346b explicitly doc that icon classes should only be used on empty elements; closes #13240 2014-03-31 20:23:14 -07:00
Chris Rebert
4d859d177a copyedit responsive-embed.html 2014-03-17 03:04:37 -07:00
Mark Otto
2a43e7e78a Break up docs into includes 2014-03-16 19:03:53 -07:00