我的有使用鍵盤的習慣。登陸表單什麼的,通常都是一路 tab 過去。html
好比有個表單web
<input name="username" type="text"> <input name="password" type="text"> <input name="rememberme" type="checkbox">
Chrome 和 FireFox,tabindex 即使沒有設置,也可以用 tab 鍵一路走下去。app
Safari 就不行,從 username
=> password
=> 。。。而後就是 tab 不到 checkbox
。code
本來覺得是 tabindex 的問題,加上以後,Safari 仍是不 work。orm
一番搜索以後找到答案htm
摘抄以下:element
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了。。。rem