Skip to content
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

Change from DOM order to some other criteria when the boxes are at the same distance #121

Closed
frivoal opened this issue Oct 17, 2018 · 1 comment
Assignees
Labels
needs:edits The decision has been made, but has not yet been reflected in the repository. topic:spec type:bug Describes a problem with the spec/tests/polyfill in their present form

Comments

@frivoal
Copy link
Collaborator

frivoal commented Oct 17, 2018

Currently the spec says that when two boxes are at the same distance, we pick the first one in DOM order. That does not seem ideal, and using the stacking order instead would be more consistent with the rest of spatial navigation which depends on layout.

It should also help with reachability.

@frivoal frivoal added type:bug Describes a problem with the spec/tests/polyfill in their present form topic:spec needs:edits The decision has been made, but has not yet been reflected in the repository. labels Oct 17, 2018
@frivoal frivoal self-assigned this Oct 17, 2018
@frivoal
Copy link
Collaborator Author

frivoal commented Oct 17, 2018

See this example from issue #93:
image
We should go to the blue element, rather than depend on DOM order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:edits The decision has been made, but has not yet been reflected in the repository. topic:spec type:bug Describes a problem with the spec/tests/polyfill in their present form
Projects
None yet
Development

No branches or pull requests

1 participant