tapindex란 focus가 불가능한 태그에 focus가 가능하도록 하게 해주는 속성이다.
tapindex
focus
<div class="box" tabindex="-1"></div>
위와 같은 코드를 작성하면 div태그를 클릭했을 때 input태그의 focus처럼 작동한다.
div
input