0

Add label for display name input. For #1826

This commit is contained in:
Gabe Kangas 2023-01-23 20:25:47 -08:00
parent d21fa8e37b
commit e50a810f23
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -77,6 +77,7 @@ export const NameChangeModal: FC = () => {
value={newName}
onChange={e => setNewName(e.target.value)}
placeholder="Your chat display name"
aria-label="Your chat display name"
maxLength={30}
showCount
defaultValue={displayName}
@ -90,7 +91,7 @@ export const NameChangeModal: FC = () => {
>
{colorOptions.map(e => (
<Option key={e.toString()} title={e}>
<UserColor color={e} />
<UserColor color={e} aria-label={e.toString()} />
</Option>
))}
</Select>