Quick suggest commands in the address bar result menu have no accesskey
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(1 external file)
urlbar-result-menu-show-less-frequently2, urlbar-result-menu-report-inaccurate-location2, urlbar-result-menu-dont-show-weather-suggestions2 and urlbar-result-menu-dont-show-market2 in browser.ftl, and firefox-suggest-command-dont-show-addons2, firefox-suggest-command-dont-show-mdn2, urlbar-result-menu-dont-show-flight-status2 and urlbar-result-menu-dont-show-sports2 in enUS-searchFeatures.ftl define no .accesskey, while Dismiss (D), Manage (M), Learn more (L), Remove from history (R) and Get help (H) do. Result menu commands are {name, l10n} objects, so the key comes from Fluent alone. The fixture in browser_splitbutton.js reuses urlbar-result-menu-dismiss-suggestion2 for two and three entries of one split button, which the shared result panel-list renders together; it needs distinct labels.
Bug 2073853 adds an automation check: a menupopup or panel-list that opens with two visible items sharing an accesskey, or with items lacking one beside items that have one, logs an AccessKeyConflictError and fails the running browser-chrome test. This menu carries an accesskey-conflicts-bug attribute naming this bug so the check skips it. The fix picks unique letters for static items (a message whose accesskey changes gets a new Fluent id; no migration recipe) and removes the attribute in the same patch so the check guards the menu from then on. Items generated from data can't be given accesskeys, so a menu that mixes them with static items either drops the static items' accesskeys or moves the generated items into a submenu. Conflicts are per visible menu instance, so a letter has to be free among the items that can show together, not merely in the Fluent file.
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 1•18 days ago
|
||
Updated•18 days ago
|
Comment 2•17 days ago
|
||
The following patch is waiting for review from an inactive reviewer:
| ID | Title | Author | Reviewer Status |
|---|---|---|---|
| D342016 | Bug 2073892 - Give the address bar result menu's commands accesskeys, and let the check cover that menu. r?#urlbar-reviewers,#fluent-reviewers | dao | jteow: Back Nov 23, 2026 |
:dao, could you please find another reviewer?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•13 days ago
|
Comment 5•12 days ago
|
||
Backed out for causing bc tests failures at acknowledgeFeedbackAndDismissal.js
Backout Link
Push with failures
Failure Log
failure log2
Failure line TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser-results/browser_acknowledgeFeedbackAndDismissal.js | acknowledgeDismissal_rowNotSelected - Console message: [JavaScript Error: "AccessKeyConflictError: panel-list: accesskey "r" is shared by "Report inaccurate location", "Remove from history"; "Not interested", "Not interested" have no accesskey while "Report inaccurate location", "Remove from history" do. Fix a shared accesske
| Assignee | ||
Updated•12 days ago
|
Comment 7•12 days ago
|
||
| bugherder | ||
Description
•