Closed Bug 1732850 Opened 3 years ago Closed 3 years ago

Accessibility regression in “Remove account” dialog box

Categories

(Thunderbird :: Account Manager, defect)

defect

Tracking

(thunderbird_esr91+ fixed)

RESOLVED FIXED
94 Branch
Tracking Status
thunderbird_esr91 + fixed

People

(Reporter: valentin, Assigned: darktrojan)

Details

Attachments

(3 files)

When removing an account, the “Remove account” dialog opens.
The focused used to be on the “Remove” button (at least for Chat
accounts); that’s no longer the case. For Chat accounts, it’s on the
“More info” button; for Mail and Feed accounts, it’s on the “Remove
message data” check box. (I’m unclear as to whether that’s the
desired behavior.)

Thing is, when it opens there’s absolutely no way of visually knowing
where the focus actually is. Once you hit Tab and then <shift>Tab,
the focus does appear.

See also bug 1728141.

(This isn’t correlated with the graphical theme in use; I can reproduce it with any GTK theme.)

Also, is it normal that the “Cancel” button is printed differently from the others?
As it is, it may look like that button has the focus instead of the actual focused one.

Cancel is the default (therefore visually different), and "always" was: https://searchfox.org/comm-central/rev/c4e0d3cf67130be7f046fc18aa4731b4ab552676/mailnews/base/prefs/content/removeAccount.xhtml#24
But I can confirm for chat accounts that somehow doesn't happen.

This function is only used elsewhere by commonDialog.js, and it seems a bit of a hack, but if it's good enough for the there...

Assignee: nobody → geoff

Thanks! See also bug 1732860, which appears to reproduce part of the problem discussed here.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/835d5553ba30
Set initial focus in Remove Account dialog. r=mkmelin

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch

Comment on attachment 9243183 [details]
Bug 1732850 - Set initial focus in Remove Account dialog. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #): dunno
User impact if declined: focus is on the wrong button in a dialog
Testing completed (on c-c, etc.): in 94
Risk to taking this patch (and alternatives if risky): none

Attachment #9243183 - Flags: approval-comm-esr91?

Comment on attachment 9243183 [details]
Bug 1732850 - Set initial focus in Remove Account dialog. r=mkmelin

[Triage Comment]
Approved for esr91

Attachment #9243183 - Flags: approval-comm-esr91? → approval-comm-esr91+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: