-
Notifications
You must be signed in to change notification settings - Fork 266
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
2.4.11/2.4.12 Focus Appearance: consider distance between component and indicator #1382
Comments
Even if the focus indicator is displayed with the element itself, it may be unclear to which element it refers, see #936 (comment) |
Proposed working group answer: |
The group met today and agreed the following response: The glossary definition of focus explains that it is the "point where the user’s input interacts with the web page". This implies that the focus indicator is near or around the element in focus. If you don't consider this issue to be addressed please re-open the issue. |
I agree with the proposed response that programmatic focus and visible focus need to be close to support users of screen magnification and those that overwrite focus indicators with custom ones in style sheets. So while a displayed indicator is ok for some people indicators that are close to the control are needed for users with low vision. |
@mraccess77 I'd note that it gets tricky in situations where, by design, the programmatically focused element (i.e. the element that is the |
I'd consider active-descendant to be the point of programmatic focus - so no issue there. I agree there could be edge cases - but in general I would not want something that allowed the focused element and visual indicator to be too far from one another as a general rule because how would magnification software know where that is. |
2.4.11/2.4.12 has no requirement on where the focus indicator should be. It is possible to pass these SC by having a line of dots at the top of the page, each dot "lighting up" when a given UI component has focus.
Reading the Understanding document, it feels that the intend is to have the focus indicator close to the component (border, shadow, …) but nothing in the SC requires it.
There are valid cases of "displaced" focus indicators (e.g., a hidden play button show focus with a play icon on top of a video), so I'm not fully sure how to allow the valid cases and prevent the bad ones…
The text was updated successfully, but these errors were encountered: