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

frame-title rule should account for presentational conflict

Open WilcoFiers opened this issue 2 years ago • 1 comments

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 avatar May 31 '22 11:05 WilcoFiers

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.

straker avatar Jul 28 '22 17:07 straker

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

padmavemulapati avatar Sep 22 '22 08:09 padmavemulapati