Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANDI Has Trouble Picking Up Modals #228

Open
WrongWayTester opened this issue Mar 1, 2024 · 4 comments
Open

ANDI Has Trouble Picking Up Modals #228

WrongWayTester opened this issue Mar 1, 2024 · 4 comments

Comments

@WrongWayTester
Copy link

WrongWayTester commented Mar 1, 2024

I've experienced issues where ANDI has trouble handling modals and cannot pickup the focusable elements immediately. I have had to reload ANDI like 4 or 5 times before it can pick up focusable elements inside a modal. Please fix this issue. I try to change the tool to different category, but it is locked on focusable elements.

See Screenshot
image

@JohnCotterSSA
Copy link
Member

From the screenshot it looks like ANDI did not load completely and there may be a JavaScript error preventing it from working correctly.

Please open developer tools (F12), view the console tab, and paste any errors you see here.

@WrongWayTester
Copy link
Author

WrongWayTester commented Mar 1, 2024

Here's there error in Developer Tab.

image

https://rcrainfo.epa.gov/rcrainfoprod/action/secured/login

  1. Is this DOMException error fixable on your end?

  2. If not, what can I tell our application developers to do, so they can fix this DOMException error and I can run ANDI and ideally without breaking any of the product owner's software?

  3. Thanks. Best Regards.

Uncaught DOMException: Permission denied to access property "document" on cross-origin object jQuery 3 grab_tabindex https://www.ssa.gov/accessibility/andi/andi.js:2117 grab_coreProperties https://www.ssa.gov/accessibility/andi/andi.js:2103 AndiData https://www.ssa.gov/accessibility/andi/andi.js:2089 analyze https://www.ssa.gov/accessibility/andi/fandi.js:26 jQuery 2 analyze https://www.ssa.gov/accessibility/andi/fandi.js:24 init_module https://www.ssa.gov/accessibility/andi/fandi.js:301 onreadystatechange https://www.ssa.gov/accessibility/andi/andi.js:328 launchModule https://www.ssa.gov/accessibility/andi/andi.js:328 setTimeout handler*AndiModule.launchModule https://www.ssa.gov/accessibility/andi/andi.js:306 andi508 https://www.ssa.gov/accessibility/andi/andi.js:133 launchAndi https://www.ssa.gov/accessibility/andi/andi.js:141 <anonymous> https://www.ssa.gov/accessibility/andi/andi.js:4146 <anonymous> https://www.ssa.gov/accessibility/andi/andi.js:4148 [jquery-1.11.1.min.js:2](https://rcrainfo.epa.gov/rcrainfoprod/static/v/022920242335/js/jquery/jquery-1.11.1.min.js) jQuery 3 grab_tabindex https://www.ssa.gov/accessibility/andi/andi.js:2117 grab_coreProperties https://www.ssa.gov/accessibility/andi/andi.js:2103 AndiData https://www.ssa.gov/accessibility/andi/andi.js:2089 analyze https://www.ssa.gov/accessibility/andi/fandi.js:26 jQuery 2 analyze https://www.ssa.gov/accessibility/andi/fandi.js:24 init_module https://www.ssa.gov/accessibility/andi/fandi.js:301 onreadystatechange https://www.ssa.gov/accessibility/andi/andi.js:328 (Async: EventHandlerNonNull) launchModule https://www.ssa.gov/accessibility/andi/andi.js:328 (Async: setTimeout handler) launchModule https://www.ssa.gov/accessibility/andi/andi.js:306 andi508 https://www.ssa.gov/accessibility/andi/andi.js:133 launchAndi https://www.ssa.gov/accessibility/andi/andi.js:141 <anonymous> https://www.ssa.gov/accessibility/andi/andi.js:4146 <anonymous> https://www.ssa.gov/accessibility/andi/andi.js:4148

@WrongWayTester
Copy link
Author

@JohnCotterSSA Any updates to questions 1 & 2?

@JohnCotterSSA
Copy link
Member

This is an error we haven't come across yet.

What is interesting to me is that the file throwing the error is a very old version of jquery, 1.11.1. Current jquery is 3.7.1.
image

If you are able to contact your developers, I suggest asking why this outdated version is being used. The development community has found many security vulnerabilities in older versions of jquery which has since been patched. I suggest seeing if updating to a newer jquery version would eliminate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants