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
This commit is contained in:
parent
e187d14142
commit
c8449285ae
@ -105,7 +105,6 @@ input#s {
|
||||
}
|
||||
|
||||
/* Assistive text */
|
||||
#access a.assistive-text:active,
|
||||
#access a.assistive-text:focus {
|
||||
left: auto;
|
||||
right: 7.6%;
|
||||
|
@ -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;
|
||||
|
@ -69,8 +69,6 @@ td {
|
||||
padding-left: 10px;
|
||||
padding-right: 0;
|
||||
}
|
||||
.assistive-text:hover,
|
||||
.assistive-text:active,
|
||||
.assistive-text:focus {
|
||||
left: auto;
|
||||
right: 5px;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user