Endpoint for sequential focus navigation
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
This is a clone of https://github.com/whatwg/html/issues/4151, since this could be defined either in WebDriver or in HTML.
The bit that requires a WebDriver endpoint:
https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus-navigation
The algorithm starting with "When the user requests that focus move" is typically invoked by pressing the TAB key, but this may not be universally true. Having a WebDriver API for this would make it possible to trigger focus navigation without making such assumptions.
Straw proposal: An endpoint /session/{session id}/focus to which one would POST { "direction": "forward" } or { "direction": "backward" }.
This would help resolve https://github.com/web-platform-tests/wpt/issues/13379, although it is not the only way it could be resolved.
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 with the sequential focus navigation algorithm in the HTML specification and the related Web Platform Tests issue 13379. Review the proposed POST endpoint and its forward/backward direction semantics, then determine whether a WebDriver API is the appropriate resolution. Done means a settled endpoint design or a documented decision that this belongs elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100