summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-10-29 13:23:57 +0100
committerHendrik Leppelsack <hendrik@leppelsack.de>2015-10-29 13:23:57 +0100
commit9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6 (patch)
tree5bd9205bd13f6ccfd88301fa345cc2cde6277ef5 /core/css
parent675c6963ba2986e8a5609d5a2cf79e1e89167947 (diff)
downloadnextcloud-server-9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6.tar.gz
nextcloud-server-9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6.zip
make new checkbox style accessible for screenreaders
Diffstat (limited to 'core/css')
-rw-r--r--core/css/styles.css11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index abefd2748b2..060576cb2c0 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -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 {