w3c / w3c/webdriver

Make it explicit that Perform Actions should support resetting key input state with Null Key (\ue000)

Open
#1,379 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Perform Actions
Dominant language
HTML
Stars
718
Forks
228
PR merge metrics
No merged PRs in 30d

Description

In chapter 11. Elements, section 11.4 Interaction:

The key input state used for input may be cleared mid-way through “typing” by sending the null key, which is U+E000 (NULL).

The effect of the \uE000 PUA codepoint is only mentioned in the context of the "dispatch actions for a string" algorithm in §11.4.3 Element Send Keys. My understanding is that typing this key is expected to reset key input state for Perform Actions with a keyboard input source, but that isn't mentioned in §14.4.2 Keyboard Actions.

Some clarification is due here, as tests such as special_keys.py::test_webdriver_special_key_sends_keydown[NULL-expected15] expects this behavior.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read §14.4.2 Keyboard Actions alongside §11.4.3 Element Send Keys, then inspect special_keys.py::test_webdriver_special_key_sends_keydown[NULL-expected15]. Done means the specification explicitly states how U+E000 resets key input state for Perform Actions with a keyboard input source and remains consistent with the test expectation.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.