http://www.mediawiki.org/wiki/Special:Code/MediaWiki/70015
Revision: 70015
Author: daniel
Date: 2010-07-27 15:35:24 +0000 (Tue, 27 Jul 2010)
Log Message:
-----------
vector accessibility: make a:focus like a:hover
Modified Paths:
--------------
trunk/phase3/skins/vector/main-ltr.css
trunk/phase3/skins/vector/main-rtl.css
Modified: trunk/phase3/skins/vector/main-ltr.css
===================================================================
--- trunk/phase3/skins/vector/main-ltr.css 2010-07-27 13:56:57 UTC (rev
70014)
+++ trunk/phase3/skins/vector/main-ltr.css 2010-07-27 15:35:24 UTC (rev
70015)
@@ -553,7 +553,8 @@
background-image: none;
font-size: 0.9em;
}
- #preftoc a:hover {
+ #preftoc a:hover,
+ #preftoc a:focus {
text-decoration: underline;
}
#preftoc li.selected a {
@@ -643,7 +644,7 @@
a:active {
color: #faa700;
}
-a:hover {
+a:hover, a:focus {
text-decoration: underline;
}
a.stub {
@@ -1124,11 +1125,13 @@
background-image: url(images/watch-icons.png?1);
background-position: 5px 60%;
}
-#ca-unwatch.icon a:hover {
+#ca-unwatch.icon a:hover,
+#ca-unwatch.icon a:focus {
background-image: url(images/watch-icons.png?1);
background-position: -67px 60%;
}
-#ca-watch.icon a:hover {
+#ca-watch.icon a:hover,
+#ca-watch.icon a:focus {
background-image: url(images/watch-icons.png?1);
background-position: -19px 60%;
}
Modified: trunk/phase3/skins/vector/main-rtl.css
===================================================================
--- trunk/phase3/skins/vector/main-rtl.css 2010-07-27 13:56:57 UTC (rev
70014)
+++ trunk/phase3/skins/vector/main-rtl.css 2010-07-27 15:35:24 UTC (rev
70015)
@@ -273,7 +273,8 @@
x:-moz-any-link {
margin-left: 23px;
}
- div.vectorMenu:hover div.menu {
+ div.vectorMenu:hover div.menu,
+ div.vectorMenu:focus div.menu {
display: block;
}
div.vectorMenu ul {
@@ -553,7 +554,7 @@
background-image: none;
font-size: 0.9em;
}
- #preftoc a:hover {
+ #preftoc a:hover, #preftoc a:focus {
text-decoration: underline;
}
#preftoc li.selected a {
@@ -643,7 +644,7 @@
a:active {
color: #faa700;
}
-a:hover {
+a:hover, a:focus {
text-decoration: underline;
}
a.stub {
@@ -1124,11 +1125,13 @@
background-image: url(images/watch-icons.png?1);
background-position: 5px 60%;
}
-#ca-unwatch.icon a:hover {
+#ca-unwatch.icon a:hover,
+#ca-unwatch.icon a:focus {
background-image: url(images/watch-icons.png?1);
background-position: -67px 60%;
}
-#ca-watch.icon a:hover {
+#ca-watch.icon a:hover,
+#ca-watch.icon a:focus {
background-image: url(images/watch-icons.png?1);
background-position: -19px 60%;
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs