如何让 Jaws 读取 aria-descriptedby 属性

发布于 2024-12-23 23:06:03 字数 361 浏览 6 评论 0原文

问题如标题中所述,这是我的 HTML 代码。

<li> <a id="blog-setup" href="https://illinois.edu/toolbox/0.portlet?componentId=13&amp;desktopId=1" aria-describedby="readme">setup</a> </li>
<div id="readme">HELLO WORLD</div>

Jaws 声明如下:“链接设置...按 Jaws 键、alt 键和 R 来读取所描述的咏叹调”。我期望 Jaws 会说“链接设置 Hello World”。

The problem is as mentioned in the title and here is what I have as my HTML code.

<li> <a id="blog-setup" href="https://illinois.edu/toolbox/0.portlet?componentId=13&desktopId=1" aria-describedby="readme">setup</a> </li>
<div id="readme">HELLO WORLD</div>

What happens is Jaws states the following: "Link setup...press the Jaws key, alt key, and R to read the aria-describedby". What I expect would be for Jaws to say "Link setup Hello World".

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

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

发布评论

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

评论(3

爺獨霸怡葒院 2024-12-30 23:06:03

该行为是预期的(我并不是说它应该是这样),JAWS 从版本 12 开始就支持 aria-desiredby,它只是提醒用户它存在并读取快捷方式。如果您有 JAWS 12 或更高版本,您可以在 [HTML 属性行为表] 部分的 .smf 文件(JAWS 共享设置文件夹)中找到该消息,在我的 Classic.smf 中有一行

    describedby=1|NormalVoice:Use JawsKey+Alt+R to read descriptive text||

The behavior is what is intended (I'm not saying it is what it should be), JAWS has aria-describedby support since version 12 and it just alerts the user that it exists and reads the shortcut. If you have JAWS 12 or later, you can find the message in .smf files (JAWS shared settings folder) in [HTML Attribute Behavior Table] section, in my Classic.smf there is a line

    describedby=1|NormalVoice:Use JawsKey+Alt+R to read descriptive text||
给我一枪 2024-12-30 23:06:03

就我而言,当我将焦点放在带有描述性文本的项目上,然后按 (INS + ALT + R) 时,JAWS 只会说“Alt R”,没有其他内容。知道为什么会发生这种情况吗?

In my case, when I focus the item with the descriptive text, and press (INS + ALT + R), JAWS simply says "Alt R" and nothing else. Any idea why is this happening?

就此别过 2024-12-30 23:06:03

它实际上可能与您在 JAWS 中使用的详细程度设置有关。 JAWS 允许用户在初始设置时选择最长的描述、标题、链接文本等。

另外,检查您正在测试的 JAWS 版本,最新版本是 JAWS 13.0。

It may actually relate to the verbosity setting you are using in JAWS. JAWS allows users to choose the longest, long desc, title, link text etc by user choice on initial set up.

Also, check which version of JAWS you are testing with, the newest version is JAWS 13.0.

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