2
0
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:
Mark Otto
2017-12-24 20:06:33 -08:00
committed by Mark Otto
parent 2416801c7e
commit 2435afe4e6
9 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -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 %}