Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13889] Android: Accessibility: Accessibility for picker control with hidden attribute to be true, device should not read anything out

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-07-21T23:03:45.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.1.1
ReporterParas Mishra
AssigneeEric Merriman
Created2013-05-17T10:25:56.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-07-21

    Closing due to inactivity. If this issue still exists, please raise a new ticket

JSON Source