aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.1/examples/carousel
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Prep for v4.2.0 releaseMark Otto2-253/+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-6/+6
* 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-20Use the new include in examples too.XhmikosR2-11/+9
2018-11-15Use fancy apostrophe in HTML files.XhmikosR1-2/+2
For Markdown files, this isn't needed because the Markdown converter takes care of this.
2018-11-09Add an examples layout.XhmikosR1-172/+149
Reduces duplication and makes maintenance easier.
2018-09-18docs: use the bundle dist file.XhmikosR1-2/+1
2018-07-11Reorganize docs for easier deploysMark Otto2-0/+279
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.