Merge pull request #20148 from owncloud/checkbox-accessibility
Make new checkbox style accessible for screenreaders
This commit is contained in:
commit
2479363492
|
@ -164,11 +164,12 @@ textarea:hover, textarea:focus, textarea:active {
|
||||||
|
|
||||||
/* ie8 doesn't support :checked */
|
/* ie8 doesn't support :checked */
|
||||||
html:not(.ie8) input[type="checkbox"].checkbox {
|
html:not(.ie8) input[type="checkbox"].checkbox {
|
||||||
margin:0;
|
position: absolute;
|
||||||
padding:0;
|
left:-10000px;
|
||||||
height:auto;
|
top: auto;
|
||||||
width:auto;
|
width: 1px;
|
||||||
display: none;
|
height: 1px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
html:not(.ie8) input[type="checkbox"].checkbox + label:before {
|
html:not(.ie8) input[type="checkbox"].checkbox + label:before {
|
||||||
|
|
Loading…
Reference in New Issue