The classes in this package are used for development of accessibility service that provide alternative or augmented feedback to the user.They may be useful in developing applications that may help people who need alternatives to use Android phones. eg : due to physical incapabilities.
Questions tagged [accessibility-api]
114 questions
2
votes
2 answers
Which Accessibility APIs can be used to enable Chrome and Firefox? UIA does not work well and breaks often
We are writing something like an Assistive User Agent, which reads screens using Accessibility API and provides help to users.
UIA does not seem to be natively supported by Chrome and Firefox. This is causing our implementation to break when Chrome…

Satish Rao
- 31
- 6
2
votes
0 answers
How to ignore iOS Accessibility setting for Invert Colors in versions earlier than iOS 11.0?
In the Accessibility settings on iOS there is the ability to Invert Colors. However, inverting colors on images and videos isn't always desirable.
iOS 11 introduces a property called accessibilityIgnoresInvertColors that can be set on UIViews to…

H K
- 1,215
- 2
- 16
- 29
2
votes
0 answers
Accessibility API/Component does not read the contents in Hybrid Mobile Application
Hybrid Mobile Application built using Cordova, BackBoneJS and JQuery mobile does not respond to Accessibility touch events.
In Accessibility mode "ON", the expectation is, the Application needs to read the contents/text in single tap and the…

Joseph
- 1,060
- 3
- 22
- 53
2
votes
1 answer
How to get another's applications window create and delete event on Mac
I am trying to build an application which creates and closes it's window when a particular window of another 3rd party application is created or closed. Any pointers or sample code on how to achieve this will be of great help. On window I achieved…

Swapnil
- 121
- 1
- 4
2
votes
2 answers
Using Accessibility Service Android
I have made use of Accessibility service in android to detect the foreground application.
I want to listen to 2 of the available accessibility events
TYPE_VIEW_TEXT_CHANGED
TYPE_WINDOW_STATE_CHANGED
I want to listen to all window state change…

Neji
- 6,591
- 5
- 43
- 66
2
votes
2 answers
how to get webview from AccessibilityNodeInfo
I am creating an application in which i need to use AccessibilityService. And there is no problem to get get the window content of other applications. I have detected all available child from the window content and the child are showing in …

Manish Agrawal
- 551
- 2
- 6
- 22
2
votes
2 answers
How to activate Talkback inside of an fragment's views?
I'm currently adding accessibility as a new feature inside my app.
My goal is that the user would be navigating it using the TalkBack service integrated by Android.
Everything is working well, since I'm setting content description on the elements…

Mauricio Sartori
- 2,533
- 6
- 26
- 28
2
votes
1 answer
Cocoa accessibility API, can I click a window in the background without activating it?
I've been searching forever for a solution to this, so I thought I'd seek out the brainpower of greater minds than mine. I'm developing a Cocoa app that uses the Accessibility API to manipulate another program (it's a hotkey app). The app I'm…

Winawer
- 671
- 8
- 26
2
votes
2 answers
Accessibility Service's 'onAccessibilityEvent' Function Not Being Invoked
I've run into a rather unfortunate problem with an application I'm developing that utilizes an accessibility service to do some special handling of notifications when they arrive on a user's device. The thing is, it works just fine, but the…

James Pizzurro
- 365
- 1
- 3
- 10
2
votes
1 answer
How do you get current keyboard focus coordinates in Mac OS X's Accessibility API?
I'm looking for a Mac OS X Accessibility API to get the coordinates of the location of the current keyboard (not mouse) focus. According to page 2 of the document I found at http://www.apple.com/accessibility/pdf/Mac_OS_X_Tiger_vpat.pdf, it's…

Matthew Adams
- 2,059
- 2
- 21
- 31
2
votes
1 answer
NSWorkspaceDidActivateApplicationNotification called before application is ready to use (launched)
I'm using both NSWorkspaceDidActivateApplicationNotification and NSWorkspaceDidLaunchApplicationNotification notifications to know which app the user is interacting with.
The problem is that, if an application is just opened and still launching, I…
user429620
1
vote
1 answer
Cocoa Accessibility API consuming mouse clicks
I have encountered a weird problem with one of my OS X apps. The app uses AXAPI to create event taps and to monitor keyboard and mouse events. Some users with OS 10.6-10.7 report that when the app is active, their mouse doesn't function correctly -…

ivanmoskalev
- 2,004
- 1
- 16
- 25
1
vote
1 answer
How to receive space/tab keyDown event when (new) Full Keyboard Access setting is enabled?
I am using a custom view class, which is a subclass of NSControl.
This view is a key view and needs to handle keyDown event including space/tab key.
But, when Full Keyboard Access is enabled at System Settings app > Accessibility > Keyboard, the…

Daisuke K.
- 11
- 2
1
vote
0 answers
System-wide recognition of scroll events on Mac OSX and setting focus to a different window
I'm registering for global mouse wheel events in my cocoa application. My goal is to have some kind of background application to be able to focus a window of another application when the user scrolls in it's window. If possible with Objective-C and…

Akku
- 4,373
- 4
- 48
- 67
1
vote
1 answer
SwiftUI: Detect Display Zoom is on?
This question has been asked before but none of the solutions work. I can't believe that in SwiftUI, similar to @Environment(\.sizeCategory) var sizeCategory there isn't a similar environment variable that we can observe and switch on?

GarySabo
- 5,806
- 5
- 49
- 124