Skip to content

Trigger sequential (and spatial) focus movements #1312

Open
@hugoholgersson

Description

@hugoholgersson

To be able to test sequential navigation (and also spatial navigation) in WPT, we need a WebDriver method for moving focus: forward, backward (and also up, down, left, right).

We cannot use WebDriver's "send keys"-method because:

  1. Browsers might use different key-mappings even though typically tab-key is used.
  2. Send keys might do unwanted scrolling.
  3. We do not want to target a specific element.

We simply want the browser to move focus in whatever browser-dependent way it likes (and resolve a promise once it has done so).

As of now, Chrome's sequential and spatial navigation tests must use eventSender. This blocks us from upstreaming all these tests to WPT.

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