在键盘上键入任何键时,如何防止下巴读取密码?

发布于 2025-02-13 15:12:55 字数 90 浏览 2 评论 0原文

下巴正在阅读密码。在密码字段中,如何防止它读取密码?我开始键入密码,并宣布密码。另外,如何通过使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

峩卟喜欢 2025-02-20 15:12:56

如果您没有使用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.

波浪屿的海角声 2025-02-20 15:12:56

&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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文