SSAgov / ANDI

A tool to test web content for accessibility and 508 compliance.
https://www.ssa.gov/accessibility/andi/help/howtouse.html
Other
293 stars 75 forks source link

ANDI not detecting body elements in Oracle ADF web application #141

Closed PeterBNY closed 1 year ago

PeterBNY commented 1 year ago

I disabled the Content Security Policy (CSP) and was able to get ANDI to overlay on the following webpage after login: https://my.ginniemae.gov/

However, it is only finding the header & banner elements near the top of the page. ANDI detects the rest of the page below as one large element (not able to isolate tables, buttons, input fields, etc.). I have tried both mouse hover and the Next or Previous Element buttons.

Could this behavior be due to the Oracle ADF framework and how its components are built? Please let me know if there is any kind of workaround or solution to get ANDI to properly detect these elements. Thanks in advance.

JohnCotterSSA commented 1 year ago

We at SSA are not able to login to this site, but here's some suggestions:

It could be that the content in the "large element" is an iframe. If that's the case, you may need to select iframes from the ANDI modules dropdown to isolate and test the content in the iframe. Using ANDI on iframes

It could also be that the content is an HTML canvas element, in which case, in which case ANDI cannot detect the content because the content is not keyboard accessible. ANDI canvas alert

It could also just be that the large region has no focusable elements, in which case default ANDI would not detect any focusable/tabbable content. Try using Structures ANDI to see if it can detect any headings within the region.

PeterBNY commented 1 year ago

Thank you for your response, @JohnCotterSSA! The elements were indeed contained in iframes, so selecting iframes from the ANDI modules to isolate and test the content proved to be the solution. Appreciate your help.

JohnCotterSSA commented 1 year ago

Glad I could help! Happy testing.