Open Bug 2084212 Opened 2 days ago Updated 2 days ago

Prototype document.advanceFocus() and beforefocus

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: marata, Unassigned)

Details

Attachments

(1 external file, 1 obsolete file)

Prototype browser-driven focus navigation with document.advanceFocus() and cancelable beforefocus events, disabled by default behind dom.focus_navigation.enabled.

Explainer: https://open-ui.org/components/beforefocus.explainer

Include shared tentative WPTs and native regression coverage. Track remaining platform coverage, explanations of native-only tests, and Gecko use counters in this bug.

This is contributor prototype work, not a request for default enablement or shipping. The companion Chromium issue, implementation reviews, standards discussions and intent threads will be linked here as they become available.

Companion Chromium prototype tracker: https://issues.chromium.org/issues/575489395

Let pages reuse Tab order and cancel unwanted focus changes before
they happen. Keep the prototype disabled by default and include shared
WPTs and native regression tests.

Explainer: https://open-ui.org/components/beforefocus.explainer

Measure document and page usage rather than individual calls or events.
Attribute browser-generated beforefocus events to the target's document.
Cover opt-in, cancellation, synthetic events, and cross-frame aggregation.

Attachment #9665675 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: