-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bedbdda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of "entirely"? I.e. if a small item is 1% visible, although 100% could be visible, the SC is fulfilled as long as the focus indicator fulfills the rest. This does not achieve anything, because if I see only 1% of the background but not the text label from a button - what then?
bedbdda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JAWS-test What then? Then you have to scroll. You could argue that compared to seeing no focus at all, it is still better to know that there is something that is getting focused (even if you only see the top edge and have to scroll up to see what is focused).
What remains unclear from the current wording is if the general focus indication area requirement set out in the SC equally applies to situations where the element (and in turn usually the focus on it) is only partly visible. What percentage of the focus surface area is then still visible is likely to change depending on the viewport width, zoom state, and the browser you happen to use, so the only way I can think of to evaluate this consistently is to assume that in cases where the element is only partly visible, any visibility of the focus is sufficient to meet the SC (even a single pixel). If that is the intent, this should be made clearer in the note to "unobscured".
bedbdda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@detlevhfischer As I mentioned several times in the discussion on this SC, there are many examples (even at W3C, e.g. https://w3c.github.io/aria-practices/examples/combobox/combobox-autocomplete-list.html) where the focused element is not visible and at the same time scrolling with the keyboard is not possible because the focused element is operated with the arrow keys (radio buttons, dropdown lists, grids, tabs, toolbars etc.)
bedbdda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JAWS-test IF bullet 4 is accepted, it might need a trailing condition like "AND focusable content dependent on the element can be brought into view via the keyboard after th eelement receives focus", or similar? Otherwise I only see the keyboard operation work-around of tabbing further (or back) to an element that does not consume arrow keys, change scroll status, tab back to element with arrow-focusable children, then use arrow keys...
What is your suggestion to solve this? Require that the entire element is visible when it receives focus? When the element is immediately above the lower bound of the viewport, could that not cause the same problem for pop-up content (like the tablist of a combobox?) Haven't tried, just wondering...
bedbdda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@detlevhfischer
Unfortunately, this is not acceptable:
My suggestion was:
The Understanding or SC also states