aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.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/carousel.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/carousel.less')
-rw-r--r--less/carousel.less5
1 files changed, 3 insertions, 2 deletions
diff --git a/less/carousel.less b/less/carousel.less
index b321e5bb5..644ee2de9 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -97,8 +97,9 @@
right: 15px;
}
- // Hover state
- &:hover {
+ // Hover/focus state
+ &:hover,
+ &:focus {
color: @white;
text-decoration: none;
.opacity(90);