All Collections
Widget
Can the UserWay Widget access content within an iFrame?
Can the UserWay Widget access content within an iFrame?

We often get asked about 3rd party content on websites served in an iFrame and how they will be treated by the UserWay Widget.

Ben Stern avatar
Written by Ben Stern
Updated over a week ago

Any content that is inside an iframe or is a shadow DOM is inaccessible to our widget. iFrames and shadow DOM components are protected by the browser for security reasons. Unfortunately, that’s the case for all the listed issues.

However, please keep in mind that this does not impact a native screen reader user's experience as they have access to the accessibility tree provided by the operating system while UserWay's widget gets the accessibility details from the browser DOM.

The UserWay Widget is a javascript library. It runs in the javascript browser context and can interact with page DOM structure only through mechanisms provided by the javascript engine.

The <select> element is notoriously difficult to control productively with javascript/css.

The reason: select element has complex inner structures with incapsulated logic/styling not exposed outside the element.

That's why target page javascript logic not allowed to track:

  • dropdown opened/closed

  • user alternates dropdown options

The reason why OS layer tech (NVDA, JAWS) are able to do these functions is because they utilize Browser APIs that provide more extended information about selected/focused UI components.

If you have any questions, you can reach our support team at support@userway.org

Did this answer your question?