-
Notifications
You must be signed in to change notification settings - Fork 682
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
[css-nav-1] FocusTraversal API #3944
Comments
Thank you for the great input! There are APIs in Spatial Navigation Spec that match with the part of FocusTraversal API.
More about I've noticed that there are on-going discussions about the clarifying the focusable and considering overall focus in HTML spec. (Oh, you have already joined the discussion!) I'm also interested in |
@jihyerish Do you see anything else in spatial navigation that would be better suited to FocusTraversal? |
@arei I like this and have wanted this multiple times, especially
One thing that I don't see a simple way to do is to get the first or last focusable element of a container. I can't think of a use for Similarly, What is the use case for the history list and why is a small library that records the focus events insufficient? (Since intent can be hard to read over the internet, let me clarify that I am genuinely curious and interested). |
@jimmyfrasche I have taken your suggestions and integrated them into the explainer. The polyfill will get an update soon as well. As for the use case for |
Generally speaking, there is a lot of overlap here with the recent proposal of the FocusTraversal API in the WICG incubator discussion group. I think there's a chance to work together to support both end goals, but with two different specs that work in concert instead of competition.
If someone could have a look at the FocusTraversal API explainer I would definitely be interested in further conversation around the subject.
https://github.com/awesomeeng/FocusTraversalAPI/blob/master/EXPLAINER.md
The text was updated successfully, but these errors were encountered: