-
Notifications
You must be signed in to change notification settings - Fork 38
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
Needs for activating spatial navigation #35
Comments
This point was raised by @fantasai when I was recently discussing the spec with her. Making sure we have a clear model for spatnav is important, but whether to use it, and which UI mechanism to invoke it with is a User / UA choice, not an authoring one. UAs may use several arrow-like keys (arrows, num-pad arrows, wasd keys, joysticks...) for different things (scrolling, caret-navigation, spatial navigation...), and it is their prerogative. By this logic, we should define the detailed processing model (and the events, and the js API... ie sections) if spatnav is triggered by key presses, but we should neither mandate that it must be activated by key presses, nor by which keys. So basically, there should only be the Another argument is that an author setting This makes me thing that we should:
I think the upsides are:
Downsides:
Maybe upside, maybe downside depending on how you look at it
All in all, since this is strictly a subset of what's already here, that means we can always re-introduce the property later if we change our minds, so I am in favor. |
Whether spatnav should get invoked from arrow keys or something else is for the UA to decide, and we don't need (at least in this level) to provide control over it. This also lets us get rid of the monkey-patch on UI-Events. Closes WICG#35 Also closes WICG#22, WICG#24, and WICG#26 (as invalid / out of scope) by deleting the section these issues applied to.
Thanks~ :) |
I think
spatial-navigation
CSS property in the spec is needed forGuarantees the author to provide the page with spatial navigation.
Activate spatial navigation to the part of the document.
For example, if there is a document with too many focusable elements, some people may don't want to navigate all of those with the arrow keys.
Therefore, the author can specify
spatial-navigation: active
to specific elements which he/she really wants to navigate.But do we really need this feature in the spec?
Can we let User Agent control the activation of spatial navigation?
The text was updated successfully, but these errors were encountered: