Closed Bug 1793088 Opened 2 years ago Closed 2 years ago

Unable to switch from Firefox View directly to other tabs using TAB key

Categories

(Firefox :: Keyboard Navigation, defect, P2)

defect

Tracking

()

VERIFIED FIXED
108 Branch
Tracking Status
firefox105 --- wontfix
firefox106 --- wontfix
firefox107 --- wontfix
firefox108 --- verified

People

(Reporter: bmaris, Assigned: kcochrane)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fidefe-2022-mr1-firefox-view])

Attachments

(2 files, 1 obsolete file)

Attached image Gif showing the issue

Found in

  • Firefox 106.0b6

Affected versions

  • Firefox 106.0b6
  • Latest Nightly 107.0a1
  • Firefox

Tested platforms

  • Affected platforms: Windows 10, macOS 11.6 and Ubuntu 21.04

Steps to reproduce

  1. Open 1 or 2 tabs
  2. Click Firefox View button
  3. Try to reach the new tab with TAB key from the keyboard

Expected result

  • User can cycle through Firefox View and the opened Tabs

Actual result

  • User can't cycle through the opened tabs using TAB key once focused on Firefox View

Regression range

  • Not a regression since this is also the behavior on old Nightly builds from 2022-05-10, close to when this feature existed.

Additional notes

  • If the users have a normal tab in focus they can cycle through the tabs and Firefox View using TAB key without issues.
See Also: → 1787979
Component: Firefox View → Keyboard Navigation
See Also: 17879791767802, 1775129
Whiteboard: [fidefe-firefox-view]
No longer blocks: 1778450
See Also: → 1778450
Has STR: --- → yes
Priority: -- → P2
Assignee: nobody → kcochrane
Status: NEW → ASSIGNED

Based on discussion with UX and a11y team, the plan is to treat Fx View as a button in terms of how you can interact with it via keyboard. Users will be able to tab to/from the button (as opposed to using arrow keys like when cycling through tabs) regardless of where it's located in the browser.

Attachment #9299344 - Attachment description: WIP: Bug 1793088 - Make first available tab focusable when Fx View is open r=dao → Bug 1793088 - Make first available tab focusable when Fx View is open r=dao
Whiteboard: [fidefe-firefox-view] → [fidefe-firefox-view], [fidefe-2022-mr1-firefox-view]
Whiteboard: [fidefe-firefox-view], [fidefe-2022-mr1-firefox-view] → [fidefe-firefox-view] [fidefe-2022-mr1-firefox-view]
Pushed by kcochrane@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a1431ca8979
Make first available tab focusable when Fx View is open r=dao
Attachment #9299520 - Attachment is obsolete: true

Updated patch to check that Fx View button has focus before tabbing over to the first available tab. Waiting for review.

Flags: needinfo?(kcochrane)
Pushed by kcochrane@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/caddc49839d3
Make first available tab focusable when Fx View is open r=dao

Backed out changeset caddc49839d3 (Bug 1793088) for causing bc failures on browser_firefoxview_tab.js
Backout link
Push with failures <--> bc3
Failure Log

Flags: needinfo?(kcochrane)

Submitted another update for Dao to review.

Flags: needinfo?(kcochrane)
Attachment #9299344 - Attachment description: Bug 1793088 - Make first available tab focusable when Fx View is open r=dao → WIP: Bug 1793088 - Make first available tab focusable when Fx View is open r=dao
Attachment #9299344 - Attachment description: WIP: Bug 1793088 - Make first available tab focusable when Fx View is open r=dao → Bug 1793088 - Make first available tab focusable when Fx View is open r=dao
Whiteboard: [fidefe-firefox-view] [fidefe-2022-mr1-firefox-view] → [fidefe-2022-mr1-firefox-view]
Pushed by kcochrane@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bd5db2935a3b
Make first available tab focusable when Fx View is open r=dao
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

The patch landed in nightly and beta is affected.
:kcochrane, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox107 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(kcochrane)
Flags: needinfo?(kcochrane)

Jamie wrote in bug 1785272 comment 43 that this isn't working for him, so going to ping here to doublecheck if this is definitely still not working on today's nightly, and if not, exactly in what way it isn't working...

Flags: needinfo?(jteh)

(In reply to :Gijs (he/him) from comment #13)

Jamie wrote in bug 1785272 comment 43 that this isn't working for him, so going to ping here to doublecheck if this is definitely still not working on today's nightly, and if not, exactly in what way it isn't working...

This seems to work as expected for me with the latest Nightly build. I should note that on mac/OSX, this does only work as expected once you turn on that System Preferences > Keyboard > Shortcuts > "Use keyboard navigation to move focus forward and Shift Tab to move focus backward.".

With Firefox View open/active, I'm able to tab over from Firefox View to the first visible tab and then use the arrow keys to navigate through the opened tabs.

Sooo... I just tested this again and it seems to be working just fine on Windows. 😳 I tested this multiple times yesterday and it was failing every time, and I was pretty sure I was running latest Nightly. But maybe I wasn't. Or something. Anyway, I'll just go hide in a corner or something.

Flags: needinfo?(jteh)
Flags: qe-verify+

Verified that now I can cycle from the Firefox View button to the first tab using Firefox 108.0b2 across platforms (Windows 10, macOS 11.6 and Ubuntu 22.04).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: