Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11460] Android: Accessibility: Accessibility does not work for Picker on Android ICS or lower.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-04-22T20:52:29.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2012 Sprint 25, 2012 Sprint 25 Core, 2013 Sprint 07 Core
ComponentsAndroid
Labelscore, qe-and100112, qe-nfc
ReporterNeha Chhabra
AssigneeAllen Yeung
Created2012-10-13T10:32:58.000+0000
Updated2014-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

FileDateSize
2dot2.mp42012-10-15T21:37:05.000+00006946432
3dot1.mp42012-10-15T21:37:05.000+00006014512

Comments

  1. Bill Dawson 2012-10-15

    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.
  2. Satyam Sekhri 2012-10-18

    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.
  3. Bill Dawson 2012-10-18

    @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.
  4. Bill Dawson 2012-10-19

    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.
  5. Satyam Sekhri 2012-11-07

    The issue does not exist after installing the latest Talk Back from Google Play Store.
  6. Allen Yeung 2012-12-03

    Works after installing latest version of talkback
  7. Paras Mishra 2013-03-28

    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"
  8. Allen Yeung 2013-04-01

    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.
  9. Allen Yeung 2013-04-22

    reopening to change fixed state

JSON Source