From: Daniel Kinzler Date: Tue, 27 Jul 2010 15:35:24 +0000 (+0000) Subject: vector accessibility: make a:focus like a:hover X-Git-Tag: 1.31.0-rc.0~35887 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=4c3a760bd02eb731ecc4847ade572bcba0645a43;p=lhc%2Fweb%2Fwiklou.git vector accessibility: make a:focus like a:hover --- diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index e334464bf8..c75f768d4e 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -553,7 +553,8 @@ div#footer #footer-places li { 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:visited { a:active { color: #faa700; } -a:hover { +a:hover, a:focus { text-decoration: underline; } a.stub { @@ -1124,11 +1125,13 @@ div#bodyContent { 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%; } diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index f1de16ebc4..c2b3526415 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -273,7 +273,8 @@ div#mw-head h5 { 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 @@ div#footer #footer-places li { 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:visited { a:active { color: #faa700; } -a:hover { +a:hover, a:focus { text-decoration: underline; } a.stub { @@ -1124,11 +1125,13 @@ div#bodyContent { 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%; }