From a8a3b7f574394540180a78ba5eee31b825e656cf Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 29 Apr 2026 01:12:37 +0200 Subject: [PATCH] fix(person-mention): textarea focus ring + 44px tap target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Leonie #5507 concerns 4 + 6: - The textarea had outline-none and no focus indicator — broken for keyboard-only navigation now that the typeahead is fully keyboard-driven. - A rows=1 textarea is ~24px tall (Merriweather + 1.625 line-height), below the WCAG 2.2 AA Target Size (44×44) requirement for the focused actionable element. Add focus-visible ring/border in brand-mint and a min-h of 44px with py-2.5 padding so the empty-state textarea hits the target. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/PersonMentionEditor.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/PersonMentionEditor.svelte b/frontend/src/lib/components/PersonMentionEditor.svelte index 1f82909d..1f25fc80 100644 --- a/frontend/src/lib/components/PersonMentionEditor.svelte +++ b/frontend/src/lib/components/PersonMentionEditor.svelte @@ -191,7 +191,7 @@ const popupOpen = $derived(query !== null);