An invalid form control with name='photo' is not focusable. code example
Example: an invalid form control with name='' is not focusable
add novalidate in your form
Example:
<form action="" novalidate>
</form>
add novalidate in your form
Example:
<form action="" novalidate>
</form>