Skip to content

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

@hugoholgersson

Description

@hugoholgersson

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions