From 0c640131f083db2ade3989e82caa792de107868a Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:34:15 +0200 Subject: [PATCH] fix(safari): restored list-style type for VoiceOver screenreader (#563) --- source/_patterns/icons/_icons.demonstration.scss | 4 ++-- source/_patterns/logo/_logo.demonstration.scss | 2 +- source/css/pattern-scaffolding.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_patterns/icons/_icons.demonstration.scss b/source/_patterns/icons/_icons.demonstration.scss index 93b43a307..8b496777a 100644 --- a/source/_patterns/icons/_icons.demonstration.scss +++ b/source/_patterns/icons/_icons.demonstration.scss @@ -1,7 +1,7 @@ .DO-NOT-COPY-THIS-CLASS-example-icon-list { &, ol { - list-style: none; + list-style-type: ""; padding-left: 0; } @@ -36,7 +36,7 @@ } // … and using some other declaration for Mozilla Firefox &:first-of-type { - list-style-type: none; + list-style-type: ""; } figure { diff --git a/source/_patterns/logo/_logo.demonstration.scss b/source/_patterns/logo/_logo.demonstration.scss index 97932ed5c..fae9cedab 100644 --- a/source/_patterns/logo/_logo.demonstration.scss +++ b/source/_patterns/logo/_logo.demonstration.scss @@ -1,5 +1,5 @@ .DO-NOT-COPY-THIS-CLASS-example-logo-list { - list-style: none; + list-style-type: ""; padding-left: 0; diff --git a/source/css/pattern-scaffolding.css b/source/css/pattern-scaffolding.css index 456a1298c..bbeeae4da 100644 --- a/source/css/pattern-scaffolding.css +++ b/source/css/pattern-scaffolding.css @@ -29,7 +29,7 @@ } .sg-colors { - list-style: none !important; + list-style-type: "" !important; padding: 0 !important; margin: 0 !important; display: grid;