diff options
| author | Kevin Suttle <[email protected]> | 2013-08-24 11:16:08 -0400 |
|---|---|---|
| committer | Kevin Suttle <[email protected]> | 2013-08-24 16:29:35 -0400 |
| commit | 0add7700adc3ccdef68b7a88ec3537b5e523bf9a (patch) | |
| tree | 69a28c5368d6f5291ce4880e78aed88092006c34 /css.html | |
| parent | c0b00f22fe47447155265a20d746889d92918d99 (diff) | |
| download | bootstrap-0add7700adc3ccdef68b7a88ec3537b5e523bf9a.tar.xz bootstrap-0add7700adc3ccdef68b7a88ec3537b5e523bf9a.zip | |
Add role="button" to <a> buttons
These should really be <button> elements, but until that gets squared away, this will suffice.
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2134,12 +2134,12 @@ For example, <code><section></code> should be wrapped as inline. <h3>Anchor element</h3> <p>Add the <code>.disabled</code> class to <code><a></code> buttons.</p> <p class="bs-example"> - <a href="#" class="btn btn-primary btn-lg disabled">Primary link</a> - <a href="#" class="btn btn-default btn-lg disabled">Link</a> + <a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a> + <a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a> </p> {% highlight html %} -<a href="#" class="btn btn-primary btn-lg disabled">Primary link</a> -<a href="#" class="btn btn-default btn-lg disabled">Link</a> +<a href="#" class="btn btn-primary btn-lg disabled" role="button">Primary link</a> +<a href="#" class="btn btn-default btn-lg disabled" role="button">Link</a> {% endhighlight %} <p> We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required. |
