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 /components.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 'components.html')
| -rw-r--r-- | components.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components.html b/components.html index 8298a00b6..839e14290 100644 --- a/components.html +++ b/components.html @@ -2120,7 +2120,7 @@ body { padding-bottom: 70px; } <div class="caption"> <h3>Thumbnail label</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> - <p><a href="#" class="btn btn-primary">Button</a> <a href="#" class="btn btn-default">Button</a></p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> </div> </div> </div> @@ -2130,7 +2130,7 @@ body { padding-bottom: 70px; } <div class="caption"> <h3>Thumbnail label</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> - <p><a href="#" class="btn btn-primary">Button</a> <a href="#" class="btn btn-default">Button</a></p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> </div> </div> </div> @@ -2140,7 +2140,7 @@ body { padding-bottom: 70px; } <div class="caption"> <h3>Thumbnail label</h3> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p> - <p><a href="#" class="btn btn-primary">Button</a> <a href="#" class="btn btn-default">Button</a></p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> </div> </div> </div> @@ -2154,7 +2154,7 @@ body { padding-bottom: 70px; } <div class="caption"> <h3>Thumbnail label</h3> <p>...</p> - <p><a href="#" class="btn btn-primary">Button</a> <a href="#" class="btn btn-default">Button</a></p> + <p><a href="#" class="btn btn-primary" role="button">Button</a> <a href="#" class="btn btn-default" role="button">Button</a></p> </div> </div> </div> |
