aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.1/components/carousel.md
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Prep for v4.2.0 releaseMark Otto1-371/+0
- 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-13SVG accessibility fixes (#27826)Patrick H. Lauke1-18/+18
* SVG accessibility fixes - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle - completely hide decorative SVGs using `aria-hidden="true"` - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label` - simplify placeholder default title * Simplify usage of placeholder.svg in the docs - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly) - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class) * Simplify example.html rewriting of <svg> to <img> code sample - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the placeholder.svg itself * Change svgo configuration to retain role attribute and add/force focusable=false - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-11-20Tweak placeholder.svg.XhmikosR1-18/+18
* always include the title * make it possible to skip adding the title by passing `title=' '` * remove viewBox since we don't need it
2018-11-20Replace holder.js with SVGs.Martijn Cuppens1-19/+19
2018-11-03Add Sass variable for prefers-reduced-motion, add callout to affected ↵Patrick H. Lauke1-0/+2
components (#27581) * Tweak the accessibility/reduced motion text include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS xref https://github.com/twbs/bootstrap/issues/27525 * Add new callout for reduced motion * Add variable to control prefers-reduced-motion media query support * Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-10-20swipe left/right without hammerjsJohann-S1-3/+1
2018-10-20Add touch support in our carousel with HammerJS.Johann-S1-0/+8
2018-09-18feature(carousel): carousel-item interval (#26667)Christopher Morrissey1-0/+29
adds the ability to assign data-interval to an individual carousel-item
2018-07-11Reorganize docs for easier deploysMark Otto1-0/+334
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.