Closed Bug 1784432 Opened 3 years ago Closed 3 years ago

The "List all tabs" menu cannot be opened using the Space or Enter keys

Categories

(Firefox :: Keyboard Navigation, defect)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- fixed
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- verified
firefox106 --- verified

People

(Reporter: rdoghi, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-Quality-Foundation])

Attachments

(2 files)

Attached video 2022-08-12_11h29_52.mp4

Found in

  • 105.0a1 (2022-08-11)

Affected versions

  • Firefox Nightly 105.0a1
  • Beta 104.0b9

Affected platforms

  • all

Steps to reproduce

  1. Open enough tabs for the List all tabs button to appear.
  2. Reach the List all tabs button using keyboard navigation.
  3. Use the Space or Enter keys in order to open the List all tabs Dropdown.

Expected result

  • User should be able to open the list all tabs dropdown using keyboard navigation

Actual result

  • The space or enter keys will not open the list all tabs dropdown.
    Please note that older versions than Beta will not allow the user to reach that button at all using keyboard navigation.
Has STR: --- → yes
Whiteboard: [fidefe-Quality-Foundation]

I can make this problem go away by reverting the change from bug 1489124.

Keywords: regression
Regressed by: 1489124

Set release status flags based on info from the regressing bug 1489124

Set release status flags based on info from the regressing bug 1489124

bug 1786011 is going to make this worse by exposing this to everyone in 106.

Fixing this should be straightforward in principle.

See Also: → 1786011
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED

Comment on attachment 9292073 [details]
Bug 1784432 - allow opening list all tabs menu using the keyboard, r?mhowell

Beta/Release Uplift Approval Request

  • User impact if declined: Can't use all tabs menu with the keyboard
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: See comment 0
  • List of other uplifts needed: N/A
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Only adds a keyboard event handler to the existing button
  • String changes made/needed: Nope
  • Is Android affected?: No
Attachment #9292073 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e511290b39cc allow opening list all tabs menu using the keyboard, r=mhowell

Backed out changeset e511290b39cc (bug 1784432) for causing browser-chrome failures in browser/components/extensions/test/browser/browser_ext_menus_events.js

Backout link: https://hg.mozilla.org/integration/autoland/rev/8f1bc7aba07ecaee5762c62a28aa49fa90bec66a

Push with failures

Failure log

TEST-UNEXPECTED-FAIL | browser/components/extensions/test/browser/browser_ext_menus_events.js | Uncaught exception in test - at chrome://browser/content/browser-allTabsMenu.js:143 - TypeError: can't access property "type", event is undefined
Flags: needinfo?(gijskruitbosch+bugs)

Hrmpf, people call this with a null event param. Ah well, I guess showSubView copes so this code should too...

Flags: needinfo?(gijskruitbosch+bugs)
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f1e69c9018d6 allow opening list all tabs menu using the keyboard, r=mhowell
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch

Verified as fixed in our latest build 106.0a1 (2022-08-30).

QA Whiteboard: [qa-triaged]

Comment on attachment 9292073 [details]
Bug 1784432 - allow opening list all tabs menu using the keyboard, r?mhowell

Approved for 105.0b5.

Attachment #9292073 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed in our latest Beta build as well.

Did we want to take this on ESR102 also? It grafts cleanly.

Flags: needinfo?(gijskruitbosch+bugs)

Comment on attachment 9292073 [details]
Bug 1784432 - allow opening list all tabs menu using the keyboard, r?mhowell

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Accessibility issue with the all tabs menu
  • User impact if declined: Can't open the menu with the keyboard
  • Fix Landed on Version: 106, uplifted to 105
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): 3 lines of JS and a line of markup; has an automated test to check it works.
Flags: needinfo?(gijskruitbosch+bugs)
Attachment #9292073 - Flags: approval-mozilla-esr102?

Comment on attachment 9292073 [details]
Bug 1784432 - allow opening list all tabs menu using the keyboard, r?mhowell

Approved for 102.3esr.

Attachment #9292073 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+

Hi, I tried to verify this issue in our latest ESR build 20220902190600 but there is no way for us to Reach the "List all tabs" button using Keyboard Navigation, Focus will jump from the last tab straight to the Back or Refresh buttons from the Toolbar.

Flags: needinfo?(mhowell)
Flags: needinfo?(gijskruitbosch+bugs)

I was able to get there by tabbing to the New Tab button and then using arrow keys to reach the tabs list button (on Windows, that method also gets you to the window controls). I don't know whether that's the intended behavior or not, it definitely seems a bit odd.

Flags: needinfo?(mhowell)

Hi Molly, have you tried this in our latest ESR 102.3.0 ? because this is the only version where that doesnt work, I can reach the list all button using the same steps you did in all versions of Firefox except Esr 102.3.0 where the fix was uplifted.

Flags: needinfo?(mhowell)

Ah, yeah, you're right, there's another bug happening on ESR; sorry about that. I suspect the problem is that bug 1767802 is missing.

Flags: needinfo?(mhowell)

(In reply to Molly Howell (she/her) [:mhowell] from comment #24)

Ah, yeah, you're right, there's another bug happening on ESR; sorry about that. I suspect the problem is that bug 1767802 is missing.

Given bug 1778450 I'm not convinced we want to uplift 1767802 to ESR at this time. Ryan, do we just want to mark esr wontfix, then? (The button can't be moved out of the tabstrip).

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(ryanvm)

Yeah, let's backout.

Flags: needinfo?(ryanvm)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #26)

Yeah, let's backout.

TBF I don't know if we need to back out from ESR - it probably won't do any harm? But up to you.

Discussed it with Gijs on Slack. I'm going to leave it in on the chance that there's other ways to focus the button beyond keyboard navigation since the risk to doing so is very low.

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

Attachment

General

Created:
Updated:
Size: