diff options
| -rw-r--r-- | site/content/docs/5.0/components/dropdowns.md | 2 | ||||
| -rw-r--r-- | site/content/docs/5.0/utilities/interactions.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.0/components/dropdowns.md b/site/content/docs/5.0/components/dropdowns.md index 827cc2c74..b83e2c54c 100644 --- a/site/content/docs/5.0/components/dropdowns.md +++ b/site/content/docs/5.0/components/dropdowns.md @@ -325,7 +325,7 @@ Button dropdowns work with buttons of all sizes, including default and split dro </div> </div> -``` +```html <div class="btn-group"> <button class="btn btn-secondary btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-expanded="false"> Small button diff --git a/site/content/docs/5.0/utilities/interactions.md b/site/content/docs/5.0/utilities/interactions.md index 8909e8558..bdd2b6218 100644 --- a/site/content/docs/5.0/utilities/interactions.md +++ b/site/content/docs/5.0/utilities/interactions.md @@ -28,4 +28,4 @@ Bootstrap provides `.pe-none` and `.pe-auto` classes to prevent or add element i {{< callout warning >}} The `.pe-none` class (and the `pointer-events` CSS property it sets) only prevents interactions with a pointer (mouse, stylus, touch). Links and controls with `.pe-none` are, by default, still focusable and actionable for keyboard users. To ensure that they are completely neutralized even for keyboard users, you may need to add further attributes such as `tabindex="-1"` (to prevent them from receiving keyboard focus) and `aria-disabled="true"` (to convey the fact they are effectively disabled to assistive technologies), and possibly use JavaScript to completely prevent them from being actionable. For form controls, consider using the `disabled` HTML attribute instead. -{{< /callout >}}
\ No newline at end of file +{{< /callout >}} |
