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-title rule should account for presentational conflict #3485

Closed
WilcoFiers opened this issue May 31, 2022 · 2 comments
Closed

frame-title rule should account for presentational conflict #3485

WilcoFiers opened this issue May 31, 2022 · 2 comments
Labels
ACT Rules pr A pr has been created for the issue
Milestone

Comments

@WilcoFiers
Copy link
Contributor

The following should fail the frame-title rule:

<iframe title=" " src="/test-assets/SC4-1-2-frame-doc.html" role="none"> </iframe>

https://wai-wcag-act-rules.netlify.app/standards-guidelines/act/rules/cae760/proposed/#failed-example-4

@WilcoFiers WilcoFiers added this to the Axe-core 4.5 milestone May 31, 2022
@pschwendy pschwendy removed their assignment Jul 20, 2022
@straker
Copy link
Contributor

straker commented Jul 28, 2022

To resolve this, we need to update the isNativelyFocusable code to say that iframe and frame elements are natively focusable. That will then trigger the conflict resolution code in the getRole function.

@padmavemulapati
Copy link

Validated with the latest axe-core develop branch code base, the test script:
<iframe title=" " src="/test-assets/SC4-1-2-frame-doc.html" role="none"> </iframe>
is failing for frame-title rule

Image

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

No branches or pull requests

4 participants