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

[csswg-drafts] [css-nav-1] Consider candidates revealed after one scroll step? (#3383)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Dec 2018 07:51:04 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-386696875-1543823462-sysbot+gh@w3.org>
frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-nav-1] Consider candidates revealed after one scroll step? ==
---

Migrated from https://github.com/WICG/spatial-navigation/issues/56
Originally created by @hugoholgersson on *Fri, 27 Apr 2018 14:26:33 GMT*

---
When finding the candidate set, Chrome's spatnav includes focusables that would become visible after one (document*) scroll step in the navigated direction.

_\*  We don't do this for scrollable divs but I consider that a bug. I believe spatnav should treat both document scrolling and element scrolling in the same way._

This behavior is not spec'ed. Should we? 

**Downsides**:
- Trickier implementation.

**Upsides**: 
- Better UX.
 1) One keystroke instead of two: [scroll + focus] instead of [scroll] + [focus].
 2) Focused element (and its "focus ring", if enabled) is always visible (it cannot be scrolled out).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3383 using your GitHub account
Received on Monday, 3 December 2018 07:51:05 UTC

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