[TIMOB-11460] Android: Accessibility: Accessibility does not work for Picker on Android ICS or lower.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-04-22T20:52:29.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2012 Sprint 25, 2012 Sprint 25 Core, 2013 Sprint 07 Core |
Components | Android |
Labels | core, qe-and100112, qe-nfc |
Reporter | Neha Chhabra |
Assignee | Allen Yeung |
Created | 2012-10-13T10:32:58.000+0000 |
Updated | 2014-07-17T10:09:42.000+0000 |
Description
Accessibility does not work for Picker on Android ICS or lower.
Steps To reproduce:
1. Install and launch the app on device.
2. Click on Second picker.
Expected Result:
The device should read aloud the LVH - (Picker2 label , Picker2 value , Picker2 hint)
Actual Result:
The device does not read aloud the LVH - (Picker2 label , Picker2 value , Picker2 hint)
app.js
var win = Ti.UI.createWindow({
title : 'Welcome',
backgroundColor: "#fff"
});
var picker1 = Ti.UI.createPicker({
top:50
});
var data = [];
data[0]=Ti.UI.createPickerRow({title:'Bananas'});
data[1]=Ti.UI.createPickerRow({title:'Strawberries'});
data[2]=Ti.UI.createPickerRow({title:'Mangos'});
data[3]=Ti.UI.createPickerRow({title:'Grapes'});
var picker2 = Ti.UI.createPicker({
top:150,
accessibilityLabel: "Picker2 label",
accessibilityValue: "Picker2 value",
accessibilityHint: "Picker2 hint"
});
var picker3 = Ti.UI.createPicker({
bottom:150,
accessibilityHint: "Picker3 hint",
accessibilityLabel: "Picker3 label",
accessibilityValue: "Picker3 value"
});
var picker4 = Ti.UI.createPicker({
bottom:50,
accessibilityHint: "Picker4 hint",
accessibilityLabel: "Picker4 label",
accessibilityValue: "Picker4 value",
accessibilityHidden: true
});
picker1.add(data);
picker1.selectionIndicator = true;
picker2.add(data);
picker2.selectionIndicator = true;
picker3.add(data);
picker3.selectionIndicator = true;
picker4.add(data);
picker4.selectionIndicator = true;
win.add(picker1);
win.add(picker2);
win.add(picker3);
win.add(picker4);
win.open();
win.open();
Attachments
File | Date | Size |
---|---|---|
2dot2.mp4 | 2012-10-15T21:37:05.000+0000 | 6946432 |
3dot1.mp4 | 2012-10-15T21:37:05.000+0000 | 6014512 |
Works fine for me on 3.1 (LG Slate) and 2.2 (Desire). Video attached. Would be weird if it worked on 3.2 and 4.1 but not 4.0. I don't have ICS so I can't test. note that on 3.X and lower, you'll need a device that has D-PAD keys (or equivalent), or the "Eyes Free Keyboard" to test this stuff (you have to have some way to bring focus to the controls since these Android versions don't have explore-by-touch.): https://play.google.com/store/apps/details?id=com.googlecode.eyesfree.inputmethod.latin&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5nb29nbGVjb2RlLmV5ZXNmcmVlLmlucHV0bWV0aG9kLmxhdGluIl0.
Works fine on Android 3.2 (Samsung Galaxy Tab) with Eyes Free Keyboard. However, on ICS device with Talk back and Explore By Touch ON, the accessibility does not work for picker.
@Ingo: I guess someone in the office with access to an ICS device and a Galaxy Tab running 3.2 will need to confirm and work on this.
Allen Yeung also tried with ICS and it didn't work. But after installing Google's latest TalkBack from the Google Play Store, it does work. Can you try that Satyam? Thank you.
The issue does not exist after installing the latest Talk Back from Google Play Store.
Works after installing latest version of talkback
Accessibility does not work for Picker Tested on: Android Version : 4.0.4 SDK: 3.1.0.v20130327135307 CLI version : 3.0.25-alpha OS : MAC OSX 10.8.2 Steps to reproduce: 1. Run Acceptance Access_1106 on Accessibility module. 2. Touch the second picker (with LVH defined in sequence) Expected: The device reads aloud the LVH - (Picker2 label , Picker2 value , Picker2 hint) Actual: Device Just Read "alert Accessibility_module"
This works fine on a 4.X device and a 2.3 device. For a 2.3 device, you need to install and use the eyes free keyboard app. Make sure you also have the latest version of talkback installed.
reopening to change fixed state