Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2013-01-03 02:39:21 +0400
committerPatrick H. Lauke <redux@splintered.co.uk>2013-01-03 02:39:21 +0400
commit848ca6e31562fc65da891cce9046853bd16564eb (patch)
tree3fb4c8c6be86061b9ef0c5d62c39d14f39427791 /less/pagination.less
parent1c0e4fc7bb6ab2ef12f1050ed177a02d16ebdbce (diff)
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/pagination.less')
-rw-r--r--less/pagination.less4
1 files changed, 3 insertions, 1 deletions
diff --git a/less/pagination.less b/less/pagination.less
index e35d3f4a8e..a789db2d28 100644
--- a/less/pagination.less
+++ b/less/pagination.less
@@ -32,6 +32,7 @@
border-left-width: 0;
}
.pagination ul > li > a:hover,
+.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
background-color: @paginationActiveBackground;
@@ -43,7 +44,8 @@
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
-.pagination ul > .disabled > a:hover {
+.pagination ul > .disabled > a:hover,
+.pagination ul > .disabled > a:focus {
color: @grayLight;
background-color: transparent;
cursor: default;