From e8a018ba6d4a44bde88436551500d446dcd44902 Mon Sep 17 00:00:00 2001
From: Sneha Mishra <33183263+Tlazypanda@users.noreply.github.com>
Date: Fri, 12 Jun 2020 02:29:17 +0530
Subject: [PATCH] improve accessibility of notifications settings (#7995)
---
app/views/users/settings.html.erb | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/app/views/users/settings.html.erb b/app/views/users/settings.html.erb
index 93d5ef1e93..7cc2c467e1 100644
--- a/app/views/users/settings.html.erb
+++ b/app/views/users/settings.html.erb
@@ -7,6 +7,7 @@
Do you want to be notified by email for comments on your posts?
@@ -20,6 +21,7 @@
Do you want to be notified by email for likes on your posts?
@@ -33,6 +35,7 @@
Do you want to be notified by email for comments on all posts you've commented on?
@@ -47,6 +50,7 @@
Do you want to be notified by email for moderation emails?
@@ -62,6 +66,7 @@
Do you want to receive customized digest weekly?
@@ -75,6 +80,7 @@
Do you want to receive customized digest daily?
@@ -88,6 +94,7 @@
Do you want to receive browser notification when you are mentioned?
@@ -101,6 +108,7 @@
Do you want to receive browser notification for all ?
@@ -114,6 +122,7 @@
Do you want to receive browser notification when someone likes your work?
@@ -191,7 +200,7 @@
}
- .switch input {display:none;}
+ .switch input,p {display:none;}
.slider {
position: absolute;