{ "id": "103213", "key": "TIMOB-11421", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-10-15T07:54:09.000+0000", "created": "2012-10-12T13:53:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "qe-ios100112", "qe-nfc" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21996", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "103303", "key": "TIMOB-11454", "fields": { "summary": "iOS: Accessibility: TabbedBar: Accessibility does not work on Tabbed Bar", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-17T10:53:06.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The accessibility does not work for Button bar. The Label, Value or Hint are not voiced over. Though the Accessibility Hidden works as button bar with AccessibilityHidden as True does not voice over the default text as well.\r\n\r\nSteps To Reproduce:\r\n1. Open the application below with voice over ON\r\n2. Touch the first Button Bar\r\n3. Touch the second Button Bar\r\n\r\nActual:\r\nAfter Step 2: The default text is spoken but not the Label, Value and Hint defined\r\nAfter Step 3: Nothing is spoken, not even the default text\r\nExpected:\r\nAfter Step 2: The Label Value and Hint should be spoken by the device\r\n\r\n{code}\r\n\r\nwin = Ti.UI.createWindow({\r\n\ttitle: \"Events\",\r\n\tlayout: \"vertical\",\r\n\tbackgroundColor: \"#fff\"\r\n});\r\nvar Buttonbar1 = Titanium.UI.createButtonBar({\r\n \t\tlabels:['Red', 'Pink', 'blue'],\r\n \t\tbackgroundColor:'#336699',\r\n \t\t accessibilityLabel: \"ButtonBar1.\",\r\n\t\t\taccessibilityValue: \"Value1.\",\r\n\t\t\taccessibilityHint: \"Hint1.\",\r\n \t\ttop:50,\r\n \t\tstyle:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n \t\t\t height:25,\r\n \t\twidth:200\r\n\t\t\t});\r\n\t\twin.add(Buttonbar1);\r\n\t\t\r\n\t\tvar Buttonbar3 = Ti.UI.createButtonBar({\r\n\t\t\tlabels:['One', 'Two', 'Three'],\r\n\t\t\tbackgroundColor:'#336699',\r\n\t\t accessibilityHidden: true,\r\n\t\t accessibilityLabel: \"ButtonBar3.\",\r\n\t\t\taccessibilityValue: \"Value3.\",\r\n\t\t\taccessibilityHint: \"Hint3.\",\r\n\t\t style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n \t\t\t height:25,\r\n \t\twidth:200,\r\n\t\t top:150,\r\n\t\t});\r\n\t\twin.add(Buttonbar3);\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Accessibility: ButtonBar: Accessibility does not work on Button Bar", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 3.0.0.201210101947\r\nTitanium SDK: 3.0.0.v20121011174610\r\nDevice: iPad3 (6.0)\r\nXCode: 4.5.1", "comment": { "comments": [ { "id": "223459", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Button bar requires accessibility properties to be set per button.\r\nE.g labels:[{title:'Red' accessibilityLabel:\"Red accessibility label\"}, 'Pink', 'blue'],", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-14T06:50:38.000+0000", "updated": "2012-10-14T06:50:38.000+0000" }, { "id": "223515", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Defining accessibility properties per button (as in comment above), the accessibility label is still not spoken for Red button. Below is the code used:\n{code}\nwin = Ti.UI.createWindow({\n title: \"Events\",\n layout: \"vertical\",\n backgroundColor: \"#fff\"\n});\nvar Buttonbar1 = Titanium.UI.createButtonBar({\n labels:[{title:'Red', accessibilityLabel:\"Red accessibility label\"}, 'Pink', 'blue'],\n backgroundColor:'#336699',\n top:50,\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\n height:25,\n width:200\n });\n win.add(Buttonbar1);\n \nwin.open();\n{code}", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T07:24:09.000+0000", "updated": "2012-10-15T07:24:09.000+0000" }, { "id": "223516", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This duplicates TIMOB-11454.\r\nPossible platform issue as the code below work in Simulator with Accessibility Inspector enabled, but does not work on a device.\r\n{code}\r\n- (void)viewDidLoad\r\n{\r\n [super viewDidLoad];\r\n\tNSString *title = @\"First button\";\r\n\ttitle.accessibilityLabel = @\"Accessibility label for First button\";\r\n\tNSString *title2 = @\"2nd button\";\r\n\ttitle2.accessibilityLabel = @\"Accessibility label for 2nd button\";\r\n\tself.segmentedControl = [[UISegmentedControl alloc]\r\n\t\t\t\t\t\t\t\t\t initWithItems:[NSArray arrayWithObjects:title, title2, nil]];\r\n\tself.segmentedControl.frame = CGRectMake(50, 50, 200, 40);\r\n\t[self.view addSubview:self.segmentedControl];\r\n}\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T07:54:09.000+0000", "updated": "2012-10-15T07:54:09.000+0000" }, { "id": "314639", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Closing the issue as the duplicate of TIMOB-11454", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-07-17T10:53:06.000+0000", "updated": "2014-07-17T10:53:06.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }