在键盘上键入任何键时,如何防止下巴读取密码?
下巴正在阅读密码。在密码字段中,如何防止它读取密码?我开始键入密码,并宣布密码。另外,如何通过使用Angular来防止它读取它?我正在使用Google Chrome。
Jaws is reading passwords. How can I prevent it from reading the password while I am at the password field? I started typing my password and it announces my password. Also, how can I prevent it from reading it by using Angular? I am using Google Chrome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您没有使用CSS和JAWS创建点,则将
角色=“ TextBox”
添加到密码字段中,而是将读取“子弹子弹子弹”。这比解决方案更能解决方法,但我发现它在浏览器和下颌版本中效果最好。如果您不瞄准真正的老颌骨(< 13);您还可以使用
aria-label =“读写”
,这应该覆盖jaws读取所输入的实际密码。我在文本框/密码盒上的方法取决于浏览器和下颌版本,因此在文本框/密码框上取得了成功。Add
role="textbox"
to the password field if you are not creating dots with CSS and JAWS will instead read "bullet bullet bullet". This is more workaround than solution but I found it works best across browsers and JAWS versions.If you don't target really old JAWS (<13); you can also use
aria-label="text to read"
and that should override JAWS reading actual password entered. I had mixed success with this approach on text-boxes/password-boxes depending on browser and JAWS version used.&lt; input type =“ password”&gt;
这将在输入时在密码字段中显示星号或弹头点(取决于浏览器),并阻止屏幕阅读器宣布您的字母打字。但这也意味着用户必须是触摸式的人,因为他们不会听到他们在打字的声音。屏幕读取器在输入时只会说“ Star Star”。
<input type="password">
This will displays asterisks or bullet points (depending on the browser) in the password field as you type and will prevent the screen reader from announcing the letter you're typing. But it also means the user must be a touch-typist because they won't hear what they're typing. The screen reader will just say "star star star" as you type.