mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Move from h4s and misc to h5s so headings from example snippets don't show in our table of contents
This commit is contained in:
@@ -95,7 +95,7 @@ Disabled buttons using the `<a>` element behave a bit different:
|
||||
{% endexample %}
|
||||
|
||||
{% callout warning %}
|
||||
#### Link functionality caveat
|
||||
##### Link functionality caveat
|
||||
|
||||
The `.disabled` class uses `pointer-events: none` to try to disable the link functionality of `<a>`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, add a `tabindex="-1"` attribute on these links (to prevent them from receiving keyboard focus) and use custom JavaScript to disable their functionality.
|
||||
{% endcallout %}
|
||||
|
||||
Reference in New Issue
Block a user