[TIMOB-11416] iOS: Accessibility: Switch: On touch of switch control the default text of control are mixed with LVH in sequence
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-10-12T17:53:52.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | core, qe-ios100112, qe-nfc |
Reporter | Satyam Sekhri |
Assignee | Max Stepanov |
Created | 2012-10-12T13:06:56.000+0000 |
Updated | 2017-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();
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}
Closing ticket as invalid with reference to the above comments.