From c8449285ae4f967205960f32301f400c3ee4c9eb Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Thu, 28 Mar 2013 16:37:42 +0000 Subject: [PATCH] Bundled themes: remove cases of `:active` and `:hover` pseudo-class selectors used for accessibility. These cases need `:focus` only. See r23783 and #23803. git-svn-id: https://develop.svn.wordpress.org/trunk@23841 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-content/themes/twentyeleven/rtl.css | 1 - wp-content/themes/twentyeleven/style.css | 1 - wp-content/themes/twentythirteen/rtl.css | 2 -- wp-content/themes/twentythirteen/style.css | 1 - wp-content/themes/twentytwelve/style.css | 2 -- 5 files changed, 7 deletions(-) diff --git a/wp-content/themes/twentyeleven/rtl.css b/wp-content/themes/twentyeleven/rtl.css index 19ac828adb..376e5437ed 100644 --- a/wp-content/themes/twentyeleven/rtl.css +++ b/wp-content/themes/twentyeleven/rtl.css @@ -105,7 +105,6 @@ input#s { } /* Assistive text */ -#access a.assistive-text:active, #access a.assistive-text:focus { left: auto; right: 7.6%; diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 6d7188a477..9f2bb8d94d 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -498,7 +498,6 @@ a:hover { clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); } -#access a.assistive-text:active, #access a.assistive-text:focus { background: #eee; border-bottom: 1px solid #ddd; diff --git a/wp-content/themes/twentythirteen/rtl.css b/wp-content/themes/twentythirteen/rtl.css index 071ad26904..6a626418a0 100644 --- a/wp-content/themes/twentythirteen/rtl.css +++ b/wp-content/themes/twentythirteen/rtl.css @@ -69,8 +69,6 @@ td { padding-left: 10px; padding-right: 0; } -.assistive-text:hover, -.assistive-text:active, .assistive-text:focus { left: auto; right: 5px; diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index f79d661e06..aa7d291f9b 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -547,7 +547,6 @@ hr { clip: rect(1px, 1px, 1px, 1px); } -.screen-reader-text:active, .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index cdcee4c5ca..a783a1024a 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -505,8 +505,6 @@ a:hover { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); } -.main-navigation .assistive-text:hover, -.main-navigation .assistive-text:active, .main-navigation .assistive-text:focus { background: #fff; border: 2px solid #333;