From ceaf6b74f80f121ef3e45e05cbfc14352605f432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20H=C3=B8egh?= Date: Thu, 11 May 2023 19:43:27 +0200 Subject: [PATCH] fix: disable skip-navigation link when modals show --- styles/_header.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/styles/_header.scss b/styles/_header.scss index 5aee17544..d97b2cc85 100644 --- a/styles/_header.scss +++ b/styles/_header.scss @@ -253,4 +253,9 @@ $header-height: 71px; right: auto; } } + + // Disable the skip-navigation link when modals are open + #zd-modal-container ~ .skip-navigation { + display: none; + } }