Flash Tab 顺序更改
我正在尝试将屏幕阅读器的一些辅助功能添加到 Flash 应用程序中,但遇到了一个棘手的问题。 Tab 键浏览元素的顺序由这些元素的 tabIndex 属性设置。 困难在于,由这些构建的选项卡列表似乎是永久的,但应用程序的内容是动态的(由 xml 构建,包含弹出窗口和对话框)。 有没有办法刷新/重建选项卡列表? 我愿意竭尽全力,尝试一些疯狂的技巧来完成这项工作,所以任何建议都是好的。
I'm trying to add some accessibility for screen readers into a Flash application, and am running up against a sticky point. The order for tabbing through elements is set by those elements' tabIndex property. The difficulty is, the tab list constructed from these seems to be permanent, but the content of the application is dynamic (built from xml, contains pop ups and dialog boxes). Is there a way to refresh/rebuild the tab list? I am willing to go to extreme lengths, and try some crazy hacks to make this work, so any suggestions are good.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以随时编辑元素 tabIndex 值,例如
将它们设置为与 childIndex 相同
以下内容对我有用,
您可以在此处下载示例 fla
http://matrixoft.infunity.com/agents/calvin/flash/tab。 rar
单击第三个按钮,它将更改 Tab 键顺序。
当您按 ctrl-enter 测试 fla 时,您可能需要“Control->禁用键盘快捷键”
you set edit the elements tabIndex values at any time you want
like setting them to be the same to childIndex
The following works for me
you can download a sample fla here
http://matrixoft.infunity.com/agents/calvin/flash/tab.rar
click the third button and it will change the tab order.
You may need to "Control->Disable keyboard shortcuts" when you ctrl-enter to test the fla
我正在使用 Flash Player 11.4 进行编译,切换 TextField 的 tabEnabled 属性很好,但我发现它不适用于 SimpleButton(将 tabEnabled 设置回 true 时它们不会再次启用)。 为此,我正在使用这个:
I am compiling with Flash Player 11.4 Toggling the TextField's tabEnabled property is fine, but I am finding that it does not work for SimpleButtons (they don't become enabled again when setting tabEnabled back to true). For that I am using this: