{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/3386","repository_url":"https://api.github.com/repos/w3c/csswg-drafts","labels_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/3386/labels{/name}","comments_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/3386/comments","events_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/3386/events","html_url":"https://github.com/w3c/csswg-drafts/issues/3386","id":386697603,"node_id":"MDU6SXNzdWUzODY2OTc2MDM=","number":3386,"title":"[css-nav-1] Revise selecting best candidate policy","user":{"login":"frivoal","id":113268,"node_id":"MDQ6VXNlcjExMzI2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/113268?v=4","gravatar_id":"","url":"https://api.github.com/users/frivoal","html_url":"https://github.com/frivoal","followers_url":"https://api.github.com/users/frivoal/followers","following_url":"https://api.github.com/users/frivoal/following{/other_user}","gists_url":"https://api.github.com/users/frivoal/gists{/gist_id}","starred_url":"https://api.github.com/users/frivoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frivoal/subscriptions","organizations_url":"https://api.github.com/users/frivoal/orgs","repos_url":"https://api.github.com/users/frivoal/repos","events_url":"https://api.github.com/users/frivoal/events{/privacy}","received_events_url":"https://api.github.com/users/frivoal/received_events","type":"User","site_admin":false},"labels":[{"id":1148351721,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzIx","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/needs:liaison","name":"needs:liaison","color":"ededed","default":false},{"id":1148351718,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzE4","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/needs:liaison","name":"needs:liaison","color":"ededed","default":false},{"id":1148351714,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzE0","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/needs:liaison","name":"needs:liaison","color":"ededed","default":false},{"id":1148351727,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzI3","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351710,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzEw","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351720,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzIw","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351726,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzI2","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351719,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzE5","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351724,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzI0","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351730,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzMw","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351723,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzIz","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351729,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzI5","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351715,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzE1","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351722,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzIy","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351728,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzI4","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/topic:spec","name":"topic:spec","color":"ededed","default":false},{"id":1148351733,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzMz","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/type:question","name":"type:question","color":"ededed","default":false},{"id":1148351732,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzMy","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/type:question","name":"type:question","color":"ededed","default":false},{"id":1148351739,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzM5","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/type:question","name":"type:question","color":"ededed","default":false},{"id":1148351738,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzM4","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/type:question","name":"type:question","color":"ededed","default":false},{"id":1148351735,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzM1","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/type:question","name":"type:question","color":"ededed","default":false},{"id":1148351734,"node_id":"MDU6TGFiZWwxMTQ4MzUxNzM0","url":"https://api.github.com/repos/w3c/csswg-drafts/labels/type:question","name":"type:question","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"jihyerish","id":6636090,"node_id":"MDQ6VXNlcjY2MzYwOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6636090?v=4","gravatar_id":"","url":"https://api.github.com/users/jihyerish","html_url":"https://github.com/jihyerish","followers_url":"https://api.github.com/users/jihyerish/followers","following_url":"https://api.github.com/users/jihyerish/following{/other_user}","gists_url":"https://api.github.com/users/jihyerish/gists{/gist_id}","starred_url":"https://api.github.com/users/jihyerish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihyerish/subscriptions","organizations_url":"https://api.github.com/users/jihyerish/orgs","repos_url":"https://api.github.com/users/jihyerish/repos","events_url":"https://api.github.com/users/jihyerish/events{/privacy}","received_events_url":"https://api.github.com/users/jihyerish/received_events","type":"User","site_admin":false},"assignees":[{"login":"jihyerish","id":6636090,"node_id":"MDQ6VXNlcjY2MzYwOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6636090?v=4","gravatar_id":"","url":"https://api.github.com/users/jihyerish","html_url":"https://github.com/jihyerish","followers_url":"https://api.github.com/users/jihyerish/followers","following_url":"https://api.github.com/users/jihyerish/following{/other_user}","gists_url":"https://api.github.com/users/jihyerish/gists{/gist_id}","starred_url":"https://api.github.com/users/jihyerish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jihyerish/subscriptions","organizations_url":"https://api.github.com/users/jihyerish/orgs","repos_url":"https://api.github.com/users/jihyerish/repos","events_url":"https://api.github.com/users/jihyerish/events{/privacy}","received_events_url":"https://api.github.com/users/jihyerish/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-12-03T07:53:44Z","updated_at":"2018-12-03T07:53:46Z","closed_at":null,"author_association":"COLLABORATOR","body":"---\n\nMigrated from https://github.com/WICG/spatial-navigation/issues/94\nOriginally created by @junhoseo on *Mon, 20 Aug 2018 01:57:40 GMT*\n\n---\nCurrently we consider distance and order in DOM structure. But sometimes these are not sufficient for reasonable choice.\r\n\r\nCase 1:\r\n![image](https://user-images.githubusercontent.com/4897376/44316189-4faa1980-a465-11e8-8e36-2b9077a52c29.png)\r\n\r\nIn 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.\r\n\r\nCase 2:\r\n![image](https://user-images.githubusercontent.com/4897376/44316208-66507080-a465-11e8-9074-3a6b07fd4065.png)\r\n\r\n![image](https://user-images.githubusercontent.com/4897376/44316263-add6fc80-a465-11e8-8437-687243208f80.png)\r\n\r\nSometimes 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.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/comments/443619270","html_url":"https://github.com/w3c/csswg-drafts/issues/3386#issuecomment-443619270","issue_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/3386","id":443619270,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzYxOTI3MA==","user":{"login":"frivoal","id":113268,"node_id":"MDQ6VXNlcjExMzI2OA==","avatar_url":"https://avatars0.githubusercontent.com/u/113268?v=4","gravatar_id":"","url":"https://api.github.com/users/frivoal","html_url":"https://github.com/frivoal","followers_url":"https://api.github.com/users/frivoal/followers","following_url":"https://api.github.com/users/frivoal/following{/other_user}","gists_url":"https://api.github.com/users/frivoal/gists{/gist_id}","starred_url":"https://api.github.com/users/frivoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frivoal/subscriptions","organizations_url":"https://api.github.com/users/frivoal/orgs","repos_url":"https://api.github.com/users/frivoal/repos","events_url":"https://api.github.com/users/frivoal/events{/privacy}","received_events_url":"https://api.github.com/users/frivoal/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T07:53:46Z","updated_at":"2018-12-03T07:53:46Z","author_association":"COLLABORATOR","body":"---\n\nMigrated from https://github.com/WICG/spatial-navigation/issues/94#issuecomment-425838663\nOriginally created by @hugoholgersson on *Mon, 01 Oct 2018 09:08:37 GMT*\n\n---\nI agree. :) I get your point...\r\n\r\nOne alternative could be to prioritize elements that are _fully_ aligned (i.e. elements that can be [partly] projected onto each other)...?"}}
{"actor":{"display_login":"frivoal"}}