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


Migrated from
Originally created by @jihyerish on *Mon, 03 Sep 2018 10:56:58 GMT*

>  Case 1.

Yes. The focus will move depending on the DOM order if the candidates have the same distance from the active element.
So far, I think it's a reasonable result. But in some condition, it would be nice to consider the visual inclusion relation among the elements.

> Case 2.

In that regard, we need to consider the visual inclusion relation in this case.
If you see the sample below,

The content area of the (A)`anchor element` with "spatial navigation" contains that of the (B)`anchor element` with "repository".
This causes that the focus cannot move from (A) to (B) nor from (B) to (A).

GitHub Notification of comment by frivoal
Please view or discuss this issue at using your GitHub account

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