Skip to content

Commit

Permalink
Remove autofocus and improve placeholder text consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jul 14, 2023
1 parent f91b4fb commit 5447ae1
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,8 @@ export default function PageStatus( {
} )
}
value={ password }
/* eslint-disable jsx-a11y/no-autofocus */
autoFocus={ ! password }
/* eslint-enable jsx-a11y/no-autofocus */
placeholder={ __(
'Enter a secure password'
'Use a secure password'
) }
type="text"
/>
Expand Down

0 comments on commit 5447ae1

Please sign in to comment.