aboutsummaryrefslogtreecommitdiff
path: root/js/tests/visual/dropdown.html
AgeCommit message (Collapse)AuthorFilesLines
2021-04-15Remove aria-haspopup from dropdowns (#33624)Patrick H. Lauke1-13/+13
`aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA). In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present. This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01
2020-10-27Remove redundant visually hidden "(current)" from pagination controls (#31892)Patrick H. Lauke1-1/+1
* Replace visually hidden span with aria-current in tests * Remove redundant visually hidden "(current)" when `aria-current` already used Closes #31891
2019-01-15tests: use jQuery from node_modules. (#28059)XhmikosR1-1/+1
2018-12-21Prep for v4.2.0 releaseMark Otto1-1/+1
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-16Revert "Remove now unnecessary shrink-to-fit viewport directive (#27818)" ↵XhmikosR1-1/+1
(#27855) This reverts commit af484dc12c2302c0e594a0e73a2ba06738a84410.
2018-12-15Remove now unnecessary shrink-to-fit viewport directive (#27818)Patrick H. Lauke1-1/+1
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-10-14js/tests/visual: fix popper script.XhmikosR1-1/+1
Broken after 787441d.
2018-10-14Fix invalid selectors in tests and examples.XhmikosR1-1/+1
2018-07-23fix(tests): visual plugins testsJohann-S1-2/+2
2018-04-12Docs/examples: change links to Sass documentation and example.com to httpsSwardu1-1/+1
2018-02-11Dropdown - Allow to disable Popper.js style (#24092)Johann-S1-3/+15
* Dropdown - Allow to disable Popper.js style * Update dropdown.js * Update dropdown.html * copy changes
2018-01-21Update dropdown.js to allow referenceElement (#25219)719media1-0/+26
2017-10-29Add dropright and dropleft (right and left placements for our dropdown) (#23860)Johann-S1-0/+48
* Add dropright (right placement for our dropdown) * Add dropleft * moves drop left arrow to the left
2017-10-22Tighten htmllint's rules. (#24471)XhmikosR1-1/+1
2017-10-03Switch to lowercase `doctype`. (#24217)XhmikosR1-1/+1
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-06-25update navbars to rename .navbar-inverse to .navbar-dark, update all navbar ↵Mark Otto1-1/+1
examples and variables
2017-06-04Update path to our docs assets for visual testsJohann-S1-2/+2
2017-05-22Better management of dropdown/dropup with alignmentJohann-S1-10/+28
2017-05-17Use popper to align dropdown menu instead of using css with importantJohann-S1-11/+37
2017-05-14Handle dropup for DropdownJohann-S1-0/+13
2017-05-14Begin to use Popper for DropdownJohann-S1-0/+1
2017-03-23rename from .navbar-toggleable to .navbar-expand to reflect mobile first ↵Mark Otto1-1/+1
approach everywhere else
2017-03-23more docs updatesMark Otto1-2/+2
2016-12-31v4: Rip out IE compatibility mode meta tags (#21483)Mark Otto1-1/+0
* Remove IE compatibility mode meta tag from docs, examples, and JS tests as we no longer support IE9 and IE8 * update and remove some IE bits from our supported browser page * update introduction.md to match * reword starter template intro
2016-12-31nuke local test vendor jquery and tether, replace with docs assetsMark Otto1-1/+1
2016-12-30fix navbar in dropdown visual test fileMark Otto1-4/+7
2016-11-13Update visual tests.Bardi Harborow1-95/+54
2016-10-12v4: Fix outdated utilites classesvsn4ik1-3/+3
2016-02-27JS visual tests: Remove usages of defunct .page-header classChris Rebert1-3/+1
[skip sauce]
2016-02-19Fix validation errors.XhmikosR1-1/+1
[skip sauce]
2015-10-26Remove html5shiv and respond.js from test files.XhmikosR1-7/+0
2015-08-21Docs: Update all dropdowns to new HTML structureHeinrich Fenkart1-4/+4
2015-08-18fix dropdown js visual exampleJacob Thornton1-58/+62
2015-06-18Merge branch 'master' into v4Mark Otto1-35/+45
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke1-35/+35
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-10add dropdownfat1-27/+21
2015-05-06remove closureness from pluginsfat1-1/+8
2015-02-11bootstrap onto closurefat1-1/+1
2014-12-15Remove IE8 compat shims from JS visual testsChris Rebert1-7/+0
2014-11-05Update head of all visual tests to use our basic templateHeinrich Fenkart1-1/+11
2014-10-07Change Twitter links to use `https`.XhmikosR1-20/+20
2014-10-03Add missing collapse JS files to dropdown visual testMaarten Van Hoof1-0/+1
Closes #14726.
2014-07-02Add collapsed default class to navbar-toggleMichael Silber1-1/+1
2014-06-07Adds isolated visual tests for javascript plugins (decoupled from docs). ↵fat1-0/+97
This makes it faster and easier to test/develop js functionality not represented in unit tests, and gives us a playground for interactions, etc. It also makes it so developing javascript is now decoupled form jekyll, which should make everything faster and less painful. This commit also reverts my filter commit https://github.com/twbs/bootstrap/commit/9900771aa7f1b3ddcee49aec84082104776ace70 which broke scrollspy for dropdowns.