aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/dropdowns.html
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18Use https, fix broken links and unneeded redirects.XhmikosR1-1/+1
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke1-39/+39
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-05-29ensure divider list items have role="separator"Patrick H. Lauke1-6/+6
http://www.w3.org/TR/wai-aria/roles#separator
2015-03-03Javascript docs: Accessibility and cosmetic changes to headings.Steven Black1-1/+1
Closes #15915 by merging it.
2015-01-21Move inline CSS to docs.css.XhmikosR1-1/+1
2014-11-20Merge pull request #15111 from twbs/events-tables-wrappingChris Rebert1-1/+1
Don't line wrap event names in JS plugin docs
2014-11-19Merge pull request #15090 from twbs/dropdowns-eventsChris Rebert1-4/+5
consolidate relatedTarget docs in dropdown event docs
2014-11-17Merge pull request #15125 from patrickhlauke/docs-clean-upChris Rebert1-1/+1
Docs clean up - unnecessary role attributes, callout clarifications
2014-11-16rm redundant role="button" from <button>Chris Rebert1-1/+1
2014-11-14Redundant role="navigation" on <nav>sPatrick H. Lauke1-1/+1
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-13give all docs callouts IDsChris Rebert1-1/+1
[skip sauce]
2014-11-12Don't line wrap event names in JS plugin docsChris Rebert1-1/+1
2014-11-11JS docs: add Options, Methods, Events subsections to nav sidebarChris Rebert1-3/+3
2014-11-11consolidate relatedTarget docs in dropdown event docsChris Rebert1-4/+5
2014-11-11Wash-up of some stray dropdown examplesPatrick H. Lauke1-8/+8
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-01fix whitespace in js dropdown docsManuel Meurer1-1/+1
2014-10-07Change Twitter links to use `https`.XhmikosR1-24/+24
2014-07-25dropdowns.html: Remove wrong "type" attribute.vsn4ik1-1/+1
2014-07-23unfuck those dropdownsMark Otto1-16/+16
2014-07-21Merge branch 'dropdown-aria' of git://github.com/mckramer/bootstrap into ↵fat1-8/+8
mckramer-dropdown-aria Conflicts: docs/_includes/js/dropdowns.html
2014-07-13typosMark Otto1-4/+4
2014-07-12Fixes #14116: Use <button> elements over empty anchorsMark Otto1-10/+32
2014-07-10dropdowns.html: Add role="button" and id="..." to link in example.vsn4ik1-2/+1
2014-07-08add role="presentation" to tab <li>s to improve accessibilityChris Rebert1-4/+4
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-07Add role="tablist" to .nav-pills in examples to improve accessibilityChris Rebert1-1/+1
Follow-up to e9374c0609c9e63fd6033f684b18ff105e1756ae Per https://github.com/paypal/bootstrap-accessibility-plugin/commit/f203dea4b6d17264d7b776f02feaeeaa386cc9b2 Credit: https://github.com/paypal/bootstrap-accessibility-plugin & @rohk [skip sauce]
2014-07-07nitpick phrasing of the docs added for #13835Chris Rebert1-2/+2
2014-07-06Fixes #13835: More explicitly document mobile dropdown menu dismissing behaviorMark Otto1-1/+3
2014-07-02Add collapsed default class to navbar-toggleMichael Silber1-1/+1
2014-05-22Add aria-haspopup and aria-expanded attributes to dropdown pluginMax Kramer1-8/+8
1. Add aria-haspopup="true" and aria-expanded="false" to dropdown docs 2. Toggle aria-expanded between "true" and "false" when opening and closing dropdown Satisfy item 1 from https://github.com/paypal/bootstrap-accessibility-plugin#dropdown. See #13553.
2014-04-07Fixes #13208: Drop <b> for <span> in code snippets and examplesMark Otto1-6/+6
2014-03-16Break up docs into includesMark Otto1-0/+177