问题描述
我正在做一个SWF应用程序访问谁使用JAWS或Windows眼睛视力受损者。我安装了JAWS和Windows眼睛的演示版本。
I'm working on making a SWF application accessible for visually impaired people who use JAWS or Windows Eyes. I installed both JAWS and Windows Eyes demo versions.
当在HTML页面在浏览器上运行我的SWF(本地),Capabilities.hasAccessibility原来如此,但Accessibility.active原来假的,每一次 - 即使过了几秒钟检查它
When running my swf (locally) in a browser on a html page, Capabilities.hasAccessibility turns out true, but Accessibility.active turns out false, every time - even when checking it after a couple of seconds.
难道是因为我使用的演示版本,或者我只是错过了一些东西,如设置一个参数SWFObject的吧?
Is it because I am using demo versions or am I just missing out on something like setting a parameter for SWFObject perhaps?
推荐答案
好吧,我想通了
- 的wmode可能无法设置为透明的,它会隐藏SWFObject的对屏幕阅读器。
-
SWFObject的需要集中,像这样:
- wmode may not be set to transparent, it will hide the swfobject for screenreaders.
swfobject needs to be focused like so:
swfobject.addLoadEvent(setFocusOnFlash);
swfobject.addLoadEvent(setFocusOnFlash);
功能setFocusOnFlash(){变种FL =的document.getElementById(装载机);如果(佛罗里达州){fl.focus(); }
function setFocusOnFlash() {var fl = document.getElementById("loader");if (fl) { fl.focus(); }
}
这篇关于Flash辅助功能,检测到屏幕读取器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!