Patrick H. Lauke
5fd7bc1554
generalize dropdowns / drop role="menu"
...
as role="menu" is a very specific (and strict) ARIA pattern for
desktop-like application menus, and our dropdowns are often used
as pure navigation dropdowns, this change abandons ARIA menus for
a more open-ended and light-weight approach
(see http://heydonworks.com/practical_aria_examples/#submenus and
http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria )
note that in dropdown.js, switched to now target ``.dropdown-menu``
instead of ``role["menu"]`` - this also prevents bootstrap scripts
from "bleeding" into non-bootstrap components on the same page.
also removed the ``role=["listbox"]`` part, which appears to be
vestigial/unused (only place in bootstrap that uses that
role are carousels, and their key handling is done separately)
2015-06-02 11:03:21 +01:00
Patrick H. Lauke
3b59b97c62
ensure divider list items have role="separator"
...
http://www.w3.org/TR/wai-aria/roles#separator
2015-05-29 23:48:35 +01:00
Chris Rebert
efe2023014
Add missing type="button" attrs to <button>s in list-group docs
...
Fixes Bootlint warnings:
W007 Found one or more `<button>`s missing a `type` attribute.
[skip sauce]
2015-05-17 23:22:27 -07:00
Zac Echola
fa2cdd44bc
Adds documentation for buttons in link groups
...
Mostly a duplication of the *Linked items* section, but for buttons.
Includes a note not to use the standard btn classes.
2015-04-28 10:58:42 -05:00
vsn4ik
d46f6dcbdc
DOCS: Separation of .dropdown and .dropup.
2015-04-25 12:52:22 +03:00
Patrick H. Lauke
dc4aa004d4
Add aria-expanded to navbar toggles
2015-03-24 10:30:12 +00:00
Chris Rebert
f3ae9430f2
Document that .progress-bar-striped doesn't work in IE<=9; fixes #16058
...
[skip sauce]
2015-03-13 13:53:12 -07:00
Mark Otto
2457b40eab
Merge pull request #15887 from StevenBlack/headings-labels
...
docs>components>labels headings
2015-02-24 16:27:36 -08:00
Mark Otto
7e0b801f4c
Merge pull request #15889 from StevenBlack/headings-progressbars
...
docs>components>progress bars headings
2015-02-24 16:27:24 -08:00
Mark Otto
13c690f992
Merge pull request #15891 from StevenBlack/headings-listgroup-panel-well
...
docs>components>(remaining components) headings
2015-02-24 16:26:17 -08:00
Mark Otto
7872ca69be
Merge pull request #15890 from StevenBlack/headings-media
...
docs>components>media object headings
2015-02-24 16:25:59 -08:00
Mark Otto
3c4a8ea61b
Merge pull request #15888 from StevenBlack/headings-thumbnails
...
docs>components>thumbnails headings
2015-02-24 16:24:49 -08:00
Mark Otto
0e12bb4947
Merge pull request #15886 from StevenBlack/headings-buttondropdowns
...
docs>components>button-dropdowns headings
2015-02-24 16:23:17 -08:00
Mark Otto
05d0e88dbb
Merge pull request #15885 from StevenBlack/headings-buttongroups
...
docs>components>button-groups headings
2015-02-24 16:22:52 -08:00
Steven Black
79eb5854ea
docs>components>(remainder) headings
2015-02-23 22:14:50 -05:00
Steven Black
74b4f83434
docs>components>media object headings
2015-02-23 21:59:27 -05:00
Steven Black
8a64c684de
docs>components>progress bars headings
2015-02-23 21:51:10 -05:00
Steven Black
f8280e40a0
docs>components>thumbnails headings
2015-02-23 21:41:53 -05:00
Steven Black
3e2dee6bd5
Normalized the heading hierarchy in the documentation for the Labels component.
2015-02-23 21:35:37 -05:00
Steven Black
106445aea8
Normalized the heading hierarchy in the documentation for the Button dropdowns component.
2015-02-23 21:23:50 -05:00
Steven Black
9159e44a7a
docs>components>button-groups headings
...
Normalized the heading hierarchy in the documentation for the Button groups component.
2015-02-23 21:16:02 -05:00
Steven Black
36fdaa8030
Docs>Components>Dropdowns headings
...
Normalized the heading hierarchy in the documentation for the Dropdowns component.
2015-02-23 21:01:54 -05:00
Chris Rebert
e9afc74b01
Dropdown docs: Tweak .dropup copy
2015-02-19 16:01:04 -08:00
Chris Rebert
0b10c6b060
Merge pull request #15662 from kkirsche/patch-5
...
Fix issue #15597 — Mention dropup variation in dropdown docs
2015-02-19 11:29:24 -08:00
Kevin Kirsche
d78d9dc5d9
Remove separate area for dropup's
...
Condense the dropup example
2015-02-10 08:57:56 -05:00
Chris Rebert
97e5ac1c92
Fix #15688
...
Stability > Precision
2015-01-29 18:00:49 -08:00
Kevin Kirsche
98d4464065
Update per @vsn4ik's requests
...
data-example-id not need be moved. Only change, because data-example-id="static-dropdown" already exists.
Remove whitespace after h3.
Variation not need capitalize.
2015-01-28 13:47:02 -05:00
Kevin Kirsche
5688fc8d65
Complete @vsn4ik's requests
...
* Remove `<h3>Example</h3>;`
* Move `data-example-id=""` to `<h3>Dropup Variation</h3>` and change value;
2015-01-27 17:01:59 -05:00
Kevin Kirsche
dc50153c93
Fix issue #15597 — Mention dropup variation in dropdown docs
...
Fix issue #15597 — Mention dropup variation in dropdown docs
Other pull request was so messed up I sincerely have no clue how to save it. The recommended command doesn't work, can't believe rebasing is so problematic...
2015-01-23 21:48:33 -05:00
Mark Otto
efd7792488
Merge branch 'master' of github.com:twbs/bootstrap
2015-01-21 21:06:28 -08:00
Mark Otto
8ec708870c
Merge pull request #15299 from SpectrumPixel/patch-2
...
Remove "Separated link" in example where it's not
2015-01-21 19:58:03 -08:00
XhmikosR
a6f3bdb71f
Move inline CSS to docs.css.
2015-01-21 09:51:12 +02:00
Chris Rebert
901ece7996
add pointer to Masonry in the thumbnail docs
2015-01-08 13:35:05 -08:00
Chris Rebert
3406a5c97a
Remove holder.js references from syntax-highlighted example HTML
...
Our use of Holder.js in the docs is a mere implementation detail.
Don't want to confuse people into thinking Holder.js
is somehow required by the Thumbnail component.
[skip sauce]
2014-12-22 14:55:41 -08:00
Bastien
5b8ba0cb4d
200 to 260 glyphicons in the doc
2014-12-12 10:58:21 +01:00
Patrick H. Lauke
d9c3e5f3ad
Fix/merge advice on low percentage progress bars
...
- actually add the ``min-width`` extra style (and use ``em`` rather than
``px``) to the 0% and 2% example
- remove the unnecessarily redundant sentence in the "With labels"
section
- remove the unnecessary heading/section specifically for low percentage
case, make it flow naturally as part of the "With labels" section
2014-12-10 16:50:21 +00:00
Patrick H. Lauke
285ec70493
Make main segmented button keyboard-focusable
...
unless there's a reason why ``tabindex="-1"`` was dropped in there...
2014-12-08 22:29:34 +00:00
Patrick H. Lauke
24bc102664
Use aria-label for pagination prev/next
...
Cleaner alternative to using ``<span class="sr-only">``
2014-12-08 22:29:33 +00:00
Patrick H. Lauke
eee275762f
Callout for labelling of input groups
...
plus a few suggested approaches (in some cases, elided, as the actual
content of the label - being a generic example - is not important)
2014-12-08 22:29:33 +00:00
Bas Bosman
e9dca8df52
Add missing to
2014-12-08 09:41:44 +01:00
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
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
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
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
1de638f830
fixes #15164 : wrap disable pagination spans in another span
2014-11-29 18:27:51 -08: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
7bf002d63d
Fix #15194 : Shrink media link area
2014-11-22 13:45:32 +01:00