diff --git a/frontend/.prettierignore b/frontend/.prettierignore index 2e8d4019..dc7a1d03 100644 --- a/frontend/.prettierignore +++ b/frontend/.prettierignore @@ -16,3 +16,4 @@ bun.lockb # Test artifacts /test-results/ /e2e/.auth/ +/coverage/ diff --git a/frontend/e2e/accessibility.spec.ts b/frontend/e2e/accessibility.spec.ts index 3603f5db..06ac90ab 100644 --- a/frontend/e2e/accessibility.spec.ts +++ b/frontend/e2e/accessibility.spec.ts @@ -5,10 +5,6 @@ import { test, expect } from '@playwright/test'; * Automated accessibility checks using axe-core (wcag2a + wcag2aa). * Authenticated pages use the stored admin session from playwright.config.ts. * The login page test overrides to an unauthenticated context. - * - * Known exclusion: - * color-contrast — brand palette (ink-3, text-ink/60) does not meet AA contrast - * ratios. Requires a design review with Leonie before fixing. Tracked separately. */ const AUTHENTICATED_PAGES = [ @@ -18,7 +14,7 @@ const AUTHENTICATED_PAGES = [ ]; function buildAxe(page: Parameters[0]['page']) { - return new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa']).disableRules(['color-contrast']); + return new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa']); } test.describe('Accessibility — authenticated pages', () => { diff --git a/frontend/src/lib/components/CommentThread.svelte b/frontend/src/lib/components/CommentThread.svelte index de350d72..2bcf4418 100644 --- a/frontend/src/lib/components/CommentThread.svelte +++ b/frontend/src/lib/components/CommentThread.svelte @@ -277,7 +277,7 @@ onMount(async () => { {#if showReplyButton && canComment}
diff --git a/frontend/src/routes/admin/GroupsTab.svelte b/frontend/src/routes/admin/GroupsTab.svelte index d171ad0d..6eb22e53 100644 --- a/frontend/src/routes/admin/GroupsTab.svelte +++ b/frontend/src/routes/admin/GroupsTab.svelte @@ -135,7 +135,7 @@ function cancelEditGroup() {
diff --git a/frontend/src/routes/admin/UsersTab.svelte b/frontend/src/routes/admin/UsersTab.svelte index 52d40709..f6a72c32 100644 --- a/frontend/src/routes/admin/UsersTab.svelte +++ b/frontend/src/routes/admin/UsersTab.svelte @@ -78,7 +78,7 @@ let {
{m.btn_edit()} diff --git a/frontend/src/routes/conversations/+page.svelte b/frontend/src/routes/conversations/+page.svelte index 25665cdb..05b4b522 100644 --- a/frontend/src/routes/conversations/+page.svelte +++ b/frontend/src/routes/conversations/+page.svelte @@ -50,7 +50,7 @@ function swapPersons() {

{m.conv_heading()}

-

+

{m.conv_subtitle()}

diff --git a/frontend/src/routes/conversations/ConversationTimeline.svelte b/frontend/src/routes/conversations/ConversationTimeline.svelte index c1cac55f..6fc8bc56 100644 --- a/frontend/src/routes/conversations/ConversationTimeline.svelte +++ b/frontend/src/routes/conversations/ConversationTimeline.svelte @@ -57,7 +57,7 @@ const enrichedDocuments = $derived(

{m.persons_heading()}

-

+

{m.persons_subtitle()}

{#if data.canWrite}