summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-11 17:12:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-11 17:12:38 +0100
commit24793634924abe13c68061027462285bece2eb4c (patch)
treea894c86556bf81c4786310c18a2794add3ea1faf /core
parent5dd59b4bd2712706a36639697531e73df5c9a3c2 (diff)
parent9234b8c194eeca8ad27a12cfbd7aabf9920c9ca6 (diff)
downloadnextcloud-server-24793634924abe13c68061027462285bece2eb4c.tar.gz
nextcloud-server-24793634924abe13c68061027462285bece2eb4c.zip
Merge pull request #20148 from owncloud/checkbox-accessibility
Make new checkbox style accessible for screenreaders
Diffstat (limited to 'core')
-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 0a48c60f939..066087cc433 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 {