From 7e87d153723aa938ce2fe60b938ba40e3f292180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sun, 22 Jun 2025 16:28:29 +0200 Subject: [PATCH] feat: various a11y improvements --- .../ext/ep_theme/Configuration/Yaml/BaseSetup.yaml | 2 ++ .../ext/ep_theme/Configuration/Yaml/FormsBase.yaml | 2 ++ .../Resources/Private/Assets/scss/components/_buttons.scss | 4 ++-- .../ep_theme/Resources/Private/Partials/Form/Captcha.html | 7 ++++++- .../ep_theme/Resources/Private/Partials/HeaderSlider.html | 4 ++-- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Configuration/Yaml/BaseSetup.yaml b/public/typo3conf/ext/ep_theme/Configuration/Yaml/BaseSetup.yaml index 22f5cf2c..e566b69a 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/Yaml/BaseSetup.yaml +++ b/public/typo3conf/ext/ep_theme/Configuration/Yaml/BaseSetup.yaml @@ -17,6 +17,8 @@ TYPO3: 1623227657: 'EXT:ep_theme/Resources/Private/Partials/Form/' layoutRootPaths: 1505042810: 'EXT:ep_theme/Resources/Private/Layouts/Form/' + honeypot: + enable: false finishersDefinition: BpnApiFinisher: diff --git a/public/typo3conf/ext/ep_theme/Configuration/Yaml/FormsBase.yaml b/public/typo3conf/ext/ep_theme/Configuration/Yaml/FormsBase.yaml index 633b1e4b..f7d0c3fe 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/Yaml/FormsBase.yaml +++ b/public/typo3conf/ext/ep_theme/Configuration/Yaml/FormsBase.yaml @@ -32,6 +32,8 @@ TYPO3: 1623227657: 'EXT:ep_theme/Resources/Private/Partials/Form/' layoutRootPaths: 1505042810: 'EXT:ep_theme/Resources/Private/Layouts/Form/' + honeypot: + enable: false contactform: __inheritances: 10: 'TYPO3.CMS.Form.prototypes.standard' diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss index e7e20744..1dc210bf 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss @@ -29,7 +29,7 @@ &--active, &--secondary { - @apply bg-ep-secondary; + @apply bg-ep-secondary text-gray-900; @apply sbw:bg-sbw-primary; @apply snz:bg-snz-primary; @apply suz:bg-suz-primary; @@ -50,7 +50,7 @@ &--light { @apply bg-white border-2; @apply font-bold; - @apply border-ep-primary-light text-ep-primary; + @apply border-ep-primary-dark text-ep-primary-dark; @apply sbw:bg-white sbw:border-sbw-primary sbw:text-sbw-primary; @apply snz:bg-white snz:border-snz-primary snz:text-snz-primary; @apply suz:bg-white suz:border-suz-primary suz:text-suz-primary; diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Form/Captcha.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Form/Captcha.html index 89cacc79..7984a2ce 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Form/Captcha.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Form/Captcha.html @@ -14,7 +14,12 @@ additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"/> Captcha image -