fix(a11y): add labels to unlabeled form inputs\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

This commit is contained in:
Lotus Bot
2026-05-21 13:40:35 -04:00
parent f45aefdf1f
commit 2c3f006ef0
5 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ export function AddServer() {
<Text priority="400">Add server name to explore public communities.</Text>
<Box direction="Column" gap="100">
<Text size="L400">Server Name</Text>
<Input ref={serverInputRef} name="serverInput" variant="Background" required />
<Input ref={serverInputRef} name="serverInput" aria-label="Server name" variant="Background" required />
{exploreState.status === AsyncStatus.Error && (
<Text style={{ color: color.Critical.Main }} size="T300">
Failed to load public rooms. Please try again.
+1
View File
@@ -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"