我的理解是,在元素上使用-moz-user-focus: ignore
(参见 doc)时,Firefox 应该在切换时跳过该元素。但是,请尝试:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<form action="/">
<input type="text" value="First">
<input type="text" value="Second" style="-moz-user-focus: ignore">
<input type="text" value="Third">
</form>
</body>
</html>
- 第一次点击标签:你在第一个文本字段上。
- 再次点击选项卡:您在第二个文本字段中,尽管
-moz-user-focus: ignore
. 我在这里错过了什么吗?