Closed Bug 2073701 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62802 - [menu a11y] Rename dialog mode to violation mode

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Grogan <dgrogan@chromium.org> wrote:

[menu a11y] Rename dialog mode to violation mode

We keep a flag to indicate that a menu hierarchy's content model is
violated. We'd named that state "dialog mode" because a violated menu
was originally exposed with the dialog ARIA role. That name no longer
describes the state: submenus already map to list rather than dialog,
and the mapping is expected to keep changing while we gather screen
reader feedback.

So this CL renames "dialog mode" to "violation mode".

\<select> still has "dialog mode" though, because that name is still
accurate there.

No behavior change intended.

Bug: 425682466
Change-Id: Id8c939ff0aea9f833492df88d7d7acabeefaf09c

Reviewed-on: https://chromium-review.googlesource.com/8428084
WPT-Export-Revision: af857cd85cd557cb518b317c262f809315fca954

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

Try push failed to land: Lando job 94462 for the try push is FAILED:
Aborting, could not apply patch buffer for None.
hg error in cmd: hg import -s 95 --no-commit /tmp/tmpza2_kyytdiff: applying /tmp/tmpza2_kyytdiff

abort: /tmp/tmpza2_kyytdiff: no diffs found

Try push failed to land: Lando job 94750 for the try push is FAILED:
Aborting, could not apply patch buffer for None.
hg error in cmd: hg import -s 95 --no-commit /tmp/tmpm_d3j92rdiff: applying /tmp/tmpm_d3j92rdiff

abort: /tmp/tmpm_d3j92rdiff: no diffs found

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL: 6

Chrome

OK : 2
PASS: 6

Safari

OK : 2
FAIL: 6

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/menu/tentative/menu-violation-mode-focus.html [wpt.fyi]
    • In dialog mode, Tab navigates between interactive children and natively focusable menuitems instead of closing the menu.: FAIL (Chrome: PASS, Safari: FAIL)
    • Dialog mode fallback applies to the specific menu and all nested menus.: FAIL (Chrome: PASS, Safari: FAIL)
    • Global dialog propagation correctly applies dialog keyboard routing to lateral structurally-valid submenus.: FAIL (Chrome: PASS, Safari: FAIL)
    • Dialog mode allows tabbing across deep submenu boundaries.: FAIL (Chrome: PASS, Safari: FAIL)
    • Tab navigation skips disabled menuitems in dialog mode: FAIL (Chrome: PASS, Safari: FAIL)
  • /html/semantics/menu/tentative/reparent-with-pending-violation-microtask.html [wpt.fyi]
    • Synchronous reparenting correctly delegates dialog role updates to the new root: FAIL (Chrome: PASS, Safari: FAIL)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.