aboutsummaryrefslogtreecommitdiff
path: root/js/tests/visual
AgeCommit message (Collapse)AuthorFilesLines
2021-02-22visual tests: add missing base-component dist file (#33167)XhmikosR11-0/+11
Regression of #32313
2021-02-09Dynamic tabs: use buttons rather than links (#32630)Patrick H. Lauke1-35/+32
* Dynamic tabs: use buttons rather than links - change docs - add mention that tabs should be <button> elements - tweak styles to neutralise border and background * Update js unit and visual test accordingly - replace links with buttons - make one specific test that uses links instead of buttons, as we still want to support it despite it being non-semantically appropriate - Leaving a couple of tests for now. The test for removed tabs should be redone so that tabs are removed programmatically (as the approach of having that close button inside the link is invalid and broken markup). The test for dropdowns should be removed together we actually ripping out the handling for dropdowns in the tab.js code (arguably a breaking change, though we discouraged this for a few versions and effectively "deprecated" it) * Add isolation:isolate to prevent focus being overlapped https://github.com/twbs/bootstrap/pull/32630#issuecomment-756015766
2021-01-28Make carousel indicators actual buttonsPatrick H. Lauke1-5/+5
2021-01-27Carousel: use buttons, not links, for prev/next controls (#32627)Patrick H. Lauke1-4/+4
* Carousel: use buttons, not links, for prev/next - expand the styles to neutralise border/background - change docs page - add extra unit test to check that links or buttons work as controls - modify visual test to use buttons as well - use buttons instead of links for prev/next - remove `role="button"` from links that are actually links * Clarify that controls can be button or link * Update site/content/docs/5.0/components/carousel.md Co-authored-by: Mark Otto <[email protected]> * Explicitly set padding to 0 to prevent dipping/moving on active in Firefox Co-authored-by: XhmikosR <[email protected]>
2021-01-08Move "active" class from `.nav-item` to `.nav-link` (#32730)Théophile Helleboid - chtitux2-4/+4
2020-12-06Update to popper.js v2.xJohann-S3-14/+5
2020-12-04feat(RTL): implement RTLGaël Poupard5-28/+27
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR1-1/+1
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-11-14Fix `.close` instances (#32152)XhmikosR3-25/+9
2020-11-14Add `bs` in data attributesRohit Sharma11-110/+110
- Add `bs` in data APIs everywhere - Update unit tests
2020-11-09modal.html: use `textContent` (#32101)XhmikosR1-1/+1
We are not handling any HTML
2020-11-05Remove the now unneeded polyfills.XhmikosR11-11/+0
2020-10-30Remove obsolete prefixes (#32012)XhmikosR1-2/+0
2020-10-22Move `href` attribute first (#31835)XhmikosR11-11/+11
2020-10-14Remove redundant visually hidden "(current)" from pagination controls (#31892)Patrick H. Lauke2-2/+2
* Replace visually hidden span with aria-current in tests * Remove redundant visually hidden "(current)" when `aria-current` already used Closes #31891
2020-07-03Rename `sr-only`/`sr-only-focusable` (#31139)Patrick H. Lauke3-9/+9
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <[email protected]>
2020-06-04Add role="dialog" in modals via JavaScript (#30936)Rohit Sharma1-4/+4
2020-05-11Removed role="document" from the modal dialog (#30755)Rohit Sharma1-3/+3
2020-05-06tests: streamline HTML end tags (#30648)XhmikosR2-2/+2
2020-03-31Use unordered lists in dropdown-menusMartijn Cuppens3-44/+44
2020-03-28v5 tabs - accessibility issue when using ul/li semanticLaussel Loïc3-39/+35
Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc
2019-07-29remove underscore for static methodsJohann-S1-2/+2
2019-07-24add polyfill.js in visual tests (#29116)Johann-S11-0/+11
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR11-21/+21
2019-03-18fix remove files in our visual testsJohann-S11-36/+13
2019-02-27Remove the now unneeded `shrink-to-fit` directive. (#28314)XhmikosR11-11/+11
2019-02-26move util in a util folder with the sanitizerJohann-S1-3/+3
2019-02-24Remove DOMContentLoaded. (#28337)XhmikosR4-111/+103
There's no reason for us to wait here.
2019-02-20tests/visual/modal.html: fix close button placement.XhmikosR1-3/+3
2019-02-20remove polyfills which override browsers defaultJohann-S3-5/+5
2019-02-20rewrite toast plugin without jqueryJohann-S1-8/+23
2019-02-20Remove IE support and button bsChecked hackAlessandro Chitolina1-2/+1
2019-02-20chore(update): bump to 4.1.3Johann-S9-9/+9
2019-02-20fix(visual-test): remove jquery in themJohann-S11-54/+100
2019-02-20fix(unit-test): dropdown, collapse and carouselJohann-S1-0/+1
2019-02-20rewritten scrollspy without jqueryAlessandro Chitolina1-0/+3
2019-02-20rewritten tab without jqueryAlessandro Chitolina1-0/+3
2019-02-20Dropdown without jQueryJohann-S1-0/+9
2019-02-20tooltip without jqueryAlessandro Chitolina2-0/+5
2019-02-20Rewrite Collapse without jQueryJohann-S1-0/+2
2019-02-20Rewritten modal without jquery (#23955)Alessandro Chitolina1-0/+3
* Trigger jquery events if available in event handler * Rewritten modal without jquery
2019-02-20Add Manipulator object to add shortcuts for dom manipulationsJohann-S1-0/+1
2019-02-20Rewrite carousel without jqueryJohann-S1-2/+6
2019-02-20button without jqueryXhmikosR1-0/+2
2019-02-20alert without jqueryJohann-S9-11/+11
2019-02-20Remove jQuery from Util.jsJohann-S9-0/+10
s
2019-02-19Remove incorrect aria-haspopup from dropdown toggles (#28299)Patrick H. Lauke3-19/+19
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup) in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies. in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page is hidden/inert. but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-01-15tests: use jQuery from node_modules. (#28059)XhmikosR11-11/+11
2018-12-21Prep for v4.2.0 releaseMark Otto11-11/+11
- 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)" ↵XhmikosR11-11/+11
(#27855) This reverts commit af484dc12c2302c0e594a0e73a2ba06738a84410.