diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2015-10-29 13:23:57 +0100 |
---|---|---|
committer | Hendrik Leppelsack <hendrik@leppelsack.de> | 2015-10-29 13:23:57 +0100 |
commit | 9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6 (patch) | |
tree | 5bd9205bd13f6ccfd88301fa345cc2cde6277ef5 /core | |
parent | 675c6963ba2986e8a5609d5a2cf79e1e89167947 (diff) | |
download | nextcloud-server-9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6.tar.gz nextcloud-server-9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6.zip |
make new checkbox style accessible for screenreaders
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 11 |
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 { |