diff options
| author | Chris Rebert <[email protected]> | 2014-10-22 08:31:35 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-10-22 08:31:35 -0700 |
| commit | fece552ce05882d697d4fa335f7d06170e78415b (patch) | |
| tree | 70278ec3f6fba7767083266b6c52d553ab8cc5e1 /docs | |
| parent | 908190a6c5b9c5efef357bc51b2035c5a9d50c1a (diff) | |
| parent | f26dde085fc00752cf60fab9f4b48967bac08b82 (diff) | |
| download | bootstrap-fece552ce05882d697d4fa335f7d06170e78415b.tar.xz bootstrap-fece552ce05882d697d4fa335f7d06170e78415b.zip | |
Merge pull request #14841 from twbs/role-button
add role="button" to a couple more dummy-anchor btns
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/_includes/js/popovers.html | 4 | ||||
| -rw-r--r-- | docs/_layouts/default.html | 2 |
2 files changed, 3 insertions, 3 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><a></code> tag, <i>not</i> the <code><button></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 %} diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 577b08ded..6342cd20e 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -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 %} |
