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 */
|
||||
html:not(.ie8) input[type="checkbox"].checkbox {
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:auto;
|
||||
width:auto;
|
||||
display: none;
|
||||
position: absolute;
|
||||
left:-10000px;
|
||||
top: auto;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
html:not(.ie8) input[type="checkbox"].checkbox + label:before {
|
||||
|
|
Loading…
Reference in New Issue