Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11411] Android: Accessibility - Accessibility does not work for option dialog control

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-08-15T00:15:36.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21
ComponentsAndroid
Labelsmodule_accessibility, qe-and100112, qe-manualtest, qe-nfc
ReporterNeha Chhabra
AssigneeBill Dawson
Created2012-10-12T11:18:55.000+0000
Updated2014-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();

Comments

  1. Ingo Muschenetz 2012-10-12

    Bill suggests this can be deferred.
  2. Bill Dawson 2012-10-18

    Master pull request ready: https://github.com/appcelerator/titanium_mobile/pull/3287
  3. Bill Dawson 2012-10-18

    3_0_X pull request ready: https://github.com/appcelerator/titanium_mobile/pull/3288
  4. Satyam Sekhri 2012-11-07

    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)

JSON Source