From e50d025cc3226ffc7f5a050564d49f89bd402ad7 Mon Sep 17 00:00:00 2001
From: Bryan Mauger
Date: Wed, 4 Jan 2023 16:05:33 -0500
Subject: [PATCH] CSR-735 fix for screenreader reading hidden content.
---
.../service-package-radio.vue | 76 ++++++++++++-------
1 file changed, 47 insertions(+), 29 deletions(-)
diff --git a/src/layouts/quote/service-package-question/service-package-radio/service-package-radio.vue b/src/layouts/quote/service-package-question/service-package-radio/service-package-radio.vue
index 7e4603bc5..574ea0b3f 100644
--- a/src/layouts/quote/service-package-question/service-package-radio/service-package-radio.vue
+++ b/src/layouts/quote/service-package-question/service-package-radio/service-package-radio.vue
@@ -13,34 +13,38 @@
class="sub-label m-0"
v-if="this.buttonLabelSubCopy"
v-html="this.buttonLabelSubCopy">
-
-
-
-
+
@@ -159,6 +163,14 @@ export default {
max-height: 1000px;
}
}
+ + .package-label {
+ .package-specs {
+ .div-to-hide {
+ visibility: visible;
+ opacity: 1;
+ }
+ }
+ }
+ .package-label {
background-color: $blue-100;
border: 1px solid $blue;
@@ -194,7 +206,7 @@ export default {
flex-direction: column;
width: 100%;
max-height: 0;
- transition: all 0.75s ease;
+ transition: all .5s ease;
p {
font-weight: 500;
@@ -220,6 +232,12 @@ export default {
font-size: 0.875rem;
}
}
+
+ .div-to-hide {
+ visibility: hidden;
+ opacity: 0;
+ transition: opacity 0.3s ease 0.3s, visibility 0.3s ease-out 0.3s;
+ }
}
}
}