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

I think TestPageData.allVisibleElements should also filter by if the element is hidden using the hidingTypes used in hANDI #146

Closed ollie-iterators closed 1 year ago

ollie-iterators commented 1 year ago

I have noticed that some elements that are said to be visible on certain pages are actually not visible, and are using hidingTechniques like opacity.

It would be good to have allVisibleElements use those tools to filter out elements that are not visible on the page.

JohnCotterSSA commented 1 year ago

Good idea, but that we be quite a performance hit and would slow down ANDI's snappiness. Let me know if you can provide a code example of the problem, and I'll reopen the issue.