From 495198508d7b1f5689f012e5ecabdf5685de4832 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Wed, 21 Oct 2026 01:59:20 -0400 Subject: [PATCH] fix(a11y): the chat input is announced as a text field by screen readers (#32808) --- src/lib/components/common/RichTextInput.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/components/common/RichTextInput.svelte b/src/lib/components/common/RichTextInput.svelte index eba2b02e37..5246557089 100644 --- a/src/lib/components/common/RichTextInput.svelte +++ b/src/lib/components/common/RichTextInput.svelte @@ -1040,7 +1040,12 @@ editorProps: { // the tiptap placeholder never becomes the field's accessible name; // function form so a placeholder change is picked up after mount - attributes: () => ({ id, 'aria-label': _placeholder }), + attributes: () => ({ + id, + role: 'textbox', + 'aria-multiline': 'true', + 'aria-label': _placeholder + }), transformPasted: (slice) => { const stripMentionLinks = (fragment: Fragment): Fragment => { const nodes: Node[] = [];