Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACT Tests should run inside iframes #3636

Open
WilcoFiers opened this issue Sep 5, 2022 · 0 comments
Open

ACT Tests should run inside iframes #3636

WilcoFiers opened this issue Sep 5, 2022 · 0 comments
Labels
ACT Rules tech debt Technical debt related tasks
Milestone

Comments

@WilcoFiers
Copy link
Contributor

Currently the ACT tests don't inject axe-core into any iframes. Because of that some of the rule mappings don't quite work. Notably, the "Iframe with negative tabindex has no interactive elements" ACT rule cannot be tested because its test cases require axe-core to run inside iframes.

We should update the test runner to inject axe-core into each frame, and only run the tests until the page and all its frames are fully loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACT Rules tech debt Technical debt related tasks
Projects
None yet
Development

No branches or pull requests

1 participant