强制 JAWS“按需”读取 FLEX 内容

发布于 09-28 15:40 字数 362 浏览 11 评论 0原文

我正在尝试使现有的 FLEX 应用程序兼容第 508 节,方法是使其与 JAWS 屏幕阅读器顺利工作。它有点有效,但一个直接的问题是,当您第一次进入登录屏幕时,您的光标最终会出现在用户 ID 字段中,但 JAWS 不会读取任何有用的内容(例如您所在字段的标签!)直到你按下 TAB 键或其他键。

有没有办法强制它在应用程序启动时立即说话,而不必让用户选项卡/后选项卡只是听到他们在哪里?

就此而言,尽管它在用户切换时读取交互式控件很酷,但有时您只需要让 JAWS 在逻辑中的特定点说出一些内容,该点可能与控件关联,也可能不关联,就好像你可以编写像 jaws.speak('blah blah blah'); 这样的 AS 代码。有谁知道如何做到这一点?

I'm trying to make an existing FLEX application section-508-compliant, by getting it to work smoothly with the JAWS screen reader. It kinda sorta works, but one immediate problem is that when you first go to the login screen, your cursor ends up in the userid field, but JAWS doesn't read anything useful (like the label of the field you're in!) until you hit TAB or something.

Is there a way to force it to speak immediately on application startup, without making the user tab/backtab just to hear where they are?

For that matter, as cool as it is that it reads interactive controls as the user tabs around, sometimes you just need to make JAWS say something at a particular point in the logic, which might or might not be associated with a control, as if you could write AS code like jaws.speak('blah blah blah');. Does anyone know how to accomplish this?

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

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

发布评论

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

评论(1

凹づ凸ル2024-10-05 15:40:56

查看本页上的提示和技巧幻灯片(第 16 页):

http://www. Slideshare.net/fugaciousness/accessibility-in-flex

特别是一些您可能会发现有用...

从 1 而不是 0 开始 tabIndex。

使用 ExternalInterface.call("s = function() {document.getElementByID('"+this.id+"').focus(); }");

或者强制选项卡保留在应用程序内... keyFocusChange="event .preventDefault(); focusManager.getNextFocusManagerComponent(event.shiftKey).setFocus()"

check out the Tips and Tricks slide (page 16) on this page:

http://www.slideshare.net/fugaciousness/accessibility-in-flex

A few in particular you may find usefull...

start the tabIndex at 1 instead of 0.

Force focus into the app with ExternalInterface.call("s = function() {document.getElementByID('"+this.id+"').focus(); }");

Or force the tab to stay within the app... keyFocusChange="event.preventDefault(); focusManager.getNextFocusManagerComponent(event.shiftKey).setFocus()"

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