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

Re: [csswg-drafts] [css-nav-1] How author know spatnav will work by default in specific user agent? (#3385)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Dec 2018 07:53:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-443619120-1543823584-sysbot+gh@w3.org>

Migrated from https://github.com/WICG/spatial-navigation/issues/41#issuecomment-376861084
Originally created by @frivoal on *Wed, 28 Mar 2018 11:59:30 GMT*

I think we should probably have a media query, which lets the author ask about the presence of spatnav, and probably also about tab-based navigation.

Maybe something like this: `navigation: sequential | spatial | none`, so that you can write

`@media (navigation: spatial) {...}` in CSS or
`if window.matchMedia("(navigation: spatial)").matches) { ... }` in JS

GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3385#issuecomment-443619120 using your GitHub account
Received on Monday, 3 December 2018 07:53:10 UTC

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