[Pkg-owncloud-commits] [owncloud] 01/107: make new checkbox style accessible for screenreaders

David Prévot taffit at moszumanska.debian.org
Thu Dec 17 19:40:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit c8cb8f5bbd7b5802d60b01a06d711f0d2d50a5f9
Author: Hendrik Leppelsack <hendrik at leppelsack.de>
Date:   Thu Oct 29 13:23:57 2015 +0100

    make new checkbox style accessible for screenreaders
---
 core/css/styles.css | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/core/css/styles.css b/core/css/styles.css
index 41325e7..909bed6 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 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list