Browse Source

Add label for display name input. For #1826

pull/2632/head
Gabe Kangas 3 years ago
parent
commit
e50a810f23
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 3
      web/components/modals/NameChangeModal/NameChangeModal.tsx

3
web/components/modals/NameChangeModal/NameChangeModal.tsx

@ -77,6 +77,7 @@ export const NameChangeModal: FC = () => { @@ -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 = () => { @@ -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>

Loading…
Cancel
Save