[TIMOB-13889] Android: Accessibility: Accessibility for picker control with hidden attribute to be true, device should not read anything out
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-07-21T23:03:45.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | n/a |
Components | Android |
Labels | qe-3.1.1 |
Reporter | Paras Mishra |
Assignee | Eric Merriman |
Created | 2013-05-17T10:25:56.000+0000 |
Updated | 2017-07-21T23:03:45.000+0000 |
Description
Android: Accessibility: Accessibility for picker control with hidden attribute to be true, device should not read anything out.
This is not a regression. Issue occurs since 2.1.4.GA
Steps to reproduce:
1. Run the app.
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var picker1 = Ti.UI.createPicker({
top:10,
left:0
});
var data = [];
data[0]=Ti.UI.createPickerRow({height:150,title:'Bananas', accessibilityLabel:'Eat Bananas', accessibilityValue:'Value1', accessibilityHint:'Double Tap to select Bananas'});
data[1]=Ti.UI.createPickerRow({height:150,title:'Strawberries',accessibilityValue:'Value2', accessibilityLabel:'Eat Straeberry', accessibilityHint:'Double Tap to select Strawberry'});
data[2]=Ti.UI.createPickerRow({height:150,title:'Mangos'});
data[3]=Ti.UI.createPickerRow({height:150,title:'Grapes',accessibilityValue:'Value3', accessibilityLabel:'Eat Grapes', accessibilityHint:'Double Tap to select Grapes', accessibilityHidden:true});
var picker2 = Ti.UI.createPicker({
top:200,
right:0,
accessibilityLabel: "Picker2 label",
accessibilityValue: "Picker2 value",
accessibilityHint: "Picker2 hint",
useSpinner:true
});
var picker3 = Ti.UI.createPicker({
bottom:200,
left:0,
accessibilityHint: "Picker3 hint",
accessibilityLabel: "Picker3 label",
accessibilityValue: "Picker3 value"
});
var picker4 = Ti.UI.createPicker({
bottom:10,
right:20,
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;
win1.add(picker1);
win1.add(picker2);
win1.add(picker3);
win1.add(picker4);
win1.open();
2. touch the fourth picker (with accessibility hidden).
Expected:
On touching the picker the device does not read aloud anything
Actual:
On touching the picker the device read aloud LVH value, happens only for 1st touch.
Closing due to inactivity. If this issue still exists, please raise a new ticket