Improve accessibility of form fields in Register

See https://mui.com/material-ui/api/text-field/
This commit is contained in:
François Martin 2025-07-23 23:03:05 +02:00 committed by GitHub
parent fc84fb3c8b
commit 956d9025b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -46,21 +46,25 @@ export default class RegistrationDialog extends Component<IProps, IState> {
<DialogContent>
<TextField
autoFocus
id="register-username"
margin="dense"
className="name"
label="Name *"
name="username"
type="email"
value={name}
onChange={this.handleChange.bind(this, 'name')}
fullWidth
/>
<TextField
id="register-password"
margin="dense"
className="password"
type="password"
value={pass}
fullWidth
label="Pass *"
name="password"
onChange={this.handleChange.bind(this, 'pass')}
/>
</DialogContent>