axe-core
axe-core copied to clipboard
refactor(isVisible): clean up function and put different visible checks into their own function
A precursor to fixing #2806. The isVisible function was starting to get unruly so refactored all the individual checks into their own functions. This will now allow me to more easily create a separate function to check if the element is positionally hidden inside an overflow: hidden parent.
The diff is messed up since I moved the default function up to the top.