aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-10-20 20:16:09 -0700
committerChris Rebert <[email protected]>2014-10-20 20:16:09 -0700
commitf26dde085fc00752cf60fab9f4b48967bac08b82 (patch)
treeea51453a6689d235911651789370641e80348a0a /docs/_includes/js
parenta096c3f6f66c3ce5d0517ef712479a9db22e6beb (diff)
downloadbootstrap-f26dde085fc00752cf60fab9f4b48967bac08b82.tar.xz
bootstrap-f26dde085fc00752cf60fab9f4b48967bac08b82.zip
add role="button" to a couple more dummy-anchor btns
Diffstat (limited to 'docs/_includes/js')
-rw-r--r--docs/_includes/js/popovers.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html
index 35f7bb170..7739c685e 100644
--- a/docs/_includes/js/popovers.html
+++ b/docs/_includes/js/popovers.html
@@ -120,10 +120,10 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<p>For proper cross-browser and cross-platform behavior, you must use the <code>&lt;a&gt;</code> tag, <i>not</i> the <code>&lt;button&gt;</code> tag, and you also must include a <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#tabindex"><code>tabindex</code></a> attribute.</p>
</div>
<div class="bs-example" style="padding-bottom: 24px;">
- <a href="#" tabindex="0" class="btn btn-lg btn-danger bs-docs-popover" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
+ <a href="#" tabindex="0" class="btn btn-lg btn-danger bs-docs-popover" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
</div>
{% highlight html %}
-<a href="#" tabindex="0" class="btn btn-lg btn-danger" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
+<a href="#" tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">Dismissible popover</a>
{% endhighlight %}