From d59b8ba0eef6daaa6cd94549c00cf4b5e70773d6 Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Thu, 6 May 2021 07:57:22 -0400 Subject: [PATCH] [15-min-fix] Set opacity-0 CSS utility class to 0.00001 for ChromeVox (#13666) * Set opacity-0 CSS utility class to 0.00001 for ChromeVox. * Update app/assets/stylesheets/config/_generator.scss Co-authored-by: Vaidehi Joshi * Added a SASS variable as it's being used in #13435. * Revert "Added a SASS variable as it's being used in #13435." This reverts commit ec1eaa17387b8e050ca6dae73b083823bc44f6e9. Co-authored-by: Vaidehi Joshi --- app/assets/stylesheets/config/_generator.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/config/_generator.scss b/app/assets/stylesheets/config/_generator.scss index 7cc92b351..76e81d5cf 100644 --- a/app/assets/stylesheets/config/_generator.scss +++ b/app/assets/stylesheets/config/_generator.scss @@ -34,7 +34,8 @@ ( 'opacity', 'opacity', - ('100': 1, '75': 0.75, '50': 0.5, '25': 0.25, '0': 0), + // Explicitly set opacity-0 to 0.00001 to ensure accessibility on ChromeVox. See https://github.com/forem/forem/issues/12939 + ('100': 1, '75': 0.75, '50': 0.5, '25': 0.25, '0': 0.00001), (), true ),