让JAWS忽略html元素 [英] Have JAWS ignore an html element

查看:54
本文介绍了让JAWS忽略html元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正试图使我的应用程序对那些看不清楚的人更加用户友好.正如人们所期望的那样,我正在使用JAWS来测试我的应用程序.我遇到的大多数问题都相对容易解决,除了我陷入其中.

I am currently attempting to make my application be more user friendly to those with difficulty seeing. As one would expect, I am using JAWS to test my application. Most of the issues I have run in were relatively easy to fix, except I am stumped on one.

在我的应用程序中,我通过iframe注入了广告,我希望JAWS忽略它们,但我仍然希望它们显示(display:none毫无疑问).有什么方法可以让JAWS完全忽略一个元素及其所有子元素?

In my application, I have advertisements injected via an iframe and I want JAWS to ignore them, but I still want them to display (display:none is out of the question). Is there any way to have JAWS completely ignore an element and all of its children?

我看到一些发表演讲的文章:无,但这是行不通的.它似乎确实会忽略父div,但会读取iframe子项的内容.

I saw a few posts leading towards speak:none, but that does not work. It does seems to ignore the parent div, but it will instead reads the content of the iframe child.

任何提示将不胜感激.

谢谢.

推荐答案

对测试Web应用程序的可访问性很有帮助.

Good for you for testing your web application for accessibility.

JAWS已具有内置功能,可通过暂时或永久忽略内联iframe来忽略广告.

JAWS already has the feature built-in to ignore ads by temporarily or permanently ignoring inline iframes.

测试您的网站在切换该功能后能否正常运行,应该代表JAWS用户的典型体验.

Testing that your site works nicely with that feature toggled should represent the typical experience for a JAWS user.

横幅广告

如果您希望JAWS暂时忽略页面上的横幅广告,请执行以下操作:

Banner Ads

If you want JAWS to temporarily ignore banner ads on a page, do the following:

  1. 按INSERT + V.
  2. 按I,直到您选择内联框架显示-开".
  3. 按空格键选择内联框架显示-关".
  4. 按Enter.

要让JAWS永久忽略所有嵌入式框架,包括您可能会遇到的横幅广告:

To have JAWS permanently ignore all inline frames, including banner ads that you might encounter:

  1. 在Internet Explorer中,按INSERT + F2.
  2. 选择设置中心",然后按Enter.
  3. 焦点位于搜索"编辑框中.键入忽略内联",不带引号.
  4. 在设置中心的树状视图的筛选结果中,按向下箭头移动到忽略嵌入式框架".
  5. 按空格键以选中或取消选中复选框.
  6. 按TAB键移至确定"按钮,然后使用空格键将其激活.所做的更改已保存.设置中心关闭.

  • http://www.freedomscientific.com/Training/Surfs-up/hard_pages.htm
  • 上面链接中提到的其他要点将使您更好地避免其他不良做法.

    The other points mentioned on the above link will give you a good idea of additional bad practices to avoid.

    这篇关于让JAWS忽略html元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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