From 50b5e2802a180f6ae9ad9ae0219471f711ffd32a Mon Sep 17 00:00:00 2001 From: Melloware Date: Fri, 15 Mar 2024 13:37:14 -0400 Subject: [PATCH 1/3] Modernize ui-helper-hidden-accessible Based on this https://stackoverflow.com/a/62109988/502366 --- themes/base/core.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/themes/base/core.css b/themes/base/core.css index 0f4f07951cf..1e104972bf8 100644 --- a/themes/base/core.css +++ b/themes/base/core.css @@ -16,13 +16,15 @@ } .ui-helper-hidden-accessible { border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; padding: 0; - position: absolute; + margin: 0; + position: absolute !important; + height: 1px; width: 1px; + overflow: hidden; + clip: rect(1px, 1px, 1px, 1px); + clip-path: inset(50%); + white-space: nowrap; } .ui-helper-reset { margin: 0; From 674445cd7789bb756c68fcc63fc31d930ef273a6 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 11 Sep 2024 10:37:28 -0400 Subject: [PATCH 2/3] Update core.css --- themes/base/core.css | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/themes/base/core.css b/themes/base/core.css index 1e104972bf8..a6c1bb7386f 100644 --- a/themes/base/core.css +++ b/themes/base/core.css @@ -15,15 +15,8 @@ display: none; } .ui-helper-hidden-accessible { - border: 0; - padding: 0; - margin: 0; - position: absolute !important; - height: 1px; - width: 1px; - overflow: hidden; - clip: rect(1px, 1px, 1px, 1px); - clip-path: inset(50%); + pointer-events: none; + opacity: 0; white-space: nowrap; } .ui-helper-reset { From 447a89c114552c503245d43f16093c5970dbb2d6 Mon Sep 17 00:00:00 2001 From: Melloware Date: Fri, 13 Sep 2024 09:13:34 -0400 Subject: [PATCH 3/3] Update core.css --- themes/base/core.css | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/base/core.css b/themes/base/core.css index a6c1bb7386f..5ea272e9f72 100644 --- a/themes/base/core.css +++ b/themes/base/core.css @@ -15,6 +15,7 @@ display: none; } .ui-helper-hidden-accessible { + position: absolute; pointer-events: none; opacity: 0; white-space: nowrap;