-
Notifications
You must be signed in to change notification settings - Fork 153
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
Error occurs when running the Headings tool #4311
Comments
I found it might be a bug of |
Thanks @kidokidozh for the report! I agree the issue you found seems like the root cause. I can reproduce this issue when child iframe descendants have at least 2 headings in total. For instance, the following structures reproduce this issue (here's a live repro). single iframe with two headings
<html>
outer page
<iframe src="page-with-headings.html"></iframe>
</html>
<html>
<h1>heading</h1>
<h2>heading two</h2>
</html> iframe with one heading that has a child iframe with another heading
<html>
outer page
<iframe src="page-with-headings.html"></iframe>
</html>
<html>
<h1>heading</h1>
<iframe src="another-page-with-headings.html"></iframe>
</html>
<html>
<h1>heading</h1>
</html> Does your page match one of these structures? user impact:
We will look into this a little further. Thanks! In the meantime, you might try the Headings visualization in assessment instead. |
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights! |
Fixed in #4327 and released to canary https://chrome.google.com/webstore/detail/accessibility-insights-fo/hbcplehnakffdldhldncjlnbpfgogbem/related |
Describe the bug
Cannot run the "Headings" tool. Our page is having some iframe inside it, not sure whether it's related. Errors output to browser console:
Screenshots
Context (please complete the following information)
Microsoft Edge Version 91.0.864.37 (Official build) (64-bit)
Google Chrome Version 91.0.4472.77 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: