Re: [csswg-drafts] [css-nav-1] Condition of visible candidates for custom spatial navigation container (#3965)

In general, and not only for _custom_ containers, I don't think SpatNav should care too much about DOM order (unless perhaps, when breaking ties). Users only see "visual order" so that's what's most important? 

I think these two phrases need a change:
> Let focusables be the set of all the focusable areas whose DOM anchor are descendants of C.

and
> Let insiders be the subset of candidates items whose DOM anchor are descendants of searchOrigin...

Not only can child nodes be visually placed _outside_ C (as in your example), siblings and parents of C can be visually placed _inside_ (think "on top of") C too...


-- 
GitHub Notification of comment by hugoholgersson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3965#issuecomment-496402481 using your GitHub account

Received on Tuesday, 28 May 2019 07:42:05 UTC