Mark Otto
059969bcd2
update links, new version to v3.4.0, add new baseurl for easy v3.4 building
2017-07-04 13:07:15 -07:00
Patrick H. Lauke
caca5d46d5
Merge pull request #16571 from patrickhlauke/generalize-dropdowns
...
generalize dropdowns / drop role="menu"
2015-06-02 11:21:26 +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
Mark Otto
b5b4c9c701
Merge pull request #16484 from kkirsche/patch-13
...
ScrollSpy requires non-body elements to have height and overflow…
2015-05-30 17:32:20 -07:00
Kevin Kirsche
962ae5ac2f
[ Close #16441 ] ScrollSpy requires non-body elements to have height and padding
...
[Close #16441 ] ScrollSpy requires non-body elements to have height and padding
2015-05-30 18:24:23 -04: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
Steven Black
457885075f
Javascript docs: Accessibility and cosmetic changes to headings.
...
Closes #15915 by merging it.
2015-03-03 18:22:09 +02:00
Kevin Kirsche
ced312a90e
[Docs—Fixes #15882 ]Use an ID as the example for Scrollspy
...
Fixes #15882 — Use an ID as the example for Scrollspy so that it is more clear that this is for use with a single nav.
2015-02-24 09:14:50 -05:00
XhmikosR
a6f3bdb71f
Move inline CSS to docs.css.
2015-01-21 09:51:12 +02:00
Chris Rebert
44447eeefe
Give all embedded live docs examples data-example-id attrs
...
Refs #11410
2014-11-24 17:09:32 -08:00
Chris Rebert
af77842ce7
Merge pull request #15111 from twbs/events-tables-wrapping
...
Don't line wrap event names in JS plugin docs
2014-11-20 00:06:33 -08:00
Patrick H. Lauke
bab36220c9
Redundant role="navigation" on <nav>s
...
plus one example that still used the old <div role="navigation"> and a
fix-up of the callout as per
https://github.com/twbs/bootstrap/issues/15109
2014-11-14 10:52:57 +00:00
Chris Rebert
ea407666ce
give all docs callouts IDs
...
[skip sauce]
2014-11-13 12:16:03 -08:00
Chris Rebert
ddf39cc2e7
Don't line wrap event names in JS plugin docs
2014-11-12 16:32:51 -08:00
Chris Rebert
1211a8155e
JS docs: add Options, Methods, Events subsections to nav sidebar
2014-11-11 21:16:34 -08:00
Chris Rebert
69d42cef14
move scrollspy callouts so they're all adjacent to each other
2014-11-11 19:42:29 -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
Chris Rebert
93f4426fed
linkify reference to Nav component in Scrollspy docs
2014-09-23 17:18:15 -07:00
Mark Otto
ccecb7cde4
fixes #14654 : callout for scrollspy-nav link
2014-09-22 20:27:23 -07:00
Michael Silber
1e407c81f1
Add collapsed default class to navbar-toggle
2014-07-02 16:49:03 -04: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
6161c98238
document that non-:visible scrollspy targets are ignored; fixes #13394
2014-04-21 16:42:22 -07:00
Mark Otto
f159ce8b9e
Fixes #13208 : Drop <b> for <span> in code snippets and examples
2014-04-07 22:59:37 -07:00
Mark Otto
2a43e7e78a
Break up docs into includes
2014-03-16 19:03:53 -07:00