From 750dccc86387b8fed8b359262817a71d63e30937 Mon Sep 17 00:00:00 2001 From: Sabrina Hennrich Date: Mon, 16 Jun 2025 16:39:48 +0200 Subject: [PATCH] nav barrierefrei --- components/CallToActionBox.vue | 2 +- components/ContactForm.vue | 52 ++++++++++++++++---------- components/FAQArea.vue | 2 +- components/template/NavBar.vue | 10 ++++- layouts/default.vue | 2 +- pages/designer/index.vue | 4 +- pages/magazin/index.vue | 2 +- pages/sectors/film/index.vue | 2 +- pages/sectors/schools/index.vue | 2 +- pages/services/accessibility/index.vue | 2 +- pages/services/index.vue | 2 +- pages/webagency/index.vue | 6 +-- 12 files changed, 53 insertions(+), 35 deletions(-) diff --git a/components/CallToActionBox.vue b/components/CallToActionBox.vue index b69ebf2..1bad02a 100644 --- a/components/CallToActionBox.vue +++ b/components/CallToActionBox.vue @@ -2,7 +2,7 @@

{{ headline }}

{{ text }}

-
diff --git a/components/ContactForm.vue b/components/ContactForm.vue index 4b54f27..f17c4e8 100644 --- a/components/ContactForm.vue +++ b/components/ContactForm.vue @@ -7,17 +7,20 @@ aria-labelledby="controlIcon" role="dialog" > - - - + +
{{ $t('contactForm.sendMessage') }} @@ -406,6 +409,11 @@ watch(isContactBubbleOpen, async (newVal) => { a color: $primaryColor #controlIcon + border: none + &:focus + outline: 2px solid $primaryColor + outline-offset: 8px + svg position: absolute bottom: 50% left: 50% @@ -419,15 +427,22 @@ watch(isContactBubbleOpen, async (newVal) => { &.active height: 90vh width: 90vw - background-color: rgba(lighten($beige, 8%), .98) - color: $darkgrey + background-color: white display: flex flex-direction: column text-align: left border: 1px solid $lightgrey animation: none box-shadow: 1px 1px 15px 2px $beige - @media(max-width: $breakPointMD) + #controlIcon + width: auto + height: auto + top: 2rem + position: absolute + svg + display: block + fill: #888 + @media(max-width: $breakPointLG) border-radius: 0 height: 100% width: 100% @@ -437,10 +452,7 @@ watch(isContactBubbleOpen, async (newVal) => { right: 5vw left: auto bottom: 4rem !important - #controlIcon - bottom: 3rem - fill: #888 - width: 2rem + .mobileAspBox width: 30vw max-width: 90px @@ -480,7 +492,7 @@ watch(isContactBubbleOpen, async (newVal) => { textarea height: 20% font-size: 1.1rem - button + .btn font-size: 1.2rem border: none background-image: linear-gradient(to bottom right, lighten($pink, 10%), $pink) diff --git a/components/FAQArea.vue b/components/FAQArea.vue index 917c335..48e0a60 100644 --- a/components/FAQArea.vue +++ b/components/FAQArea.vue @@ -9,7 +9,7 @@

{{ $t('faqBox.questions') }}

-
diff --git a/components/template/NavBar.vue b/components/template/NavBar.vue index e2622a5..4c06b19 100644 --- a/components/template/NavBar.vue +++ b/components/template/NavBar.vue @@ -7,6 +7,7 @@ scrollPosition > 50 ? 'scrolled' : '' ]" aria-label="Hauptnavigation" + role="menu" >