Merge pull request #20148 from owncloud/checkbox-accessibility

Make new checkbox style accessible for screenreaders
This commit is contained in:
Thomas Müller 2015-11-11 17:12:38 +01:00
commit 2479363492
1 changed files with 6 additions and 5 deletions

View File

@ -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 {