fix(a11y/prejoin) add label on prejoin input

This commit is contained in:
Emmanuel Pelletier 2023-02-28 19:57:32 +01:00
parent 5c018eb201
commit 7e14bfe74e
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ class Prejoin extends Component<IProps, IState> {
className = 'prejoin-input-area'
data-testid = 'prejoin.screen'>
{this.showDisplayNameField ? (<Input
accessibilityLabel = { t('dialog.enterDisplayName') }
autoComplete = { 'name' }
autoFocus = { true }
className = 'prejoin-input'