diff --git a/frontend/Dockerfile b/frontend/Dockerfile index dea8ddffa3..c59493fba5 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -84,6 +84,7 @@ ARG SENTRY_AUTH_TOKEN ARG SENTRY_URL ARG SENTRY_RELEASE ARG NEXT_PUBLIC_ASKEM_API_KEY +ARG NEXT_PUBLIC_SHOW_COOKIE_BANNER # Use non-root user USER appuser diff --git a/frontend/benefit/applicant/src/components/cookieConsent/CookieConsent.tsx b/frontend/benefit/applicant/src/components/cookieConsent/CookieConsent.tsx index 180aef3344..85c0beae1e 100644 --- a/frontend/benefit/applicant/src/components/cookieConsent/CookieConsent.tsx +++ b/frontend/benefit/applicant/src/components/cookieConsent/CookieConsent.tsx @@ -81,7 +81,7 @@ const CookieConsent: React.FC = () => { language: { onLanguageChange, }, - focusTargetSelector: '#focused-element-after-cookie-consent-closed', + focusTargetSelector: '#main_content', }; return ;