ANDI icon indicating copy to clipboard operation
ANDI copied to clipboard

ANDI causes page to reload but the page never reloads

Open johnscub11 opened this issue 1 year ago • 4 comments

I have a web page that loads and works correctly but, when I open ANDI, it forces the page to reload but the page never reloads. This page is inside a ServiceNow image. TTH Screen shot After starting ANDI TTH Screen shot before starting ANDI

Please let me know what additional information you need. Email: [email protected]

johnscub11 avatar Oct 25 '23 12:10 johnscub11

What is probably happening is that the content you want to test is inside of an iframe. Sometimes iframes are built in a way that when ANDI is launched, the iframe content gets removed - It's a browser security feature. Please try the instructions in this workaround: https://www.ssa.gov/accessibility/andi/help/faq.html#iframeFix

JohnCotterSSA avatar Oct 25 '23 13:10 JohnCotterSSA

Hi John I just saw your response and tried the workaround. I am still getting the same response. Based on the link you sent I pasted the following into the Console tab for the element I selected: javascript:void((function(){andiScript=document.createElement('script');andiScript.setAttribute('src','https://www.ssa.gov/accessibility/andi/andi.js');document.body.appendChild(andiScript)})()); It opened ANDI and I got the spinning circle in the middle of the page. The page was built using the ServiceNow workspace instead of the Portal.

johnscub11 avatar Nov 13 '23 13:11 johnscub11

I just found the issue. The application uses Shadow DOMS for each of the cards you see in the screen shot above and, based on the ANDI docs, it can't handle Shadow Doms. Is there any development work being done to handle these?

johnscub11 avatar Nov 13 '23 14:11 johnscub11

At this time, ANDI cannot inspect shadow DOM content.

JohnCotterSSA avatar Nov 15 '23 14:11 JohnCotterSSA