From 69204656ae6070d650a1e6aecafae490ff8e599d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 14 May 2025 14:37:40 +0200 Subject: [PATCH] feat: various a11y fixes --- .../Configuration/TypoScript/setup.typoscript | 1 - .../Private/Assets/scss/base/_typography.scss | 2 +- .../Private/Layouts/Page/Frontpage.html | 22 ++++++---- .../Private/Layouts/Page/FrontpageEvent.html | 14 +++++-- .../Private/Layouts/Page/Subpage.html | 26 +++++++----- .../Layouts/Page/SubpageSidebarLeft.html | 40 +++++++++++-------- .../Layouts/Page/SubpageSidebarLeftEvent.html | 30 ++++++++------ .../Layouts/Page/SubpageSidebarRight.html | 40 +++++++++++-------- .../Page/SubpageSidebarRightEvent.html | 30 ++++++++------ .../Private/Layouts/Page/Travelinfo.html | 18 +++++---- .../Private/Partials/City/Teaser.html | 2 +- .../Private/Partials/Concept/Teaser.html | 2 +- .../Private/Partials/ContactBar.html | 10 ++--- .../Private/Partials/Disrupter/Large.html | 3 +- .../Partials/Disrupter/LastChance.html | 4 +- .../Private/Partials/Disrupter/Reminder.html | 8 ++-- .../Private/Partials/Disrupter/Small.html | 3 +- .../Private/Partials/Disturber/Large.html | 3 +- .../Private/Partials/Disturber/Reminder.html | 8 ++-- .../Private/Partials/Disturber/Small.html | 3 +- .../Private/Partials/EventDisturber.html | 3 +- .../Resources/Private/Partials/Faq.html | 5 ++- .../Resources/Private/Partials/Footer.html | 18 +++------ .../Private/Partials/HeaderSlider.html | 9 ++--- .../Private/Partials/HeaderSliderSmall.html | 5 +-- .../Private/Partials/Hotel/Teaser.html | 2 +- .../Private/Partials/ImageGallery.html | 13 +++--- .../Private/Partials/Journey/Details.html | 3 +- .../Resources/Private/Partials/Mainnav.html | 25 +++++------- .../Resources/Private/Partials/Mobilenav.html | 25 ++++-------- .../Partials/News/Detail/MediaContainer.html | 12 +++--- .../Private/Partials/News/List/Item.html | 2 +- .../Private/Partials/NotBookable.html | 2 +- .../Private/Partials/Product/Teaser.html | 3 +- .../Resources/Private/Partials/Rating.html | 3 +- .../Private/Partials/RegionAward.html | 1 - .../Private/Partials/RegionMaps.html | 3 +- .../Private/Partials/Search/MobileSearch.html | 4 +- .../Private/Partials/SubpageHeader.html | 5 +-- .../Private/Partials/TeaserImage.html | 3 +- .../Private/Partials/TeaserWideImage.html | 2 +- .../Private/Partials/Textmedia/Default.html | 6 +-- .../Partials/Textmedia/Partnerlogos.html | 3 +- .../Resources/Private/Partials/Topnav.html | 7 ++-- .../Private/Templates/Container/Quarters.html | 2 + .../FluidStyledContent/YoutubeVideo.html | 1 + .../Private/Templates/Searchbar/Index.html | 11 +++-- 47 files changed, 230 insertions(+), 217 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript index e37c7390..e837ea5e 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript @@ -38,7 +38,6 @@ plugin.tx_eptheme { defaultDetailPageUid = {$plugin.tx_epproducts.settings.defaultDetailPageUid} coronaUpdatesPageUid = {$plugin.tx_eptheme.settings.coronaUpdatesPageUid} logoImage = {$plugin.tx_eptheme.settings.logoImage} - defaultTitle < sitetitle forceActiveTopnavUid = {$plugin.tx_eptheme.settings.forceActiveTopnavUid} eventDateDayFrom = {$plugin.tx_eptheme.settings.eventDateDayFrom} eventDateDayTo = {$plugin.tx_eptheme.settings.eventDateDayTo} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_typography.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_typography.scss index 9b6eb52d..323f077e 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_typography.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/base/_typography.scss @@ -25,7 +25,7 @@ h4, } .subline { - @apply block text-xs md:text-sm font-normal leading-6 opacity-60; + @apply block text-sm md:text-base font-normal leading-6; } // Lists diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Frontpage.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Frontpage.html index ce4df0b2..2cffe29b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Frontpage.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Frontpage.html @@ -3,14 +3,20 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - - - - - - +
+ +
+
+ + + + + + +
+
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html index 0f32426d..c0543825 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/FrontpageEvent.html @@ -3,10 +3,16 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - - +
+ + +
+
+ +
+
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html index 9b04e84f..21358bcc 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Subpage.html @@ -3,16 +3,22 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - - - - - - - - +
+ + + + + + +
+
+ + + +
+
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeft.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeft.html index 8fed5a6b..289af2e3 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeft.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeft.html @@ -3,24 +3,30 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - - - - - - -
-
- +
+ + + + + + +
+
+ + +
+
+ +
+
+ +
-
- -
-
- - + + +
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html index 2561d283..d40e21d9 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarLeftEvent.html @@ -3,19 +3,25 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - -
-
- +
+ +
+
+ + +
+
+ +
+
+ +
-
- -
-
- - + + +
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRight.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRight.html index 4c50d5d7..107dbcd1 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRight.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRight.html @@ -3,24 +3,30 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - - - - - - -
-
- +
+ + + + + + +
+
+ + +
+
+ +
+
+ +
-
- -
-
- - + + +
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html index 56266e55..1a9c3fdb 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/SubpageSidebarRightEvent.html @@ -3,19 +3,25 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - - - -
-
- +
+ + +
+
+ +
+
+ +
+
+ +
-
- -
-
- - + + +
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Travelinfo.html b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Travelinfo.html index c10e89b5..8c19737a 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Travelinfo.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Layouts/Page/Travelinfo.html @@ -3,13 +3,13 @@ xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> -
+
- + + alt="Logo"/> Login
My E&P
-
- - + +
+ +
+
+ +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html index dd6d28e0..9cd64247 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Teaser.html @@ -4,7 +4,7 @@ xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> - +
{ep:icon(icon: 'flag-{city.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Concept/Teaser.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Concept/Teaser.html index 27cd1bfa..be14d982 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Concept/Teaser.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Concept/Teaser.html @@ -5,7 +5,7 @@ - +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html index 1b4d577d..2a6d11bf 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactBar.html @@ -6,7 +6,6 @@
@@ -17,7 +16,6 @@ {ep:icon(icon: 'phone', class: 'contact-bar__icon')} + class="contact-bar__item"> {ep:icon(icon: 'email', class: 'contact-bar__icon')}
{settings.contactFormToEmail} @@ -35,7 +32,6 @@ {ep:icon(icon: 'whatsapp', class: 'contact-bar__icon')} @@ -83,7 +79,7 @@ - + {ep:icon(icon: 'flag-gb', class: 'contact-bar__icon')}
English @@ -91,7 +87,7 @@ - + {ep:icon(icon: 'flag-de', class: 'contact-bar__icon')}
Deutsch diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html index 2cb6e78b..98eabcf1 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Large.html @@ -18,8 +18,7 @@ class="block w-full h-auto rounded-full" width="400" height="400c" - alt="{image.alternative}" - title="{image.title}" /> + alt="{image.alternative}" /> {data.text -> f:format.html()}
+ alt="{image.alternative}" />
{data.text -> f:format.html()}
- {button.container.label -> f:format.raw()} + + {button.container.label -> f:format.raw()} +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Small.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Small.html index eb72eaa3..5e7d5371 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Small.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Small.html @@ -16,8 +16,7 @@ class="block w-full h-auto rounded-full" width="400" height="400c" - alt="{image.alternative}" - title="{image.title}" /> + alt="{image.alternative}" />
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html index 861d8fe0..012e8a02 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Large.html @@ -19,8 +19,7 @@ class="block w-full h-auto rounded-full" width="400" height="400c" - alt="{teaserImage.alternative}" - title="{teaserImage.title}" /> + alt="{teaserImage.alternative}" /> + alt="{teaserImage.alternative}" />
{data.bodytext -> f:format.html()}
- {button.container.label -> f:format.raw()} + + {button.container.label -> f:format.raw()} +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Small.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Small.html index f5bdf3e5..6c95c9bf 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Small.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Small.html @@ -16,8 +16,7 @@ class="block w-full h-auto rounded-full" width="400" height="400c" - alt="{teaserImage.alternative}" - title="{teaserImage.title}" /> + alt="{teaserImage.alternative}" />
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventDisturber.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventDisturber.html index 672c05bb..021da352 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventDisturber.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventDisturber.html @@ -22,8 +22,7 @@
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html index 980c2247..29ba758b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Faq.html @@ -14,6 +14,7 @@
@@ -44,8 +45,8 @@ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html index 234d6f2c..02f671ce 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html @@ -20,7 +20,6 @@
  • {submenuitem.title} @@ -48,7 +47,6 @@ {settings.phoneNumber} @@ -73,7 +71,6 @@ {settings.whatsApp} @@ -100,22 +97,19 @@
  • diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html index 29e99f70..b82282d8 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSlider.html @@ -44,17 +44,16 @@
    - +
    -

    Ski-
    Pass

    -

    inklusive

    +
    Ski-
    Pass
    +
    inklusive
    - +
    - +

    Ski-
    Pass

    inklusive

    @@ -47,8 +47,7 @@ - + diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html index 9c761b85..2323729b 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html @@ -14,8 +14,7 @@ class="block w-full h-auto" width="770" height="430c+100" - alt="{journey.image.alternative}" - title="{journey.image.title}" /> + alt="{journey.image.alternative}" />

    diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html index c151ce47..e024b3de 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html @@ -8,10 +8,10 @@
    + title="zur Startseite"> + alt="Logo"/>