Questions about accessibility in Android.
Questions tagged [android-a11y]
44 questions
4
votes
2 answers
Can accessibility service be stopped or killed?
I have written an accessibility service and I want the service to be stopped/killed once it receives an accessibility event (i.e. in method onAccessibilityEvent). Can this be done? I have tried to kill using kill process as below but it is not…

pradeep
- 45
- 1
- 5
4
votes
1 answer
Enable accessibility service on android
I am developing an app which uses the accessibility api in Android.
I am having a bit of a problem while guiding the user to enable the service.
The only thing I found so far is :
final Intent intent = new…

Tancho
- 1,581
- 3
- 22
- 40
3
votes
1 answer
BroadcastReceiver for TalkBack
I know I can query the AccesibilityManager to determine if TalkBack has been enabled. Is there a way to detect when TalkBack is enabled using a broadcast receiver? I would prefer this solution as it can be enabled at anytime.

Alan
- 9,331
- 14
- 52
- 97
3
votes
1 answer
Accessibility Events not recognized by Accessibility service in Android 2.3(GB)
My code works fine with Android versions above 4 but in Android 2.2 or 2.3 I am unable to detect Any event. Android logs show that service is running but whenever I fire a event its not recognized by Accessibility service.
In following code :
public…

Aduait Pokhriyal
- 1,529
- 14
- 30
2
votes
1 answer
RecyclerView accessibility traversal for lazy-loaded children in RecyclerView
We can populate a RecyclerView with items and, on binding, we can mark some of those items as 'headings' for accessibility.
This means that in the 'headings' traversal mode of TalkBack, the user can navigate directly between them.
However, a…

Rob Pridham
- 4,780
- 1
- 26
- 38
2
votes
2 answers
talkback calls my content description twice
I have an item that steals the focus when its hosting activity is opened.
But then in talkback mode it's read twice.
1) how can i define an item to be read as soon as the activity it opned?
2) what can cause its content description to be read…

Elad Benda
- 35,076
- 87
- 265
- 471
2
votes
1 answer
Accessibility Service Android
I am using a accessibility service and if i kill the app from running applications the system is taking away the accessibility permission that user explicitly gave and that leads me to ask for permission again. Any explanation why this is happening…

dirtydexter
- 1,063
- 1
- 10
- 17
2
votes
1 answer
How to handle double tap with Accessibility Service?
With an accessibility service, double tapping activate the last element focused by the accessibility service.
I just want to handle this event with my accessibility service but there is no listener/event for that. I only get two accessibility event…

probitaille
- 1,899
- 1
- 19
- 37
2
votes
1 answer
Change android accessibility tools properties?
I am conducting accessibility testing on my android application, and am running into a few accessibility issues.
I want to know if it possible to change any properties of the accessibility tools in code, such as change the color or size of the focus…

Parnit
- 1,032
- 2
- 8
- 16
2
votes
1 answer
android Accessibility screen magnifier
I would like to create an Android Accessibility Application/Service.
This Accessibility app would be able to magnify any screen image produced by any application resident on the android device.
for example, I would like to be able to magnify...
the…

Hector
- 4,016
- 21
- 112
- 211
1
vote
0 answers
TextView is not read by TalkBack if an OnLongClickListener is set
I have a screen that is split up in several sections, each being a layout with android:focusable="true" set to true.
With TalkBack enabled, if you click one of these sections / layouts, Talkback will highlight that section and read every TextView…

fweigl
- 21,278
- 20
- 114
- 205
1
vote
1 answer
React native a11y: visually hide an element but make it available to screenreader
I have a View which contains a key and a value.
The key is a string
and the value is a numeric value, which represents whether something has gone up or down.
Visually, i use a chevron and turn the text to green or red, to show whether the value has…

gaurav5430
- 12,934
- 6
- 54
- 111
1
vote
0 answers
Accessibility traversal order ignored
I have created a custom navigation line menu on Android TV that consists of a LinearLayoutCompat with AppCompatButtons that each represents an entry in the menu.
The menu is built dynamically, in the code at runtime by inflating the AppCompatButtons…

Mackovich
- 3,319
- 6
- 35
- 73
1
vote
1 answer
How to make TalkBack read Android accessibility events in order without cutting them off
I have a filters view which upon dismissing, I'd like to do 2 accessibility things:
announce "$listSize items in list" since applying the filters will change the list size
set focus to the "Add filters" button
I tried the…

David Albers
- 253
- 4
- 10
1
vote
2 answers
How to implement android intermediate progressbar accessibility
I would like to announce the loading text on an android intermediate progressbar. I want to output something like this for disabled people who are using talkback service on the Android device when an intermediate progressbar is loading.
File is…

sam_k
- 5,983
- 14
- 76
- 110