axe-core icon indicating copy to clipboard operation
axe-core copied to clipboard

Scrolling content with iframe that has focusable content should not fail `scrollable-region-focusable`

Open straker opened this issue 2 years ago • 1 comments

This was reported to us and after testing confirmed that a parent scrolling region which contains an iframe that has focusable content allows you to scroll the parent scrolling region. So this should not fail scrollable-region-focusable.

<div id="foo" style="margin-top: 50vh; height: 50vh; overflow-y: scroll;">
  <p style="margin-top: 100vh">Hello World</p>
  <iframe srcdoc="<button>click me</button"></iframe>
  <p style="margin-top: 100vh">Goodbye World</p>
</div>

straker avatar Oct 20 '23 14:10 straker

Verified the example on stable chrome, firefox, safari

dbjorge avatar Oct 20 '23 15:10 dbjorge