Closed Bug 1944983 Opened 23 days ago Closed 21 days ago

[wpt-sync] Sync PR 50396 - Add keyboard-activation for interesttarget elements [10/N]

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
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 sent loseinterest.
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}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f1425b2b7803 [wpt PR 50396] - Add keyboard-activation for interesttarget elements [10/N], a=testonly https://hg.mozilla.org/integration/autoland/rev/0d5371385243 [wpt PR 50396] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 21 days ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.