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

frame-focusable-content should ignore negative tabindex #3466

Closed
WilcoFiers opened this issue May 19, 2022 · 3 comments
Closed

frame-focusable-content should ignore negative tabindex #3466

WilcoFiers opened this issue May 19, 2022 · 3 comments
Assignees
Labels
ACT Rules fix Bug fixes pr A pr has been created for the issue
Milestone

Comments

@WilcoFiers
Copy link
Contributor

The frame-focusable-content rule should not fail Passed Example 2 of the iframe with negative tabindex has no interactive elements ACT rule.

<iframe tabindex="-1" srcdoc="
  <a href='/' tabindex='-1'>Home</a>
"></iframe>
@WilcoFiers WilcoFiers added this to the Axe-core 4.5 milestone May 19, 2022
@straker straker self-assigned this Jun 1, 2022
@straker straker added the pr A pr has been created for the issue label Jun 1, 2022
@padmavemulapati
Copy link

Not seeing any findings of frame-focusible-content except in inapplicable
image

@straker
Copy link
Contributor

straker commented Aug 30, 2022

@padmavemulapati what does your test HTML look like?

@padmavemulapati
Copy link

padmavemulapati commented Sep 1, 2022

Validated with the latest develop branch code base, when we run axe inside iframes and frame has negative tabindex , then
frame-focussible-content rule is passing
Script:

<iframe tabindex="-1" srcdoc="
  <a href='/' tabindex='-1'>Home</a>
<script src='/axe.js'></script>
"></iframe>
<script src="/axe.js"></script>

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACT Rules fix Bug fixes pr A pr has been created for the issue
Projects
None yet
Development

No branches or pull requests

3 participants