mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Add label for display name input. For #1826
This commit is contained in:
parent
d21fa8e37b
commit
e50a810f23
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user