我的有使用键盘的习惯。登陆表单什么的,通常都是一路 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