[TIMOB-11411] Android: Accessibility - Accessibility does not work for option dialog control
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2014-08-15T00:15:36.000+0000 | 
| Affected Version/s | Release 3.0.0 | 
| Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21 | 
| Components | Android | 
| Labels | module_accessibility, qe-and100112, qe-manualtest, qe-nfc | 
| Reporter | Neha Chhabra | 
| Assignee | Bill Dawson | 
| Created | 2012-10-12T11:18:55.000+0000 | 
| Updated | 2014-08-15T00:15:36.000+0000 | 
Description
	Accessibility does not work for option dialog control
Steps To Reproduce:
1. Install and launch the app on device.
2. Double Click the Button.
Expected Result:
It should read aloud the LVH values.
Actual Result:
It does not read aloud the LVH values
app.js
var win = Ti.UI.createWindow({
	title : 'Welcome',
	backgroundColor: "#fff"
});
var button2 = Ti.UI.createButton({
			title: 'Option_Dialog_with_LVH',
			top: 150,
		});	
			
var opts = {
		  cancel: 2,
		  options: ['Confirm', 'Help', 'Cancel'],
		  selectedIndex: 2,
		  destructive: 0,
		  title: 'Delete File?',
		};
button2.addEventListener('click', function(e){
		  var dialog = Ti.UI.createOptionDialog(opts);
		  dialog.accessibilityLabel = "Option dialog2 label";
		  dialog.accessibilityValue = "Option dialog2 value";
		  dialog.accessibilityHint = "Option dialog2 hint";
		  dialog.show();
		});
		
win.add(button2);
win.open();
Bill suggests this can be deferred.
Master pull request ready: https://github.com/appcelerator/titanium_mobile/pull/3287
3_0_X pull request ready: https://github.com/appcelerator/titanium_mobile/pull/3288
Accessibility works for Option Dialog control. Verified on: Titanium Studio: 3.0.0.201210301422 Titanium SDK:3.0.0.v20121105141612, 3.1.0.v20121106112514 Android Device: Samsung Galaxy Tab (v3.2), Samsung Galaxy Nexus (v4.0.4), Nexus 7 (v4.1)