]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Tweak the wording for link functionality
authorPatrick H. Lauke <redux@splintered.co.uk>
Sat, 26 Dec 2015 23:33:11 +0000 (23:33 +0000)
committerPatrick H. Lauke <redux@splintered.co.uk>
Sat, 26 Dec 2015 23:33:36 +0000 (23:33 +0000)
to harmonise it with the callout given in pagination

docs/components/buttons.md

index 4e8d58ab3c1440658a4ff181c3a28c84407257e3..92882574b69545787d6a84374a6217fd8ba599b7 100644 (file)
@@ -125,7 +125,7 @@ As `<a>` elements don't support the `disabled` attribute, you must add the `.dis
 {% callout warning %}
 #### Link functionality caveat
 
-This class uses `pointer-events: none` to try to disable the link functionality of `<a>`s, but that CSS property is not yet standardized and isn't fully supported in Opera 18 and below, or in Internet Explorer 11\. 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, use custom JavaScript to disable such links.
+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 and isn't fully supported in Opera 18 and below, or in Internet Explorer 11\. 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 %}
 
 ## Button plugin