dequelabs / dequelabs/axe-core

ACT Tests should run inside iframes

Open
#3,636 0 comments 0 reactions 0 assignees View on GitHub
ACT Rules tech debt
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.