Add label for display name input. For #1826
This commit is contained in:
@@ -77,6 +77,7 @@ export const NameChangeModal: FC = () => {
|
|||||||
value={newName}
|
value={newName}
|
||||||
onChange={e => setNewName(e.target.value)}
|
onChange={e => setNewName(e.target.value)}
|
||||||
placeholder="Your chat display name"
|
placeholder="Your chat display name"
|
||||||
|
aria-label="Your chat display name"
|
||||||
maxLength={30}
|
maxLength={30}
|
||||||
showCount
|
showCount
|
||||||
defaultValue={displayName}
|
defaultValue={displayName}
|
||||||
@@ -90,7 +91,7 @@ export const NameChangeModal: FC = () => {
|
|||||||
>
|
>
|
||||||
{colorOptions.map(e => (
|
{colorOptions.map(e => (
|
||||||
<Option key={e.toString()} title={e}>
|
<Option key={e.toString()} title={e}>
|
||||||
<UserColor color={e} />
|
<UserColor color={e} aria-label={e.toString()} />
|
||||||
</Option>
|
</Option>
|
||||||
))}
|
))}
|
||||||
</Select>
|
</Select>
|
||||||
|
|||||||
Reference in New Issue
Block a user