Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11416] iOS: Accessibility: Switch: On touch of switch control the default text of control are mixed with LVH in sequence

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-10-12T17:53:52.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelscore, qe-ios100112, qe-nfc
ReporterSatyam Sekhri
AssigneeMax Stepanov
Created2012-10-12T13:06:56.000+0000
Updated2017-03-22T21:15:11.000+0000

Description

The voice over on Switch control does not speak LVH values together and have default text in between. This works fine on Android. Steps To Reproduce: 1. Open the application below with voice over ON 2. Touch the switch control Actual: On Switch Control the Voice Over read aloud Label -> "Switch Button" -> Value -> Hint -> "Double tap to toggle settings" Expected: The Label Value and Hint should be spoken together.

win = Ti.UI.createWindow({
	title: "Events",
	layout: "vertical",
	backgroundColor: "#fff"
});
var label2=Ti.UI.createLabel({
			text:'Switch ',
			top: 80,
			left:5
		
		});
		var Switch2=Ti.UI.createSwitch({
			value: false,
			accessibilityLabel: "My special switch",
			accessibilityValue: "Off",
			accessibilityHint: "Double tap to turn on",
			top: 80,
			left:100
		
		});
		
		win.add(label2);
		win.add(Switch2);
		
win.open();

Comments

  1. Max Stepanov 2012-10-12

    This is iOS expected behavior. Note, accessibility hint is supposed to tell users about the result of the performed action. Here is the description from Apple docs {quote} The hint is a brief, localized description of the result of performing an action on the element without identifying the element or the action. For example, the hint for a table row that contains an email message might be “Selects the message,” but not “Tap this row to select the message.” {quote}
  2. Lee Morris 2017-03-22

    Closing ticket as invalid with reference to the above comments.

JSON Source