简体   繁体   English

使JAWS读取嵌入式iframe内容的最佳方法

[英]Best way to make JAWS read an embedded iframe's content

I'm trying to change the content of an iframe in a webpage and want JAWS screen reader to read only that content. 我正在尝试更改网页中iframe的内容,并希望JAWS屏幕阅读器仅读取该内容。

For this, I have used jQuery("#vn_space").focus(); 为此,我使用了jQuery("#vn_space").focus();

But this doesn't seem to work properly in all browsers. 但这似乎不能在所有浏览器中正常工作。 In IE9, JAWS is not reading links as 'links', and in FF, it is not reading the iframe 's content at all. 在IE9中,JAWS不会将链接读取为“链接”,而在FF中,它根本不会读取iframe的内容。

What should I do to make JAWS read the changed content properly? 如何使JAWS正确读取更改的内容?

Have you tried using the attribute tabindex in your HTML? 您是否尝试过在HTML中使用属性tabindex It may be worthwhile to give aria-label and role a try, too, to see if they help with the issue. 也可以尝试给aria-labelrole一个尝试,看看它们是否对解决问题有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM