Closed Bug 1729879 Opened 3 years ago Closed 3 years ago

[macOS] The .dmg prompt asking the user to install or to not install Firefox is not detected by Voiceover

Categories

(Toolkit :: Startup and Profile System, defect)

Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
94 Branch
Accessibility Severity s2
Tracking Status
firefox93 + verified
firefox94 --- verified

People

(Reporter: csasca, Assigned: eeejay)

References

(Blocks 2 open bugs)

Details

(Keywords: access)

Attachments

(1 file)

Affected versions

  • 93.0b2
  • 94.0a1

Affected platforms

  • macOS 11.5

Preconditions

  • Have Voiceover active

Steps to reproduce

  1. Open the .dmg.
  2. Drag and click on the Firefox icon from the dock or launch it from the disk image

Expected result

  • The prompt to install or to not install Firefox is read by Voiceover

Actual result

  • The prompt is not detected by Voiceover

Regression range

Additional notes

  • The issue can be seen in the following attachment
Has STR: --- → yes
Keywords: access
Whiteboard: [access-s2]

ni'ing me so I remember to have a look at this tomorrow :)

Flags: needinfo?(mreschenberg)

Looks like it is possible to call NSAlert's runModal without an event loop. This prevents accessibility APIs from querying the UI. I'll try to come up with something.

Assignee: nobody → eitan
Flags: needinfo?(mreschenberg)

This is needed for platform accessibility support.

Correction: there is an event loop, or an embedded one if NSAlert is called when one is already running. I think the issue has to do with some other magic that happens when an NSApplication is started.

Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/04499eda6af2
Start NSApp in AskUserIfWeShouldInstall alert. r=mstange
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch

The patch landed in nightly and beta is affected.
:eeejay, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(eitan)

This will need an uplift. But first, would like the reporter to confirm fix and check that workflow after alert (use or install Firefox) works as expected as well.

Flags: needinfo?(eitan) → needinfo?(catalin.sasca)

Verified that voiceover is reading the messages in the prompt and the buttons as well when selected with tab on Firefox 94.0a1 (2021-09-13)

Flags: needinfo?(catalin.sasca)
Blocks: 1729853

Comment on attachment 9240654 [details]
Bug 1729879 - Start NSApp in AskUserIfWeShouldInstall alert. r?jwatt!

Beta/Release Uplift Approval Request

  • User impact if declined: VoiceOver users will not know of the dialog and nothing will be spoken to them when Firefox is first launched.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: 1. Launch Firefox from dmg when no previous version was installed.
  1. Assure alert is read and interactive with VoiceOver.
  2. Press "Don't Install"
  3. Assure Firefox launches and works with VoiceOver
  • List of other uplifts needed: None
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): This relies on some AppKit quirks I don't fully understand, so I am marking the risk as "medium".
  • String changes made/needed:
Attachment #9240654 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Comment on attachment 9240654 [details]
Bug 1729879 - Start NSApp in AskUserIfWeShouldInstall alert. r?jwatt!

This is medium risk but was verifed on nightly and baked 5 days on nightly with no new regression reported, let's take it in 93 beta 6, thanks.

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

This has been fixed on 93.0b6 as well. Thank you!

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Accessibility Severity: --- → s2
Whiteboard: [access-s2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: