]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Minor Markdown fixes (#32009)
authorXhmikosR <xhmikosr@gmail.com>
Thu, 29 Oct 2020 17:05:39 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Oct 2020 17:05:39 +0000 (19:05 +0200)
* add missing language after fenced block
* add missing end of file newline

site/content/docs/5.0/components/dropdowns.md
site/content/docs/5.0/utilities/interactions.md

index 827cc2c7478579d215ff50e79d29b458b696e8ea..b83e2c54cab9ff730637f38f5c44e85724497903 100644 (file)
@@ -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
index 8909e855876cb55280fb2727e74f75cc8eac0baf..bdd2b62185252473e3cf6452e45066bf8a2265d4 100644 (file)
@@ -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 >}}