Explicitly exclude an html element from the tab order

前端 未结 1 1157
夕颜
夕颜 2021-02-06 20:39

Is there anyway to exclude an element from the tab order of a HTML form.

So if i have the following




        
相关标签:
1条回答
  • 2021-02-06 20:50

    Setting the tabindex to -1 will render an element untabbable (if that's a word) :)

    <input type="text" name="username" tabindex="-1" />
    
    0 讨论(0)
提交回复
热议问题