Flash辅助功能,检测到屏幕读取器 [英] Flash Accessibility, detect screen reader

查看:143
本文介绍了Flash辅助功能,检测到屏幕读取器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个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?

推荐答案

好吧,我想通了

  1. 的wmode可能无法设置为透明的,它会隐藏SWFObject的对屏幕阅读器。
  2. SWFObject的需要集中,像这样:

  1. wmode may not be set to transparent, it will hide the swfobject for screenreaders.
  2. 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辅助功能,检测到屏幕读取器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆