Describe the bug
To Reproduce
Steps to reproduce the behavior:
- Go to the codepen example https://codepen.io/garybyrne1/pen/NPNPLrJ
- In Accessibility Insights for Web, go to "Ad hoc tools > Headings" and toggle it on.
- Observe that the H3 on the img element which has alt text provided is not detected by the scanner
Expected behavior
All headings are expected
Screenshots
Context (please complete the following information)
Are you willing to submit a PR?
Not familiar with codebase.
Did you search for similar existing issues?
#7579 -> Headings tool not detecting headings in the shadow DOM with slotted content