aboutsummaryrefslogtreecommitdiff
path: root/less/close.less
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2013-01-02 22:39:21 +0000
committerPatrick H. Lauke <[email protected]>2013-01-02 22:39:21 +0000
commit848ca6e31562fc65da891cce9046853bd16564eb (patch)
tree3fb4c8c6be86061b9ef0c5d62c39d14f39427791 /less/close.less
parent1c0e4fc7bb6ab2ef12f1050ed177a02d16ebdbce (diff)
downloadbootstrap-848ca6e31562fc65da891cce9046853bd16564eb.tar.xz
bootstrap-848ca6e31562fc65da891cce9046853bd16564eb.zip
Basic keyboard accessibility CSS tweaks
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).
Diffstat (limited to 'less/close.less')
-rw-r--r--less/close.less3
1 files changed, 2 insertions, 1 deletions
diff --git a/less/close.less b/less/close.less
index c71a508f3..4c626bda6 100644
--- a/less/close.less
+++ b/less/close.less
@@ -11,7 +11,8 @@
color: @black;
text-shadow: 0 1px 0 rgba(255,255,255,1);
.opacity(20);
- &:hover {
+ &:hover,
+ &:focus {
color: @black;
text-decoration: none;
cursor: pointer;