mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16983] Accessibility - fix elements with no focus style in ACP and Prosilver
PHPBB3-16983
This commit is contained in:
parent
4ed0201ffe
commit
4b2a24ba5e
4 changed files with 8 additions and 24 deletions
|
@ -627,7 +627,6 @@ li {
|
|||
font-size: 0.75em;
|
||||
text-decoration: none;
|
||||
cursor: inherit;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||
|
@ -1173,10 +1172,6 @@ optgroup, select {
|
|||
color: #000;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
optgroup {
|
||||
font-size: 1.00em;
|
||||
font-weight: bold;
|
||||
|
@ -1442,7 +1437,6 @@ input:focus, textarea:focus {
|
|||
border: 1px solid #BC2A4D;
|
||||
background-color: #E9E9E2;
|
||||
color: #BC2A4D;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||
|
@ -1592,11 +1586,6 @@ input.disabled {
|
|||
color: #666666;
|
||||
}
|
||||
|
||||
/* Focus states */
|
||||
input.button1:focus, input.button2:focus {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
/* jQuery popups
|
||||
---------------------------------------- */
|
||||
.phpbb_alert {
|
||||
|
|
|
@ -112,3 +112,11 @@ ul {
|
|||
abbr[title] {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fixes accessibility issue introduced by `normalize.css` by re-adding outline
|
||||
* to elements covered by the mouse when they are navigated into via keyboard
|
||||
*/
|
||||
a:hover {
|
||||
outline: revert;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
.button:focus,
|
||||
.button:hover {
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.caret {
|
||||
|
|
|
@ -27,10 +27,6 @@ select {
|
|||
font-size: 1em;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
option {
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
@ -265,8 +261,6 @@ fieldset.submit-buttons input {
|
|||
max-width: 100%;
|
||||
font-size: 1.2em;
|
||||
resize: vertical;
|
||||
outline: 3px dashed transparent;
|
||||
outline-offset: -4px;
|
||||
-webkit-transition: all .5s ease, height 1ms linear;
|
||||
-moz-transition: all .5s ease, height 1ms linear;
|
||||
-ms-transition: all .5s ease, height 1ms linear;
|
||||
|
@ -293,7 +287,6 @@ fieldset.submit-buttons input {
|
|||
|
||||
.inputbox:hover, .inputbox:focus {
|
||||
border: 1px solid transparent;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
input.inputbox { width: 85%; }
|
||||
|
@ -380,11 +373,6 @@ input.disabled {
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Focus states */
|
||||
input.button1:focus, input.button2:focus, input.button3:focus {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
/* Topic and forum Search */
|
||||
.search-box {
|
||||
float: left;
|
||||
|
|
Loading…
Add table
Reference in a new issue