Open Bug 1586591 Opened 1 year ago Updated 1 year ago

Get rid of XUL <moz-input-box>

Categories

(Toolkit :: XUL Widgets, task)

task
Not set
normal

Tracking

()

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

When the textbox binding will be removed, the urlbar will be the only consumer of moz-input-box. The only reason the urlbar uses it atm is to add the "Paste & Go" menu item. Instead, editMenuOverlay.js could provide an API/event to add new menu items and the urlbar could use that.

Summary: Get rid of XUL moz-input-box element → Get rid of XUL <moz-input-box>
Duplicate of this bug: 1556566

Note that the URL bar's moz-input-box is also used to set role="combobox" and aria-owns on an ancestor of the input, which is required for a11y. We can just use an arbitrary container for this (div, span, whatever), but I thought it worth mentioning that these ARIA attributes on an ancestor are definitely still needed, as I'm not sure we have a test for this at present.

You need to log in before you can comment on or make changes to this bug.