-
Notifications
You must be signed in to change notification settings - Fork 67
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
iframe has non-empty name - problems with examples and applicability [cae760] #1367
Comments
Thanks for the thorough research. I totally agree with your conclusions. That applicability looked odd, against my better judgement I approved that... oops! The passed example 2 / 3 Safari issue is known and was noted in accessibility support. The NVDA one is not and definitely should be. |
Thanks for the extensive research @dd8. I dug up through the history, and found these discussions: |
Need a volunteer to work on this rule. |
@WilcoFiers assigning this to you since you are already handling w3c/wcag-act#473 |
Each browser / AT combination presents a slightly different user interface for navigating iframes:
On Windows iframe title is read when tabbing, but not in normal screen reader reading order
On Mac iframe title is read in normal screen reader reading order, but not when tabbing
Test results for the examples are
On Safari untitled iframes are hard to use because there's no indication of frame contents, and users often assume they contain adverts. This is bad if the iframe contains something important - I've seen a Safari user unable to find a login form in an iframe for exactly this reason.
Inapplicable Example 3 fails in VoiceOver with Safari
The Safari issue on Inapplicable Example 3 is a consequence of the UI design (frames exposed as nested containers) but excluded from the applicability. The problem happens in normal reading order, not when tabbing between focusable items. I think the applicability needs extended to cover problems with VoiceOver/Safari by removing the following:
https://act-rules.github.io/rules/cae760#applicability
Passed examples 1,2,3 always fail on NVDA/FF68 because tabbing to the frame always produces silence - even if a title or ARIA label is provided. This looks like a bug so I don't think the examples or applicability should change for this.
Passed examples 2,3 always fail on VoiceOver with Safari because it doesn't use acc-name calculation for iframes (but does use the
iframe name
which is not supposed to be human readable). Again this looks like a bug so I don't think the examples of applicability should change for this.NVDA with Chrome is untested because there's a focus trap in address bar so you can't tab to the page to test.
tl/dr; remove "and that can be accessed by sequential focus navigation" from applicability and make Inapplicable Example 3 a fail.
The text was updated successfully, but these errors were encountered: