]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Basic keyboard accessibility CSS tweaks
authorPatrick H. Lauke <redux@splintered.co.uk>
Wed, 2 Jan 2013 22:39:21 +0000 (22:39 +0000)
committerPatrick H. Lauke <redux@splintered.co.uk>
Wed, 2 Jan 2013 22:39:21 +0000 (22:39 +0000)
Mostly doubling-up :hover styles to also cover :focus, as a first step
to making the framework more keyboard-friendly.
Additionally, fixed two small markup issues in the docs/examples to
make the "Learn more" large primary button-styled links
keyboard-focusable (as without href they're treated as non-tabable
anchors).

fluid.html
hero.html

index 4ca2920efd0b508a4dc4dc3810e4ffd5ba5f1c72..359c4beed99f54ac33863b7f7d71588332882871 100644 (file)
@@ -86,7 +86,7 @@
           <div class="hero-unit">
             <h1>Hello, world!</h1>
             <p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
-            <p><a class="btn btn-primary btn-large">Learn more &raquo;</a></p>
+            <p><a href="#" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
           </div>
           <div class="row-fluid">
             <div class="span4">
index f0a5e17093b5760e28f74924ddfb6a8f32c8498a..1b9fc2fce922a3e4985ddd45358bde072edab873 100644 (file)
--- a/hero.html
+++ b/hero.html
@@ -75,7 +75,7 @@
       <div class="hero-unit">
         <h1>Hello, world!</h1>
         <p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
-        <p><a class="btn btn-primary btn-large">Learn more &raquo;</a></p>
+        <p><a href="#" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
       </div>
 
       <!-- Example row of columns -->