mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Minor Markdown fixes (#32009)
* add missing language after fenced block * add missing end of file newline
This commit is contained in:
parent
370e9ab19e
commit
5076170d76
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 >}}
|
||||
{{< /callout >}}
|
||||
|
|
Loading…
Reference in a new issue