Description
I am using accessibilityLabel with a button that I then put as a
leftNavButton
or
rightNavButton
on a window. The problem is that I cannot get the
accessibilityLabel
to show (using VoiceOver on the device or the accessibility inspector in the simulator). If I do not set the button as the
leftNavButton
or
rightNavButton
it works.
Test Code
var win = Ti.UI.createWindow({
backgroundColor:'#ffffff',
title: 'Products'
});
var button = Ti.UI.createButton({
accessibilityLabel: 'Send screen to Airplay',
title: 'CLICK'
});
win.setRightNavButton(button);
var nav = Ti.UI.iOS.createNavigationWindow({
window: win
});
nav.open();
This issue was previously scheduled to be worked on in more than one sprint: * 'Release 3.1.2' (on board '3.1.X Triage') * 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage') * 'Release 3.3.0' (on board '3.2.X Triage') Starting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration This issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage'). If this is incorrect, please update the issue accordingly. This comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.
3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
Issue reproduces with TiSDK 3.1.3 and 3.4.0 Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.4.0.GA iOS SDK: 7.0 iOS iPhone Simulator: 7.0
*PR pending*: https://github.com/appcelerator/titanium_mobile/pull/7154
*PR approved*. Thank you [~apetkov]!
Verified fixed, using: MacOS 10.11.2 (15C31f) Studio 4.4.0.201511040454 Ti SDK 5.1.0.v20151104190037 Appc NPM 4.2.1 Appc CLI 5.1.0-42 Ti CLI 5.0.5 Alloy 1.7.23 Arrow 1.3.18 Xcode 7.2 (7C46t) Node v0.12.7 Java 1.7.0_80 production Accessibility labels in nav buttons are read when using voice-over and display in the Accessibility Inspector.