Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15418] iOS7: AccessibilityLabel on button does not show when set as a leftNavButton / rightNavButton

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-09-09T22:26:03.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sRelease 5.1.0
ComponentsiOS
Labelsios7, supportTeam
ReporterRupesh Sharma
AssigneeAngel Petkov
Created2013-10-08T11:17:41.000+0000
Updated2015-11-05T22:24:49.000+0000

Description

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();

Comments

  1. Unknown 2014-04-21

    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.
  2. Ingo Muschenetz 2014-08-14

    3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
  3. Shameer Jan 2014-09-26

    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
  4. Angel Petkov 2015-09-09

    *PR pending*: https://github.com/appcelerator/titanium_mobile/pull/7154
  5. Hans Knöchel 2015-09-09

    *PR approved*. Thank you [~apetkov]!
  6. Eric Wieber 2015-11-05

    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.

JSON Source