Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12708] iOS: Accessibility - Voice Over speaks items on the screen with accessibility hidden

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.0.2
Fix Version/sn/a
Componentsn/a
Labelsqe-sdk3.0.2
ReporterOlga Romero
AssigneeUnknown
Created2013-02-12T19:16:48.000+0000
Updated2018-02-28T20:04:26.000+0000

Description

Hidden accessibility still allows VoiceOver to speak items on the screen. Not regression, occurs on 3.0.0.GA Steps to reproduce: 1. Turn on VoiceOver on your device 2. Install and launch the app on device. 3. Touch the button. Actual result: VoiceOver speaks items on the screen Expected result: VoiceOver shouldn't speak items out loud app.js
var win = Ti.UI.createWindow({
	title : 'Welcome',
    backgroundColor: "#fff"
});

var button4 = Ti.UI.createButton({
			title: 'Option_Dialog_with_LVH_hidden',
			bottom: 20,
		});		
		
		var opts = {
		  cancel: 2,
		  options: ['Confirm', 'Help', 'Cancel'],
		  selectedIndex: 2,
		  destructive: 0,
		  title: 'Delete File?',
		};
		
		button4.addEventListener('click', function(e){
		  var dialog = Ti.UI.createOptionDialog(opts);
		  dialog.accessibilityLabel = "Option dialog4 label";
		  dialog.accessibilityValue = "Option dialog4 value";
		  dialog.accessibilityHint = "Option dialog4 hint";
		  dialog.accessibilityHidden = true ;
		  dialog.show();
		});
	
		win.add(button4);
		win.open();
	

Comments

No comments

JSON Source