Firefox tabindex不遵循源顺序

时间:2014-09-08 13:50:12

标签: html firefox tabindex

Chrome上的标签很好地遵循此表单的源顺序,而Firefox会跳过密码重置链接,然后直接转到表单后面的下一个按钮。 Firefox是否优先使用链接上的按钮和表单元素进行tabindexing?我在链接上输入的tabindex数字没有任何区别

<form method="POST" action="/login" accept-charset="UTF-8">

    <label><span class="element-invisible">Email address</span>
        <input placeholder="Email address" name="login_email" type="email"> 
    </label>
    <label><span class="element-invisible">Password</span>
        <input placeholder="Password" name="login_password" value="" type="password">
    </label>
        <input class="buttonNoStyle submitButtonSolid" value="Login" type="submit">

    <div class="underForm">
        <input id="rememberMe" name="remember" class="element-invisible" value="all" checked="" type="checkbox">
        <label class="rememberMe" for="rememberMe">
            Remember me
        </label>

        <div class="forgot">|&nbsp;&nbsp; <a tabindex="1" class="forgotLink" href="/password/reset">Forgotten password</a></div>

    </div><!-- /underForm -->

</form>
<button type="button" class="buttonNoStyle standardButton thinnerButton whiteButton" id="logIn2">Log in</button>

0 个答案:

没有答案