From 6f85a7fb6b759d9928296d3a8fb6daa97daaf843 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 12 Apr 2026 14:21:28 +0200 Subject: [PATCH] feat(a11y): fix heading hierarchy across pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Home: greeting H2 → H1 (page needs a top-level heading) - Task detail: task ID H1 → span (only title should be H1) - Task detail: H6 breadcrumb → nav element - App header: project title H1 → span (avoids duplicate H1) Fixes WCAG 1.3.1 (Info and Relationships) and 2.4.6 (Headings). --- frontend/src/components/home/AppHeader.vue | 4 ++-- frontend/src/components/tasks/partials/Heading.vue | 4 ++-- frontend/src/views/Home.vue | 4 ++-- frontend/src/views/tasks/TaskDetailView.vue | 5 +++-- frontend/tests/e2e/task/task.spec.ts | 10 +++++----- frontend/tests/e2e/user/login.spec.ts | 2 +- frontend/tests/e2e/user/openid-login.spec.ts | 2 +- frontend/tests/e2e/user/registration.spec.ts | 2 +- frontend/tests/e2e/user/session-refresh.spec.ts | 2 +- 9 files changed, 18 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/home/AppHeader.vue b/frontend/src/components/home/AppHeader.vue index b4cab1dc7..24f50e09b 100644 --- a/frontend/src/components/home/AppHeader.vue +++ b/frontend/src/components/home/AppHeader.vue @@ -21,9 +21,9 @@ v-if="currentProject?.id" class="project-title-wrapper" > -

+ {{ currentProject.title === '' ? $t('misc.loading') : getProjectTitle(currentProject) }} -

+ -

+ {{ textIdentifier }} -

+
-

+

{{ salutation }} -

+ -