]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add role="button" to a couple more dummy-anchor btns 14841/head
authorChris Rebert <code@rebertia.com>
Tue, 21 Oct 2014 03:16:09 +0000 (20:16 -0700)
committerChris Rebert <code@rebertia.com>
Tue, 21 Oct 2014 03:16:09 +0000 (20:16 -0700)
docs/_includes/js/popovers.html
docs/_layouts/default.html

index 35f7bb170ad17f216905654cf19b3be0124e78d2..7739c685e01eb07861c0e67bd92d5ad20ba5c772 100644 (file)
@@ -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 %}
 
 
index 577b08dede868109d8c4e692aba57f5f661a33c3..6342cd20e48936e9c4c94c8c1f069ff35b8e5a97 100644 (file)
@@ -48,7 +48,7 @@
               Back to top
             </a>
             {% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
-            <a href="#" class="bs-docs-theme-toggle">
+            <a href="#" class="bs-docs-theme-toggle" role="button">
               Preview theme
             </a>
             {% endif %}