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

fix(heading-order): evaluate headings from iframes in DOM order #2572

Merged
merged 5 commits into from
Oct 22, 2020

Conversation

straker
Copy link
Contributor

@straker straker commented Oct 20, 2020

NOTE: this changes the selectors returned by axe as iframe results are now in DOM order so the first node encountered could be an iframe element rather than the top-level element.

Closes issue: #2561

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@straker straker requested a review from a team as a code owner October 20, 2020 22:13
WilcoFiers
WilcoFiers previously approved these changes Oct 21, 2020
lib/core/utils/merge-results.js Outdated Show resolved Hide resolved
["#heading7"],
["#heading8"],
["#heading9"],
["#heading10"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#heading10 should come after the frame

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test results aren't ordered. Nevertheless, probably good to put them in order.

Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
WilcoFiers
WilcoFiers previously approved these changes Oct 21, 2020
@straker straker merged commit 46f6628 into develop Oct 22, 2020
@straker straker deleted the heading-order branch October 22, 2020 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants