axe-core
axe-core copied to clipboard
Cypress accessibility Automation
Hi All,
We are currently doing accessibility testing in cypress and while doing it we observed a different behavior from cypress in local while running cypress for accessibility is getting passed but in the CI/CD pipeline accessibility is facing for few scenarios intermediately (not happening every time)
I had listed down the error below .Can some lets us know why we are seeing this behavior.
Thanks for the issue. It's hard to say from the screenshot, but if I were to take a guess based on the part of the node selector I can see, something is generating IDs automatically and is generating the same ID twice on the page. It would explain why it's intermittent.
@prudhvinani were you able to figure out if it was related to automatic generation of IDs?
Closing due to lack of activity. Please feel free to reopen if you can provide more information. Also please note that as of v4.8.0 the duplicate-id-active
rule has been deprecated and will be removed in v5.0. The rule is no longer run by default so will not produce the violations shown in the screenshot.