Safari tabindex 不工作的问题 (误
生活随笔
收集整理的這篇文章主要介紹了
Safari tabindex 不工作的问题 (误
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
個人有使用鍵盤的習慣。登錄表單什么的,一般都是一路 tab 過去。
比如有個表單
<input name="username" type="text"> <input name="password" type="text"> <input name="rememberme" type="checkbox">Chrome 和 FireFox,tabindex 即便沒有設置,也能夠用 tab 鍵一路走下去。
Safari 就不行,從 username => password => 。。。然后就是 tab 不到 checkbox。
原本以為是 tabindex 的問題,加上之后,Safari 還是不 work。
一番搜索之后找到答案
摘抄如下:
If you read the WebCore source you'll see that there is full support for the tabindex property for all sorts of different types of elements.To turn the feature on and tab to all types of form elements in Safari, go to the System Preferences keyboard shortcuts and check the "Turn on full keyboard access" check box.然后就。。。ok了。。。
轉載于:https://www.cnblogs.com/rand7/p/4422035.html
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的Safari tabindex 不工作的问题 (误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 毕业设计之路(2)——初识TCP
- 下一篇: 北漂周记--第2记--培训开始