[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 <vaidehi.sj@gmail.com>

* 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 <vaidehi.sj@gmail.com>
This commit is contained in:
Nick Taylor 2021-05-06 07:57:22 -04:00 committed by GitHub
parent 38214380dd
commit d59b8ba0ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
),