axe-selenium-python
axe-selenium-python copied to clipboard
Axe Selenium Python not able to capture violation even after making hidden element visible
Hi Team We are utilizing 'axe-selenium-python' package to capture violation of the website. It has been mentioned in the documentation that aXe would not be able to capture violation for hidden elements unless made visibly rendered.
After changing the style attribute for hidden elements, 'axe-selenium-python' package is not able to catch violation whereas axe chrome extension catch the violation for the same scenario.
Element source that is hidden on the website
CSS style attributes corresponding to modal and fade class
We change both manually or programatically through JS the style attribute display: block opacity:1
Once the elements goes visible on screen, 'axe chrome extension is able to capture vioaltion, see the below screen shot
Can it be please explained why axe-selenium python package is unable to capture the particular violation.