Closed Bug 2075776 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 62981 - Avoid losing focus when closing submenu with Escape key.

Categories

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

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62981 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62981
Details from upstream follow.

David Baron <dbaron@chromium.org> wrote:

Avoid losing focus when closing submenu with Escape key.

Bug: 406566432
Change-Id: Id4190150013f62ea83086f7a55366895e6b1f7f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8451952
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: David Baron \<dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1705157}

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 5 subtests

Status Summary

Firefox

OK : 1
FAIL: 5

Chrome

OK : 1
PASS: 3
FAIL: 2

Safari

OK : 1
FAIL: 5

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/menu/tentative/focus-menu-elements-nested-arrowoperations.html [wpt.fyi]
    • Should use arrow keys to move between menuitems in menulist invoked from menubar.: FAIL (Chrome: PASS, Safari: FAIL)
    • Should use arrow keys to move between menuitems in menulist invoked from menubar inside a popover without closing the popover.: FAIL (Chrome: PASS, Safari: FAIL)
    • Should use arrow keys to move between menuitems: Hide popover on beforetoggle should still work.: FAIL (Chrome: PASS, Safari: FAIL)
    • Should return focus to invoking menuitem when closing nested submenu with Escape (opened via ArrowRight).: FAIL (Chrome: FAIL, Safari: FAIL)
    • Should return focus to invoking menuitem when closing nested submenu with Escape (opened via Enter).: FAIL (Chrome: FAIL, Safari: FAIL)
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.