- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Jun 2019 15:10:54 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Predefined algorithm for spatial navigation`, and agreed to the following: * `RESOLVED: Add spatial-navigation-function to the spec` <details><summary>The full IRC log of that discussion</summary> <heycam> Topic: Predefined algorithm for spatial navigation<br> <heycam> github: https://github.com/w3c/csswg-drafts/issues/3964<br> <heycam> jihye: in general, the focus move to the closest element from the currently focused element<br> <heycam> ... and in the spec the algorithm for how to find the closest element, there is a description about that<br> <TabAtkins> BTW: based on current discussion, I'm editting p-c-s to be "light | dark | bright", dropping the no-preference value (and defining that "light" should be what a lack of preference means).<br> <heycam> ... but some authors this kind of algorithm it's not suitable for them<br> <heycam> ... depending on their own layouts<br> <heycam> ... so there is some spatial nav API to help authors customize this algorithm<br> <heycam> ... but it's difficult to do this, since they have to interrupt the processing model of spatial nav<br> <heycam> ... the processing model means finding the best target<br> <heycam> ... starting from when the user inputs some information, finding the best target -- all that process is called "processing modeL"<br> <heycam> ... it's hard to interrupt that in the middle<br> <heycam> ... so it would be nice to have a new CSS property to provide another algorithm for spatial navigation<br> <heycam> ... this will increase flexibility of spatial navigation, and will help authors to implement it more easily<br> <heycam> ... I want to propose spatial-navigation-function CSS property, with two values<br> <heycam> ... normal, where focus will move to the closest one<br> <heycam> ... and grid, this will go to the most aligned element from the currently focused element<br> <heycam> ... the focus will go to a more obvious spatial navigation direction<br> <florian> q+<br> <heycam> ... there is a demo I attached in the GitHub issue<br> <Rossen_> Zakim, open queue<br> <Zakim> ok, Rossen_, the speaker queue is open<br> <florian> q+<br> <heycam> ... you can select normal or grid, and see how it works differently<br> <heycam> demo: https://raw.githack.com/WICG/spatial-navigation/develop/demo/calendar/index.html<br> <heycam> florian: bikeshedding aside, I'm supportive of having a property to switch how we calculate the distinace, how to pick<br> <heycam> ... I'm wondering if we have the right values in that list<br> <heycam> ... if we think we do, and implementors want to experiment with this, sure<br> <heycam> ... but there are a anumbe rof variants we can think of<br> <heycam> ... the ones proposed seem reasonable, but are they actually a good match?<br> <heycam> ... the alternative to normal, is that what authors really want? we're lacking experience<br> <heycam> ... it's difficult to say "70% of people who have trouble with normal want this grid behavior"<br> <heycam> jihye: with grid, I'm communicating with framework team in LG. this is their main request from them<br> <heycam> ... their main implementation is something like TV schedule web page, or TV content<br> <heycam> ... normally those kinds of pages, elements are grouped horizontall and vertically, so in that case moving the focus just horizontally or vertically is more important than moving to the closest one<br> <heycam> florian: for that reason, intuiitively the grid behavior makes sense to me<br> <heycam> ... if you have anecdotal evidence that authors want this, this is an improvement<br> <heycam> ... not quite as good as stats over many users but it's a start<br> <bkardell_> me wonders if he can reserve comments on this until post the next topic<br> <Rossen_> ack florian<br> <heycam> heycam: is that sufficient evidence to add it ot the spec?<br> <heycam> florian: we have some evidence it's wanted, and on the face of it is reasonable, so sure<br> <heycam> bkardell_: I would like to reserve comments until after the next topic, since they're related<br> <heycam> Rossen_: any objections to adding this to the spec?<br> <heycam> RESOLVED: Add spatial-navigation-function to the spec<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3964#issuecomment-499536668 using your GitHub account
Received on Thursday, 6 June 2019 15:10:56 UTC