From 44c0217d510a688e655093e26617058297521123 Mon Sep 17 00:00:00 2001
From: Jean-Paul van Ravensberg <14926452+DevSecNinja@users.noreply.github.com>
Date: Wed, 18 Nov 2026 16:54:19 +0100
Subject: [PATCH 1/2] fix(a11y): let the brand link's name include its visible
text
axe-core 4.14 reports label-content-name-mismatch (WCAG 2.5.3) on the
header brand link: its aria-label "Worldtime" omits the visible tagline.
Drop the redundant aria-label so the name comes from the visible text.
Refs #62
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
---
src/components/AppHeader.tsx | 114 +++++++++++++++++------------------
1 file changed, 57 insertions(+), 57 deletions(-)
diff --git a/src/components/AppHeader.tsx b/src/components/AppHeader.tsx
index 2dfc092..0a582e6 100644
--- a/src/components/AppHeader.tsx
+++ b/src/components/AppHeader.tsx
@@ -1,57 +1,57 @@
-import { useAppState } from '../app/app-state';
-import type { Locale, ThemeMode, TimeFormat } from '../domain/event';
-
-export function AppHeader() {
- const { locale, setLocale, theme, setTheme, timeFormat, setTimeFormat, t } = useAppState();
-
- return (
-
-
-
-
-
-
- {t('appName')}
- {t('tagline')}
-
-
-
-
-
-
-
-
-
- );
-}
+import { useAppState } from '../app/app-state';
+import type { Locale, ThemeMode, TimeFormat } from '../domain/event';
+
+export function AppHeader() {
+ const { locale, setLocale, theme, setTheme, timeFormat, setTimeFormat, t } = useAppState();
+
+ return (
+
+
+
+
+
+
+ {t('appName')}
+ {t('tagline')}
+
+
+
+
+
+
+
+
+
+ );
+}
From 2074fd3e2b62817c6da2ce9ac79fe6aff5ec1a6d Mon Sep 17 00:00:00 2001
From: Jean-Paul van Ravensberg <14926452+DevSecNinja@users.noreply.github.com>
Date: Wed, 18 Nov 2026 17:05:54 +0100
Subject: [PATCH 2/2] fix(a11y): restore LF line endings in AppHeader.tsx
---
src/components/AppHeader.tsx | 114 +++++++++++++++++------------------
1 file changed, 57 insertions(+), 57 deletions(-)
diff --git a/src/components/AppHeader.tsx b/src/components/AppHeader.tsx
index 0a582e6..d953afc 100644
--- a/src/components/AppHeader.tsx
+++ b/src/components/AppHeader.tsx
@@ -1,57 +1,57 @@
-import { useAppState } from '../app/app-state';
-import type { Locale, ThemeMode, TimeFormat } from '../domain/event';
-
-export function AppHeader() {
- const { locale, setLocale, theme, setTheme, timeFormat, setTimeFormat, t } = useAppState();
-
- return (
-
-
-
-
-
-
- {t('appName')}
- {t('tagline')}
-
-
-
-
-
-
-
-
-
- );
-}
+import { useAppState } from '../app/app-state';
+import type { Locale, ThemeMode, TimeFormat } from '../domain/event';
+
+export function AppHeader() {
+ const { locale, setLocale, theme, setTheme, timeFormat, setTimeFormat, t } = useAppState();
+
+ return (
+
+
+
+
+
+
+ {t('appName')}
+ {t('tagline')}
+
+
+
+
+
+
+
+
+
+ );
+}