Closed Bug 1752047 Opened 3 years ago Closed 3 years ago

VO constantly announces 'in dialog, content is empty' when navigating ff content and UI

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

VERIFIED FIXED
98 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- unaffected
firefox97 --- verified
firefox98 --- verified

People

(Reporter: morgan, Assigned: spohl)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Enable VoiceOver
  2. Navigate the tab strip

Expected:
VO reads the open tabs

Actual:
VO begins to read the open tabs but interrupts itself to say "in dialog, content is empty" after every navigation

I think this might be fallout from the quicksearch announcement implementation, but I'm not sure. I'll tag that bug as a see-also once I find it.

See Also: → 1716828

Ah this has to do with tooltips:
STR:

  1. Enable event logging for VO
  2. Launch data:text/html,<button title="I am a tooltip">hello world</button><br><button>I have no tooltip</button>
  3. Focus the first button

Expected:
VO reads the button name "hello world" and after a pause, reads the tooltip text but does not focus it. No further announcements are made.
VO reads the button name "I have no tooltip"

Actual:
VO gets the following notifications:

[AXCreated] dialog : AXRole=AXWindow AXTitle= AXDescription= AXValue=
[AXWindowCreated] dialog : AXRole=AXWindow AXTitle= AXDescription= AXValue=

and says the above string about dialogs

This doesn't happen if you focus an item with no tooltips (ie. the latter button)

Severity: -- → S2
Regressed by: 1742877

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

Has Regression Range: --- → yes

Morgan, unfortunately I was unable to reproduce this issue that you reported. Voice Over seems to work correctly for me, even after the patch in bug 1742877. I also couldn't figure out how to enable event logging for VO. However, I wrote a speculative fix and kicked off a try build. Could you run this build once it becomes available and let me know if that fixes things for you?

https://treeherder.mozilla.org/jobs?repo=try&revision=d5ee18113c1c96db64cded820e32bf32e2d5ae87

Flags: needinfo?(mreschenberg)

Just applied the patch locally -- that fixes it for me!

Flags: needinfo?(mreschenberg)
Assignee: nobody → spohl.mozilla.bugs
Status: NEW → ASSIGNED

(In reply to Morgan Reschenberg [:morgan] from comment #4)

Just applied the patch locally -- that fixes it for me!

Thanks for confirming!

Oh, I think in order for VO to generate tooltips, you need to enable Mouse pointer: Follows VO Cursor in VoiceOver Utility.app > Navigation. I'm not sure if it's enabled by default.

Pushed by spohl@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8d2153292ac4 Ensure that Voice Over continues to function correctly for elements with tooltips. r=mstange
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

Is this something we'd want to fix in 97.0rc2 to avoid shipping the regression? Please nominate the patch for release approval ASAP if so.

Flags: needinfo?(spohl.mozilla.bugs)

Comment on attachment 9261794 [details]
Bug 1752047: Ensure that Voice Over continues to function correctly for elements with tooltips. r=mstange

Beta/Release Uplift Approval Request

  • User impact if declined: Users using accessibility tools on macOS such as Voice Over may be unable to get page elements read to them if those elements contain a tooltip.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This patch reduces the scope of the original patch that was introduced in bug 1742877.
  • String changes made/needed: none
Flags: needinfo?(spohl.mozilla.bugs)
Attachment #9261794 - Flags: approval-mozilla-beta?

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

Is this something we'd want to fix in 97.0rc2 to avoid shipping the regression? Please nominate the patch for release approval ASAP if so.

I believe Morgan would like to see this patch uplifted. It is difficult for me to determine how many users might be affected by this, but since we're reducing the scope of the original patch from bug 1742877, I believe this is safe to uplift.

Since I wasn't able to reproduce the issue reported here I wasn't able to confirm the fix in Nightly. Morgan, would you be able to verify that this works as expected in Nightly now? Thank you!

Flags: needinfo?(mreschenberg)

Confirmed fixed in Nightly :) If it's possible to uplift, we should.
:spohl do you want to file the req or should I? :)
Thanks again for the quick turnaround on this

Flags: needinfo?(mreschenberg) → needinfo?(spohl.mozilla.bugs)

(In reply to Morgan Reschenberg [:morgan] from comment #13)

Confirmed fixed in Nightly :) If it's possible to uplift, we should.
:spohl do you want to file the req or should I? :)
Thanks again for the quick turnaround on this

I already did since I was anticipating this to be fixed in Nightly (see comment 11), but in addition, it's now confirmed to be fixed in Nightly. Thanks, Morgan!

Flags: needinfo?(spohl.mozilla.bugs)

Comment on attachment 9261794 [details]
Bug 1752047: Ensure that Voice Over continues to function correctly for elements with tooltips. r=mstange

Approved for 97.0rc2.

Attachment #9261794 - Flags: approval-mozilla-beta? → approval-mozilla-release+
Flags: qe-verify+

I have reproduced this issue using Firefox 98.0a1 (2022.01.25) on macOS 10.15.
I can confirm this issue is fixed, I verified using Firefox 98.0a1 (latest nightly) and Firefox 97.0rc2 build on macOS 10.15.

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: