From 2c3f006ef0c31f6d04bd0a9b9649261a2a47b275 Mon Sep 17 00:00:00 2001 From: Lotus Bot Date: Thu, 21 May 2026 13:40:35 -0400 Subject: [PATCH] fix(a11y): add labels to unlabeled form inputs\n\nCo-Authored-By: Claude Sonnet 4.6 --- src/app/components/AccountDataEditor.tsx | 2 ++ src/app/components/SecretStorage.tsx | 2 ++ src/app/components/uia-stages/EmailStage.tsx | 3 ++- src/app/pages/client/explore/Explore.tsx | 2 +- src/app/pages/client/explore/Server.tsx | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/app/components/AccountDataEditor.tsx b/src/app/components/AccountDataEditor.tsx index 76b73dda2..93b570fde 100644 --- a/src/app/components/AccountDataEditor.tsx +++ b/src/app/components/AccountDataEditor.tsx @@ -127,6 +127,7 @@ function AccountDataEdit({ 0 || submitting ? 'SurfaceVariant' : 'Background'} name="typeInput" + aria-label="Account data type" size="400" radii="300" readOnly={type.length > 0 || submitting} @@ -170,6 +171,7 @@ function AccountDataEdit({ Recovery Passphrase Recovery Key {title} {message} - + Email Add server name to explore public communities. Server Name - + {exploreState.status === AsyncStatus.Error && ( Failed to load public rooms. Please try again. diff --git a/src/app/pages/client/explore/Server.tsx b/src/app/pages/client/explore/Server.tsx index 9eefd20b3..ab09d6058 100644 --- a/src/app/pages/client/explore/Server.tsx +++ b/src/app/pages/client/explore/Server.tsx @@ -111,6 +111,7 @@ function Search({ active, loading, searchInputRef, onSearch, onReset }: SearchPr ref={searchInputRef} style={{ paddingRight: config.space.S300 }} name="searchInput" + aria-label="Search rooms" size="500" variant="Background" placeholder="Search for keyword"