From 848ca6e31562fc65da891cce9046853bd16564eb Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Wed, 2 Jan 2013 22:39:21 +0000 Subject: 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). --- less/carousel.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'less/carousel.less') 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); -- cgit v1.2.3