声音不叙述对话框打开和退出对话框

发布于 2025-01-24 23:22:36 字数 145 浏览 7 评论 0原文

当我使用语音打开Web对话框时,它不会在关闭时叙述对话框打开并退出Diolog Box。 当我使用Chromevox尝试同一件事时,它叙述了对话框的开放和关闭。 这是有些声音的错误吗?还是我在这里错过了什么? 我在对话框中添加了Aria-labelled,Aria描述和角色。

When I open a web dialog using voice over, then it doesn't narrates dialog box open and diolog box exit upon closing it.
When I tried the same thing using chromevox, it narrated open and close of dialog box.
Is this some bug with voice over? Or am I missing something here?
I have added aria-labelledby, aria-describedby and role to the dialog.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

草莓酥 2025-01-31 23:22:36

打开时,您是否将焦点转移到对话框中?如果焦点仍然放在打开对话框的页面的主要部分,那么屏幕读取器没有什么可宣布的。

按照对话框设计模式,并注意注意关于初始键盘焦点。

Are you moving the focus into the dialog when it opens? If the focus is still on the main part of the page that opened the dialog, then there's nothing for the screen reader to announce.

Follow the dialog design pattern and note especially the NOTE about initial keyboard focus.

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