[wpt-sync] Sync PR 50396 - Add keyboard-activation for interesttarget elements [10/N]
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50396 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50396
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Add keyboard-activation for interesttarget elements [10/N]
This adds two keyboard hot-keys for elements with
interesttarget
:
- Alt-Up: show interest (Option-Up on a Mac)
- ESC: lose interest
This also handles (and tests) the case where another element is
focused and sent the "gain interest" hot key while another element
still has interest: the old element is first sentloseinterest
.
The case where that loseinterest event is cancelled is also handled
and tested.Bug: 326681249
Change-Id: I9f43354b913ef63bde0794b53ff90ce2116eea14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6217619
Reviewed-by: David Baron \<dbaron@chromium.org>
Commit-Queue: Mason Freed \<masonf@chromium.org>
Auto-Submit: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1413778}
Assignee | ||
Updated•23 days ago
|
Assignee | ||
Comment 1•23 days ago
|
||
Assignee | ||
Comment 2•23 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 28 subtests
Status Summary
Firefox
OK
: 1
PASS
: 16
FAIL
: 12
Chrome
OK
: 1
PASS
: 16
FAIL
: 12
Safari
OK
: 1
PASS
: 16
FAIL
: 12
Links
Details
New Tests That Don't Pass
- /html/semantics/the-button-element/interest-target/interesttarget-keyboard-behavior.tentative.html [wpt.fyi]
- Basic keyboard behavior, <button>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Showing interest in a second element loses interest in the first, <button>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cancelling loseinterest caused by keyboard-gained interest cancels interest, <button>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Basic keyboard behavior, <a>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Showing interest in a second element loses interest in the first, <a>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cancelling loseinterest caused by keyboard-gained interest cancels interest, <a>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Basic keyboard behavior, <area>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Showing interest in a second element loses interest in the first, <area>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cancelling loseinterest caused by keyboard-gained interest cancels interest, <area>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Basic keyboard behavior, SVG <a>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Showing interest in a second element loses interest in the first, SVG <a>:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Cancelling loseinterest caused by keyboard-gained interest cancels interest, SVG <a>:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Basic keyboard behavior, <button>:
Comment 4•21 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f1425b2b7803
https://hg.mozilla.org/mozilla-central/rev/0d5371385243
Description
•