component-driven / cypress-axe

Test accessibility with axe-core in Cypress
MIT License
622 stars 86 forks source link

Cypress axe don't recognize level-one heading after open datepicker #102

Open CaiqueCoelho opened 3 years ago

CaiqueCoelho commented 3 years ago

I have a page with a datepicker, after opening the datepicker and trying to check A11Y in the page, I get the error "Page must contain a level-one heading", but the page has an h1, but the cypress-axe just see the HTML inside de datepicker, this is a bug or the expected behavior?

Screenshot from 2021-06-09 15-37-05 Screenshot from 2021-06-09 15-36-56