Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15418

iOS7: AccessibilityLabel on button does not show when set as a leftNavButton / rightNavButton

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.3
    • Fix Version/s: Release 5.1.0
    • Component/s: iOS
    • Labels:
    • Environment:

      iOS 7
      iPhone 4s

    • Sprint:
      2015 Sprint 19 SDK

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apetkov Angel Petkov
                Reporter:
                rsharma Rupesh Sharma
                Reviewer:
                Hans Knöchel
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17598
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration