add autofocus attribute