Safari忽略tabindex [英] Safari ignoring tabindex

查看:168
本文介绍了Safari忽略tabindex的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个文本框旁边有两个按钮,在这两个按钮之后有另一个文本框。第一个文本框的tabindex为1000,第一个按钮为1001,第二个按钮为1002。第二个文本框的tabindex为1003。

I have 2 buttons next to a textbox and another textbox after the 2 buttons. The tabindex for the first textbox is 1000, the first button is 1001 and the second button is 1002. The second textbox has a tabindex of 1003.

当我按下tab键时,该tabindex在Safari之外的所有浏览器中均能正常工作,尽管tabindex的设置正确,但它会立即从第一个文本框移至第二个文本框。关于如何防止此问题的任何想法?

When I press tab, the tabindex works fine in all browsers except for Safari, where it immediately moves from the first textbox to the second textbox although the tabindex has been set properly. Any ideas on how to prevent this issue?

推荐答案

默认情况下,safari(!)中的tab-access处于禁用状态。要启用它,请选中首选项>高级>按Tab突出显示页面上的每个项目。

By default tab-access is disabled in safari(!). To enable it, check "Preferences > Advanced > Press tab to highlight each item on a page".

这篇关于Safari忽略tabindex的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆