0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Mark Otto
10cc97cdd9 Merge pull request #16560 from supergibbs/multiple-button-input-groups
Multiple button input groups
2015-08-04 19:54:19 -07:00
Patrick H. Lauke
38c715316b Add example with visible <label> and input group addon
Also, include visible <label> as a suggestion in the accessibility
callout.
2015-07-09 10:55:21 +01:00
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
Supergibbs
24918b3bd8 A little cleanup 2015-05-29 11:32:25 -07:00
Supergibbs
7b23005f58 Clarified documentation about input groups and added an example of
multiple buttons
2015-05-29 11:29:56 -07: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
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
Chris Rebert
44447eeefe Give all embedded live docs examples data-example-id attrs
Refs #11410
2014-11-24 17:09:32 -08:00
Patrick H. Lauke
25cac1ea9a Redundant role="form" on <form>s 2014-11-14 10:52:56 +00:00
Chris Rebert
ea407666ce give all docs callouts IDs
[skip sauce]
2014-11-13 12:16:03 -08: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
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
Chris Rebert
ad34c3b061 fix #13697
[skip sauce]
2014-05-28 16:52:47 -07:00
Mark Otto
2a43e7e78a Break up docs into includes 2014-03-16 19:03:53 -07:00