From 9f821b4cfa5dbf78cfaf2443aa88de652ae68429 Mon Sep 17 00:00:00 2001 From: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com> Date: Wed, 28 May 2025 12:48:51 +0200 Subject: [PATCH] Add landmark for the cookie banner and update its links color (#25823) * Update cookie banner link color * Add landmark for the cookie banner GitOrigin-RevId: 9500cdfd7ddacbc2442680ed477ca1ac793720f7 --- services/web/app/views/_cookie_banner.pug | 4 ++-- .../frontend/stylesheets/bootstrap-5/components/footer.scss | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/_cookie_banner.pug b/services/web/app/views/_cookie_banner.pug index a164e48e83..2d5631f9c8 100644 --- a/services/web/app/views/_cookie_banner.pug +++ b/services/web/app/views/_cookie_banner.pug @@ -1,5 +1,5 @@ -.cookie-banner.hidden-print.hidden +section.cookie-banner.hidden-print.hidden(aria-label="Cookie banner") .cookie-banner-content We only use cookies for essential purposes and to improve your experience on our site. You can find out more in our cookie policy. .cookie-banner-actions button(type="button" class="btn btn-link btn-sm" data-ol-cookie-banner-set-consent="essential") Essential cookies only - button(type="button" class="btn btn-primary btn-sm" data-ol-cookie-banner-set-consent="all") Accept all cookies \ No newline at end of file + button(type="button" class="btn btn-primary btn-sm" data-ol-cookie-banner-set-consent="all") Accept all cookies diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/footer.scss b/services/web/frontend/stylesheets/bootstrap-5/components/footer.scss index 139994ab08..cd92669668 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/footer.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/footer.scss @@ -395,6 +395,11 @@ footer.site-footer { white-space: nowrap; padding-top: var(--spacing-00); } + + .cookie-banner-content a, + .cookie-banner-actions .btn-link { + color: var(--link-ui); + } } }