Ask JAWS to ignore html element

I'm currently trying to make my application more convenient for those who have difficulty seeing. As expected, I use JAWS to test my application. Most of the problems that I ran were relatively easy to fix, except that I was at a dead end.

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

I saw several messages leading up to the conversation: no, but this does not work. It seems to ignore the parent div, but instead it reads the contents of the child iframe.

Any advice is appreciated.

Thank.

+3
source share
3 answers

Good for you to test your web application for accessibility.

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

Testing your site to work great with this feature should be a typical JAWS user experience.

Banner ads

If you want JAWS to temporarily ignore advertisements on the page, follow these steps:

  • Press INSERT + V.
  • Press "I" until you select "Inline Frames Show - On".
  • Press SPACEBAR to select "Single Frame - Off."
  • Press ENTER

JAWS , , :

  • Internet Explorer INSERT + F2.
  • ENTER.
  • . " inline" .
  • , .
  • .
  • TAB, OK . . .

, , , .

+3

ARIA aria-hidden="true" div iframe. JAWS.

+1

Give the aria role = "presentation" attribute to any element that you want to ignore. Jaws will not read them.

-2
source

Source: https://habr.com/ru/post/1794499/


All Articles