New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: hover text only working when VO enabled #26183
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this behavior was introduced by 6bc59cf and one of the comments for that patch says
This looks like something has changed in Chrome. With the VoiceOver patch, I mimicked Chrome's behavior of enabling the accessibility tree when VoiceOver was active, and disabling the tree when inactive.
This comment is 5 years old so it's likely stale information, but just to check -- did you confirm that we're still tracking to how Chrome behaves wrt the accessibility tree?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Other than the addition of AXManualAccessibility, this matches what chrome_browser_application_mac.mm is doing.
failure is unrelated, merging. |
Release Notes Persisted
|
I have automatically backported this PR to "9-x-y", please check out #26244 |
I have automatically backported this PR to "10-x-y", please check out #26245 |
I have automatically backported this PR to "11-x-y", please check out #26246 |
Description of Change
Closes #25695.
Previously some screenreader-associated accessibility tooling was being enabled exclusively when VoiceOver was turned on, which broke Hover Text among some other things. This is because we only called
ax_state->OnScreenReaderDetected();
if VoiceOver was enabled, and is fixed by removing that condition. The previous condition seems to have been added as a result of atom/atom#3288, but some local testing seems to ensure that text to speech still works after this removal.cc @ckerr @jkleinsc @zcbenz
Checklist
npm test
passesRelease Notes
Notes: Fixed an issue where Hover Text on macOS Catalina did not work without VoiceOver also being enabled.