【发布时间】:2014-12-30 04:58:59
【问题描述】:
我已经查看了 this post 和 this post,但它们对我有用。这些帖子已经有 4-5 年的历史了,所以浏览器规则可能已经改变或变得更具体了?
这是登录表格。没有 ajax 和任何类型的 javascript。我尝试将输入名称从usernameOrEmailAddress 更改为username,但这并没有改变任何东西。
<form method="post" name="loginForm" id="loginForm" action="login-check.php" autocomplete="on">
<table>
<tr>
<th>Username or Email Address</th>
<td><input autofocus type="text" name="usernameOrEmailAddress" value="" required></td>
</tr>
<tr>
<th>Password</th>
<td><input id="password" type="password" name="password" value="" required title="Password"></td>
</tr>
</table>
<div class='row'>
<input class="inputsubmit button" name="login" type="submit" value="Login" />
</div>
</form>
Chrome 和 Firefox 都不会提示下次保存密码。我做错了什么?
【问题讨论】:
-
你在清除你的cookies/缓存吗?
-
这些输入需要标签。 w3.org/TR/WCAG20-TECHS/H44.html