Trigger sequential (and spatial) focus movements
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
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:
- Browsers might use different key-mappings even though typically tab-key is used.
- Send keys might do unwanted scrolling.
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the WPT focus-navigation needs described here, the linked spatial-navigation issue, and Chrome's existing eventSender-based tests. Determine how a WebDriver method should cover forward, backward, up, down, left, and right movement without targeting an element or causing unwanted scrolling. Done means the method is specified and supports upstreaming the affected sequential and spatial navigation tests to WPT.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100