Skip to content

Commit

Permalink
Remove autofocus and improve placeholder text consistency. (#52634)
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored and tellthemachines committed Jul 24, 2023
1 parent b107e07 commit 114a638
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 114a638

Please sign in to comment.