W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2017

[csswg-drafts] [css-ui-4] Activating spatial navigation

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Nov 2017 06:51:37 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-271374828-1509951095-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui-4] Activating spatial navigation ==
Some browsers (most desktop or mobile browsers) don't support spatnav at all.

Some browser have so limited inputs (TV / set to box browsers) that the only way they have to interact with a page is through spatnav using arrow keys.

But some, like Presto Opera or Vivladi, have spatnav on shit+arrow keys. They don't put it on arrow keys directly because it is likely that on a fair number of pages that would interfere with the more traditional usage of arrow keys.

It would be useful for the author of the page to be able to signal to a browser that a page has been designed with spatnav in mind, that there is no interference, and that it would be good for the browser to offer spatnav directly on the arrow keys.

Based on the various things explored in [LGE's spatnav explainer](https://github.com/lgeweb/spatial-navigation/blob/master/explainer.md#user-content--css-property) and [related issues](https://github.com/lgeweb/spatial-navigation/issues/3), I suggest the following design:

@spat-nav {
  arrow-keys-behavior: auto | nav;
<dd>UAs that support spatnav may turn it on either on the arrow keys, or on some other UA defined key or key combination, such as shift+arrow.
<dd>UAs that support spatnav must turn it on on the arrow keys without a modifier. They may also activate it on additional UA define keys or key or key combination.
(this is a descriptor in an at-rule, rather than an at-rule that directly takes several values because I think we're likely to end up with several spat-nav rules that belong together. See nav-rule and nav-loop in https://github.com/lgeweb/spatial-navigation/blob/master/explainer.md)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1940 using your GitHub account
Received on Monday, 6 November 2017 06:51:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 6 November 2017 06:51:40 UTC