axe-selenium-python icon indicating copy to clipboard operation
axe-selenium-python copied to clipboard

Axe Selenium Python not able to capture violation even after making hidden element visible

Open HansMohan opened this issue 4 years ago • 6 comments

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 image

CSS style attributes corresponding to modal and fade class image

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

image

Can it be please explained why axe-selenium python package is unable to capture the particular violation.

HansMohan avatar Sep 20 '19 04:09 HansMohan