summaryrefslogtreecommitdiffstats
path: root/core/css/guest.css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-01-25 12:48:59 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-02-22 12:54:31 +0100
commit58ecd86f55f18696b6b96f5fc06591301b296dee (patch)
tree29d5259c657d13c85d741de248f34eedbea868b5 /core/css/guest.css
parentd9ecc4d5700c49361c09cd58b61205554988f919 (diff)
downloadnextcloud-server-58ecd86f55f18696b6b96f5fc06591301b296dee.tar.gz
nextcloud-server-58ecd86f55f18696b6b96f5fc06591301b296dee.zip
Fix .infield labels not being readable by screenreaders
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/css/guest.css')
-rw-r--r--core/css/guest.css8
1 files changed, 2 insertions, 6 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index c924255a55f..f7d9280f9a7 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -331,12 +331,6 @@ input[type='checkbox'].checkbox--white:checked + label:before {
background-image: url('../img/actions/checkbox-mark-white.svg');
}
-
-/* keep the labels for screen readers but hide them since we use placeholders */
-label.infield {
- display: none;
-}
-
/* Password strength meter */
.strengthify-wrapper {
display: inline-block;
@@ -838,6 +832,8 @@ footer .info .entity-name {
display: none;
}
+/* keep the labels for screen readers but hide them since we use placeholders */
+label.infield,
.hidden-visually {
position: absolute;
left:-10000px;