[TIMOB-11453] iOS: Accessibility: SearchBar: Accessibility does not work for SearchBar on iOS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-10-14T00:26:16.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21 |
Components | iOS |
Labels | accessibility_module, qe-ios100112, qe-nfc, qe-testadded |
Reporter | Satyam Sekhri |
Assignee | Max Stepanov |
Created | 2012-10-13T06:36:51.000+0000 |
Updated | 2014-06-19T12:43:47.000+0000 |
Description
The accessibility does not work for SearchBar. The Label, Value or Hint are not voiced over.
This works fine on Android
Steps To Reproduce:
1. Open the application below with voice over ON
2. Touch the SearchBar
Actual:
After Step 2: The default text is spoken but not the Label, Value and Hint defined
Expected:
After Step 2: The Label Value and Hint should be spoken by the device
var win = Ti.UI.createWindow({
title : 'Welcome',
backgroundColor: "#fff"
});
var search2 = Titanium.UI.createSearchBar({
barColor:'#000',
showCancel:true,
height:43,
top:100,
accessibilityLabel: "Search bar2 label.",
accessibilityValue: "Search bar2 value.",
accessibilityHint: "Search bar2 hint"
});
win.add(search2);
win.open();
Has been fixed by PR https://github.com/appcelerator/titanium_mobile/pull/3212 Worth to mention that overriding accessibility properties for search bar is not common.
Updated label and verified with: Titanium Studio:3.1.2.201307091843 Titanium SDK: 3.1.2.v20130710144553 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:iPhone4 (v 5.1) Xcode: 4.5.1 Accessibility on search bar working for iOS