W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

[csswg-drafts] Revise selecting best candidate policy (#3367)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Dec 2018 07:42:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-386694318-1543822913-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== 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:
![image](https://user-images.githubusercontent.com/4897376/44316189-4faa1980-a465-11e8-8e36-2b9077a52c29.png)

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:
![image](https://user-images.githubusercontent.com/4897376/44316208-66507080-a465-11e8-9074-3a6b07fd4065.png)

![image](https://user-images.githubusercontent.com/4897376/44316263-add6fc80-a465-11e8-8437-687243208f80.png)

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/3367 using your GitHub account
Received on Monday, 3 December 2018 07:42:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:40 UTC