Commit 24793634 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #20148 from owncloud/checkbox-accessibility

Make new checkbox style accessible for screenreaders
parents 5dd59b4b 9234b8c1
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment