SSAgov / ANDI

A tool to test web content for accessibility and 508 compliance.

Home Page:https://www.ssa.gov/accessibility/andi/help/howtouse.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ANDI Has Trouble Picking Up Modals

WrongWayTester opened this issue · comments

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

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.

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

@JohnCotterSSA Any updates to questions 1 & 2?

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.