Skip to main content

Questions tagged [android-a11y]

The tag has no usage guidance, but it has a tag wiki.

android-a11y
0 votes
0 answers
279 views

Android accessibility: TalkBack reading order for a custom view and a TextView

I'm trying to improve the a11y in our app and we have the following piece of XML: <myapp.custom.CurrencyTextView android:id="@+id/tvBalance" android:layout_width="...
noloman's user avatar
  • 11.8k
1 vote
0 answers
298 views

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, ...
fweigl's user avatar
  • 21.8k
2 votes
1 answer
2k views

How to find which element has focus in Jetpack Compose?

I'm trying to understand which element has obtained focus when I use the tab key from a external keyboard. I'm only using composable elements in the app, mostly custom elements. I've tried to using ...
Haroun Hajem's user avatar
  • 5,499
1 vote
1 answer
1k views

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 ...
gaurav5430's user avatar
  • 13.6k
1 vote
0 answers
405 views

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 ...
Mackovich's user avatar
  • 3,473
0 votes
1 answer
204 views

android i`importantForA11y=false` vs. `setConentDescription=@null` vs. `focusable=false`

I can see importantForA11y is for minSdk=6+ But why would one have to use it, if they can just use setConentDescription=@null? What is the difference between importantForA11y=false vs. ...
Elad Benda's user avatar
  • 36.2k
0 votes
1 answer
145 views

a11y polymer button doesn´t provide auditive feedback of button state

I have the following polymer element, that inherits the "paper-behaviors/paper-button-behavior" but doesn´t provide any kind of auditive feedback when the user clicks the button. it just reads the ...
Yala Yala Herzlin's user avatar
2 votes
1 answer
2k views

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 ...
Rob Pridham's user avatar
  • 4,898
2 votes
2 answers
5k views

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 ...
Elad Benda's user avatar
  • 36.2k
1 vote
1 answer
3k views

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 ...
David Albers's user avatar
1 vote
2 answers
1k views

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 ...
sam_k's user avatar
  • 5,993
0 votes
0 answers
632 views

Accessibility: select tag title

I'm trying to define a title for a <select> tag which is read by the Android screen reader, mostly called "Talkback". On my test device (Galaxy S8+) it's called "Voice Assistant". Interestingly,...
dude's user avatar
  • 5,946
3 votes
1 answer
694 views

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 ...
Alan's user avatar
  • 9,419
17 votes
5 answers
38k views

How to change Android talkback instructions for double tap and long press

I have a view that has a long press action handler. I use the content description to set the message Talkback speaks when the view gets focus. Currently it says my content description right after ...
Paul's user avatar
  • 1,875
8 votes
2 answers
5k views

AccessibilityService not returning view ids

I'm writing an acessibility service in Android which relies on getting the view id of the currently selected view, however on some devices (Nexus 6P 6.0.1, Samsung Galaxy S6 edge+ 5 + 6.0.1) I get no ...
Martyn's user avatar
  • 16.6k

15 30 50 per page