WebDriver extension for sequential focus navigation
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 3.2k
- PR merge metrics
- PR metrics pending
Description
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" }.
Inspiration can be taken from:
https://w3c.github.io/permissions/#automation
https://w3c.github.io/reporting/#generate-test-report-command
https://github.com/w3c/sensors/pull/369
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 HTML Standard's sequential focus navigation section and the algorithm beginning “When the user requests that focus move.” Read web-platform-tests issue 13379 and compare the referenced Permissions, Reporting, and Sensors automation proposals. Done means reaching agreement on a WebDriver API design and its specification details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100