[csswg-drafts] [css-nav-1] Revise selecting best candidate policy (#3386)

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-nav-1] Revise selecting best candidate policy ==

Migrated from https://github.com/WICG/spatial-navigation/issues/94
Originally created by @junhoseo on *Mon, 20 Aug 2018 01:57:40 GMT*

Currently we consider distance and order in DOM structure. But sometimes these are not sufficient for reasonable choice.

Case 1:

In above case, distance with active element is same each other. So blue element will be selected if it is earlier element in DOM tree, and yellow element will be selected on the contrary.

Case 2:


Sometimes a focusable element can be placed inside another focusable element. In this case, should we allow focus moving to opposite element? Opposite element is not placed in direction, but partially.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3386 using your GitHub account

Received on Monday, 3 December 2018 07:53:46 UTC