Closed Bug 1451132 Opened 7 years ago Closed 8 months ago

Provide an option to close the current tab when closing the window

Categories

(Firefox :: Tabbed Browser, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
135 Branch
Accessibility Severity s3
a11y-review passed
Tracking Status
relnote-firefox --- 135+
firefox135 --- fixed

People

(Reporter: gennaro.prota+firefoxbugzilla, Assigned: jabramson)

References

Details

(Keywords: access, blocked-ux, Whiteboard: fidefe-quality-foundation)

Attachments

(3 files)

Attached image AllOrCurrent.png
Most times, when the user gives the command to close a window with multiple tabs, he/she wants to close the current tab only. Internet Explorer shows the right window to fix the action (see attached image). Firefox does not. Please, consider providing a choice similar to that of IE.
Keywords: uiwanted
Keywords: uiwantedblocked-ux
Priority: -- → P5
Summary: Provide an option to close the current tab → Provide an option to close the current tab when closing the window
Severity: normal → S3
Whiteboard: fidefe-quality-foundation
See Also: → 1893736
Assignee: nobody → jabramson
Attachment #9426876 - Attachment description: WIP: Bug 1451132 - Start to provide option to close current tab on quit → Bug 1451132 - Start to provide option to close current tab on quit
Attachment #9426876 - Attachment description: Bug 1451132 - Start to provide option to close current tab on quit → Bug 1451132 - Start to provide option to close current tab on quit r=cmkm,gijs
Attachment #9426876 - Attachment description: Bug 1451132 - Start to provide option to close current tab on quit r=cmkm,gijs → Bug 1451132 - Provide option to close current tab on quit r=cmkm,mconley
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Hi, I'm hoping to get an a11y review of my patch for this ticket (https://phabricator.services.mozilla.com/D223374). When a macOS (or any Unix) user has multiple tabs open and uses the keyboard shortcut to quit (cmd+Q), this patch adds a new "close current tab" button to the dialog that opens. It also reorders buttons so that "close current tab" appears next to the quit button instead of the cancel button. I'd like to make sure there aren't any accessibility concerns with this reordering. This is part of the Desktop UX Fundamentals project that wraps at the end of the year. Thanks!

a11y-review: --- → requested

Thank you, :jabramson! I commented in the Phab - the dialog is implemented in an accessible way and you even have thought through the keyboard-only flow to return the focus to the previous focus position after a shortcut-triggered dialog is dismissed. Thank you so much for working on this!

The dialog itself would also help users with cognitive disabilities to ensure they're not missing important information and make it easier to manage tabs (not closing the whole windows by a mistake).

a11y-review: requested → passed
Accessibility Severity: --- → s3
Keywords: access
Pushed by jabramson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fbecdb8245d8 Provide option to close current tab on quit r=fluent-reviewers,reusable-components-reviewers,mconley,settings-reviewers,mossop,accessibility-frontend-reviewers,mstriemer,ayeddi
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
Regressions: 1933568

:jabramson could you consider nominating this for a release note? (Process info)

Flags: needinfo?(jabramson)

Release Note Request
[Why is this notable]: This patch adds a new button to the dialog that displays on Unix (including macOS) platforms when the Quit keyboard shortcut (cmd+Q) is used and multiple tabs are open, giving users the option to close only the current tab instead of quit the browser.
[Affects Firefox for Android]: no
[Suggested wording]: Firefox gives Unix users the option to close the current tab if the Quit keyboard shortcut is used with multiple tabs open.
[Links (documentation, blog post, etc)]:

relnote-firefox: --- → ?
Flags: needinfo?(jabramson)

Added to the Fx135 relnotes.

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

Attachment

General

Creator:
Created:
Updated:
Size: