`s, but that CSS property is not yet standardized. In addition, even in browsers that do support `pointer-events: none`, keyboard navigation remains unaffected, meaning that sighted keyboard users and users of assistive technologies will still be able to activate these links. So to be safe, in addition to `aria-disabled="true"`, also include a `tabindex="-1"` attribute on these links to prevent them from receiving keyboard focus, and use custom JavaScript to disable their functionality altogether.
-{{< /callout >}}
+{{% /callout %}}
## Button plugin
The button plugin allows you to create simple on/off toggle buttons.
-{{< callout info >}}
+{{% callout info %}}
Visually, these toggle buttons are identical to the [checkbox toggle buttons]({{< docsref "/forms/checks-radios#checkbox-toggle-buttons" >}}). However, they are conveyed differently by assistive technologies: the checkbox toggles will be announced by screen readers as "checked"/"not checked" (since, despite their appearance, they are fundamentally still checkboxes), whereas these toggle buttons will be announced as "button"/"button pressed". The choice between these two approaches will depend on the type of toggle you are creating, and whether or not the toggle will make sense to users when announced as a checkbox or as an actual button.
-{{< /callout >}}
+{{% /callout %}}
### Toggle states
diff --git a/site/content/docs/5.0/components/card.md b/site/content/docs/5.0/components/card.md
index baa645be7c..ee25958eca 100644
--- a/site/content/docs/5.0/components/card.md
+++ b/site/content/docs/5.0/components/card.md
@@ -386,9 +386,9 @@ Turn an image into a card background and overlay your card's text. Depending on
{{< /example >}}
-{{< callout info >}}
+{{% callout info %}}
Note that content should not be larger than the height of the image. If content is larger than the image the content will be displayed outside the image.
-{{< /callout >}}
+{{% /callout %}}
## Horizontal
@@ -433,9 +433,9 @@ Use [text and background utilities]({{< docsref "/utilities/colors" >}}) to chan
{{< /card.inline >}}
{{< /example >}}
-{{< callout info >}}
+{{% callout info %}}
{{< partial "callout-warning-color-assistive-technologies.md" >}}
-{{< /callout >}}
+{{% /callout %}}
### Border
diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md
index c478cbfadc..bbbef9a10e 100644
--- a/site/content/docs/5.0/components/carousel.md
+++ b/site/content/docs/5.0/components/carousel.md
@@ -12,9 +12,9 @@ The carousel is a slideshow for cycling through a series of content, built with
In browsers where the [Page Visibility API](https://www.w3.org/TR/page-visibility/) is supported, the carousel will avoid sliding when the webpage is not visible to the user (such as when the browser tab is inactive, the browser window is minimized, etc.).
-{{< callout info >}}
+{{% callout info %}}
{{< partial "callout-info-prefersreducedmotion.md" >}}
-{{< /callout >}}
+{{% /callout %}}
Please be aware that nested carousels are not supported, and carousels are generally not compliant with accessibility standards.
@@ -324,9 +324,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
### Methods
-{{< callout danger >}}
+{{% callout danger %}}
{{< partial "callout-danger-async-methods.md" >}}
-{{< /callout >}}
+{{% /callout %}}
You can create a carousel instance with the carousel constructor, for example, to initialize with additional options and start cycling through items:
diff --git a/site/content/docs/5.0/components/collapse.md b/site/content/docs/5.0/components/collapse.md
index a6109e7f3e..cbfa774f9b 100644
--- a/site/content/docs/5.0/components/collapse.md
+++ b/site/content/docs/5.0/components/collapse.md
@@ -10,9 +10,9 @@ toc: true
The collapse JavaScript plugin is used to show and hide content. Buttons or anchors are used as triggers that are mapped to specific elements you toggle. Collapsing an element will animate the `height` from its current value to `0`. Given how CSS handles animations, you cannot use `padding` on a `.collapse` element. Instead, use the class as an independent wrapping element.
-{{< callout info >}}
+{{% callout info %}}
{{< partial "callout-info-prefersreducedmotion.md" >}}
-{{< /callout >}}
+{{% /callout %}}
## Example
@@ -187,9 +187,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
### Methods
-{{< callout danger >}}
+{{% callout danger %}}
{{< partial "callout-danger-async-methods.md" >}}
-{{< /callout >}}
+{{% /callout %}}
Activates your content as a collapsible element. Accepts an optional options `object`.
diff --git a/site/content/docs/5.0/components/dropdowns.md b/site/content/docs/5.0/components/dropdowns.md
index fb200f267f..a65b653a1e 100644
--- a/site/content/docs/5.0/components/dropdowns.md
+++ b/site/content/docs/5.0/components/dropdowns.md
@@ -632,9 +632,9 @@ Add `.disabled` to items in the dropdown to **style them as disabled**.
By default, a dropdown menu is automatically positioned 100% from the top and along the left side of its parent. Add `.dropdown-menu-right` to a `.dropdown-menu` to right align the dropdown menu.
-{{< callout info >}}
+{{% callout info %}}
**Heads up!** Dropdowns are positioned thanks to Popper.js (except when they are contained in a navbar).
-{{< /callout >}}
+{{% /callout %}}
{{< example >}}
@@ -817,9 +817,9 @@ Use `data-offset` or `data-reference` to change the location of the dropdown.
Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the `.show` class on the parent list item. The `data-toggle="dropdown"` attribute is relied on for closing dropdown menus at an application level, so it's a good idea to always use it.
-{{< callout info >}}
+{{% callout info %}}
On touch-enabled devices, opening a dropdown adds empty `mouseover` handlers to the immediate children of the `` element. This admittedly ugly hack is necessary to work around a [quirk in iOS' event delegation](https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html), which would otherwise prevent a tap anywhere outside of the dropdown from triggering the code that closes the dropdown. Once the dropdown is closed, these additional empty `mouseover` handlers are removed.
-{{< /callout >}}
+{{% /callout %}}
### Via data attributes
@@ -847,11 +847,11 @@ var dropdownList = dropdownElementList.map(function (dropdownToggleEl) {
})
{{< /highlight >}}
-{{< callout info >}}
+{{% callout info %}}
##### `data-toggle="dropdown"` still required
Regardless of whether you call your dropdown via JavaScript or instead use the data-api, `data-toggle="dropdown"` is always required to be present on the dropdown's trigger element.
-{{< /callout >}}
+{{% /callout %}}
### Options
diff --git a/site/content/docs/5.0/components/list-group.md b/site/content/docs/5.0/components/list-group.md
index a82bdddf79..371f546efc 100644
--- a/site/content/docs/5.0/components/list-group.md
+++ b/site/content/docs/5.0/components/list-group.md
@@ -140,9 +140,9 @@ Contextual classes also work with `.list-group-item-action`. Note the addition o
{{< /example >}}
-{{< callout info >}}
+{{% callout info %}}
{{< partial "callout-warning-color-assistive-technologies.md" >}}
-{{< /callout >}}
+{{% /callout %}}
## With badges
diff --git a/site/content/docs/5.0/components/modal.md b/site/content/docs/5.0/components/modal.md
index 8064999ec9..29f125fa81 100644
--- a/site/content/docs/5.0/components/modal.md
+++ b/site/content/docs/5.0/components/modal.md
@@ -26,9 +26,9 @@ myModal.addEventListener('shown.bs.modal', function () {
})
{{< /highlight >}}
-{{< callout info >}}
+{{% callout info %}}
{{< partial "callout-info-prefersreducedmotion.md" >}}
-{{< /callout >}}
+{{% /callout %}}
Keep reading for demos and usage guidelines.
@@ -888,9 +888,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
### Methods
-{{< callout danger >}}
+{{% callout danger %}}
{{< partial "callout-danger-async-methods.md" >}}
-{{< /callout >}}
+{{% /callout %}}
#### Passing options
diff --git a/site/content/docs/5.0/components/navbar.md b/site/content/docs/5.0/components/navbar.md
index b6c44dbbf5..88564cab12 100644
--- a/site/content/docs/5.0/components/navbar.md
+++ b/site/content/docs/5.0/components/navbar.md
@@ -17,9 +17,9 @@ Here's what you need to know before getting started with the navbar:
- Ensure accessibility by using a `