{ "id": "103303", "key": "TIMOB-11454", "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": [ { "id": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14699", "description": "2012 Sprint 25 Core", "name": "2012 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-01-11T10:00:09.000+0000", "created": "2012-10-13T06:47:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "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" }, "inwardIssue": { "id": "103213", "key": "TIMOB-11421", "fields": { "summary": "iOS: Accessibility: ButtonBar: Accessibility does not work on Button 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": "2013-03-13T19:09:46.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 Tabbed bar. The Label, Value or Hint are not voiced over. Though the Accessibility Hidden works as Tabbed 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 Tabbed Bar\r\n3. Touch the second Tabbed 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\nvar win = Ti.UI.createWindow({\r\n title : 'Welcome',\r\n backgroundColor: \"#fff\"\r\n});\r\n\tvar label2=Ti.UI.createLabel({\r\n\t\t\ttext:'Tabbed bar with Accessibility properties',\r\n\t\t\ttop: 70\r\n\t\t});\r\n\t\tvar tb2=Ti.UI.iOS.createTabbedBar({\r\n\t\t\tlabels:['Four', 'Five', 'Six'],\r\n\t\t\tbackgroundColor:'#336699',\r\n\t\t\ttop:100,\r\n\t\t\tstyle:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n\t\t\theight:25,\r\n\t\t\twidth:200,\r\n\t\t\tindex:1,\r\n\t\t\taccessibilityLabel:'Tabbed Bar one',\r\n\t\t\taccessibilityValue:'Value',\r\n\t\t\taccessibilityHint:'Tabbed Bar has three tabs'\r\n\t\t});\r\n\t\tvar label4=Ti.UI.createLabel({\r\n\t\t\ttext:'Tabbed bar with Accessibility Hidden',\r\n\t\t\ttop: 230\r\n\t\t\r\n\t\t});\r\n\t\tvar tb4=Ti.UI.iOS.createTabbedBar({\r\n\t\t\tlabels:['Seven', 'Eight'],\r\n\t\t\tbackgroundColor:'#336699',\r\n\t\t\ttop:260,\r\n\t\t\tstyle:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n\t\t\theight:25,\r\n\t\t\twidth:200,\r\n\t\t\tindex:1,\r\n\t\t\taccessibilityLabel:'Tabbed Bar three',\r\n\t\t\taccessibilityValue:'Value for 3',\r\n\t\t\taccessibilityHint:'Tabbed Bar has two tabs',\r\n\t\t\taccessibilityHidden:true\r\n\t\t});\r\n\t\t\r\n win.add(label2);\r\n win.add(tb2);\r\n win.add(label4);\r\n win.add(tb4);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Accessibility: TabbedBar: Accessibility does not work on Tabbed 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.v20121012174449\r\nDevice: iPad3 (6.0)\r\nXCode: 4.5.1", "comment": { "comments": [ { "id": "223448", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Correct test case\n{code}\nvar win = Ti.UI.createWindow({\n title : 'Welcome',\n backgroundColor: \"#fff\"\n});\n var label2=Ti.UI.createLabel({\n text:'Tabbed bar with Accessibility properties',\n top: 70\n });\n var tb2=Ti.UI.iOS.createTabbedBar({\n labels:[{title:'Four', accessibilityLabel:'Four accessibility label'}, 'Five', 'Six'],\n backgroundColor:'#336699',\n top:100,\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\n height:25,\n width:200,\n index:1,\n });\n var label4=Ti.UI.createLabel({\n text:'Tabbed bar with Accessibility Hidden',\n top: 230\n \n });\n var tb4=Ti.UI.iOS.createTabbedBar({\n labels:[{title:'Seven', accessibilityLabel:'Seven accessibility label'}, 'Eight'],\n backgroundColor:'#336699',\n top:260,\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\n height:25,\n width:200,\n index:1,\n accessibilityHidden:true\n });\n \n win.add(label2);\n win.add(tb2);\n win.add(label4);\n win.add(tb4);\nwin.open();\n{code}\n\nPossible iOS platform bug. accessibilityLabels set this way (as suggested by WWDC 2012 Accessibility session) work in Simulator with Accessibility Inspector enabled.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-14T02:01:00.000+0000", "updated": "2012-10-14T02:01:00.000+0000" }, { "id": "231181", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Accessibility features provided for TabbedBar buttons, not TabbedBar itself.\r\nPlease see documentation for BarItemType\r\n\r\n{code}\r\nlabels:[{title:'Four', accessibilityLabel:\"Accessible label 4\"}, 'Five', 'Six'],\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-13T08:06:48.000+0000", "updated": "2012-12-13T08:06:48.000+0000" }, { "id": "233932", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Defining accessibility properties per TabbedBar button (as in comment above), the accessibility label is still not spoken for 'Four' button. However accessibilityHidden works when defined on TabbedBar.\nVerified On:\nSDK: 3.0.0 GA, 3.1.0.v20130105233407\niOS Device: iPad3 (v6.0)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-11T03:05:16.000+0000", "updated": "2013-01-11T03:05:16.000+0000" }, { "id": "233952", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please test with buttons that are images w/o titles.\r\nNote the other comment about iOS device-only bug with accessibilityLabels on titles tabbed buttons.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-11T10:00:09.000+0000", "updated": "2013-01-11T10:00:09.000+0000" }, { "id": "234522", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Accessibility Label is voiced over for tabbed bar buttons. On iOS6 only the Accessibility Label is voiced over only for button with images without title.\r\nVerified on:\r\nStudio: 3.0.1.201212181159\r\nSDK: 3.0.0.GA, 3.1.0.v20130105233407\r\niOS Device: iPad2 (v5.1), iPad3 (v6.0)\r\nXCode: 4.5.2\r\n\r\nFollowing code was used to verify:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title : 'Welcome',\r\n backgroundColor: \"#fff\"\r\n});\r\n var label2=Ti.UI.createLabel({\r\n text:'Tabbed bar with Accessibility properties',\r\n top: 70\r\n });\r\n var tb2=Ti.UI.iOS.createTabbedBar({\r\n labels:['Four', {title:'Five', accessibilityLabel:'Button Five here', accessibilityHint:'This is hint'}, {title:'Six', accessibilityLabel:'Sixth button'}],\r\n backgroundColor:'#336699',\r\n top:100,\r\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n height:25,\r\n width:200,\r\n index:1,\r\n });\r\n var label4=Ti.UI.createLabel({\r\n text:'Tabbed bar with Image',\r\n top: 230\r\n \r\n });\r\n var buttonObjects = [\r\n\t\t\t\t{title:'Left Tab', width:110, enabled:false},\r\n\t\t\t\t{image:'/images/slider_thumb.png', width:50, accessibilityValue:'Value for second bar', accessibilityHint:'Tabbed Bar has one image tab', accessibilityLabel:'Tabbed Bar with Image'},\r\n\t\t\t\t{title:'Right Tab', width:140}\r\n\t\t\t];\r\n var tb4=Ti.UI.iOS.createTabbedBar({\r\n labels:buttonObjects,\r\n backgroundColor:'#336699',\r\n top:260,\r\n style:Titanium.UI.iPhone.SystemButtonStyle.BAR,\r\n height:25,\r\n width:200,\r\n index:1,\r\n //accessibilityHidden:true\r\n });\r\n \r\n win.add(label2);\r\n win.add(tb2);\r\n win.add(label4);\r\n win.add(tb4);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-15T23:30:39.000+0000", "updated": "2013-01-15T23:30:39.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }