aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-10-29 19:05:39 +0200
committerGitHub <[email protected]>2020-10-29 19:05:39 +0200
commit5076170d7611d766ae52d162f492fafa55f309ff (patch)
tree90c687fdef987cfb6675e636eca846a612609f8b
parent370e9ab19e9650f9cc8e97522055069d48735df3 (diff)
downloadbootstrap-5076170d7611d766ae52d162f492fafa55f309ff.tar.xz
bootstrap-5076170d7611d766ae52d162f492fafa55f309ff.zip
Minor Markdown fixes (#32009)
* add missing language after fenced block * add missing end of file newline
-rw-r--r--site/content/docs/5.0/components/dropdowns.md2
-rw-r--r--site/content/docs/5.0/utilities/interactions.md2
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 >}}