{ "id": "103319", "key": "TIMOB-11465", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-12-12T01:43:53.000+0000", "created": "2012-10-13T11:55:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "qe-and100112", "qe-nfc" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T18:31:26.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Accessibility does not work for Slider on android HoneyComb.\r\n\r\nSteps To reproduce:\r\n\r\n1. Install and launch the app on device with talk Back enabled.\r\n2. Click on second slider.\r\n\r\nExpected Result:\r\nThe device reads aloud LVH(This is slider2 label , This is slider2 value , This is slider2 hint) followed by 'seek control'.\r\n\r\nActual Result:\r\nThe device does not read aloud anything\r\n\r\napp.js\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle : 'Welcome',\r\n\tbackgroundColor: \"#fff\"\r\n});\r\n\t\r\nvar slider1 = Titanium.UI.createSlider({\r\n\t top: 50,\r\n\t min: 0,\r\n\t max: 100,\r\n\t width: '100%',\r\n\t value: 50\r\n\t });\r\n\t \r\n\t\tvar label1 = Ti.UI.createLabel({\r\n\t\t text: slider1.value,\r\n\t\t width: '100%',\r\n\t\t height: 'auto',\r\n\t\t top: 30,\r\n\t\t left: 0,\r\n\t\t textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER\r\n\t\t });\r\n\t\t\r\n\t\tslider1.addEventListener('change', function(e) {\r\n\t\t label1.text = String.format(\"%3.1f\", e.value);\r\n\t\t});\r\n\t\t\r\n\t\tvar slider2 = Titanium.UI.createSlider({\r\n\t top: 150,\r\n\t min: 0,\r\n\t max: 100,\r\n\t width: '100%',\r\n\t value: 50,\r\n\t accessibilityLabel: \"This is slider2 label\",\r\n\t\taccessibilityValue: 'This is slider2 value',\r\n\t\taccessibilityHint: \"This is slider2 hint\"\r\n\t });\r\n\t \r\n\t\tvar label2 = Ti.UI.createLabel({\r\n\t\t text: slider2.value,\r\n\t\t width: '100%',\r\n\t\t height: 'auto',\r\n\t\t top: 130,\r\n\t\t left: 0,\r\n\t\t textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER\r\n\t\t });\r\n\t\t\r\n\t\tslider2.addEventListener('change', function(e) {\r\n\t\t label2.text = String.format(\"%3.1f\", e.value);\r\n\t\t});\r\n\t\t\r\n\t\tvar slider3 = Titanium.UI.createSlider({\r\n\t bottom: 130,\r\n\t min: 0,\r\n\t max: 100,\r\n\t width: '100%',\r\n\t value: 50,\r\n\t accessibilityHint: \"This is slider3 hint \",\r\n\t accessibilityLabel: \"This is slider3 label\",\r\n\t\taccessibilityValue: 'This is slider3 value',\r\n\t\t});\r\n\t \r\n\t\tvar label3 = Ti.UI.createLabel({\r\n\t\t text: slider3.value,\r\n\t\t width: '100%',\r\n\t\t height: 'auto',\r\n\t\t bottom: 150,\r\n\t\t left: 0,\r\n\t\t textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER\r\n\t\t });\r\n\t\t\r\n\t\tslider3.addEventListener('change', function(e) {\r\n\t\t label3.text = String.format(\"%3.1f\", e.value);\r\n\t\t});\r\n\t\t\r\n\t\tvar slider4 = Titanium.UI.createSlider({\r\n\t bottom: 30,\r\n\t min: 0,\r\n\t max: 100,\r\n\t width: '100%',\r\n\t value: 50,\r\n\t accessibilityLabel: \"This is slider4 label\",\r\n\t\taccessibilityValue: 'This is slider4 value',\r\n\t\taccessibilityHint: \"This is slider4 hint\",\r\n\t\taccessibilityHidden: true\r\n\t });\r\n\t \r\n\t\tvar label4 = Ti.UI.createLabel({\r\n\t\t text: slider4.value,\r\n\t\t width: '100%',\r\n\t\t height: 'auto',\r\n\t\t bottom: 50,\r\n\t\t left: 0,\r\n\t\t textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER\r\n\t\t });\r\n\t\t\r\n\t\tslider4.addEventListener('change', function(e) {\r\n\t\t label4.text = String.format(\"%3.1f\", e.value);\r\n\t\t});\r\n\t\t\r\n\t\t\r\n\t\twin.add(slider1);\r\n\t\twin.add(slider2);\r\n\t\twin.add(slider3);\r\n\t\twin.add(slider4);\r\n\t\twin.add(label1);\r\n\t\twin.add(label2);\r\n\t\twin.add(label3);\r\n\t\twin.add(label4);\r\n\t \r\n\t win.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Accessibility: Slider: Accessibility does not work for Slider on Android HoneyComb", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium Studio: 3.0.0.201210101947\r\nTested with Titanium SDK: 3.0.0.v2012101217449\r\nAndroid Device: Samsung Galaxy Tab(3.2)\r\nOS: Mac OSX 10.8.1", "comment": { "comments": [ { "id": "230996", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is works in Honeycomb, but you need to use the eyes free keyboard to trigger the accessibility descriptions. Normally in Honeycomb, you can't really select the slider, so you need the eyes free keyboard to grab focus of it.\r\n\r\nPlease try the following:\r\n\r\n1. Download and install the eyes free keyboard https://play.google.com/store/apps/details?id=com.googlecode.eyesfree.inputmethod.latin&hl=en\r\n2. Go to Settings > Language and input > current input method, and select the eyes free keyboard\r\n3. Launch the eyes free keyboard, and make sure you have the 'show d-pad keys' option enabled. (You may need to enable this via the app settings of the eyes free keyboard.\r\n4. Launch the app with the code snippet, and navigate through the different sliders with the virtual d pad\r\n\r\nYou should be able to hear the descriptions accordingly.\r\n\r\nI'm going to mark this as invalid for now, but please feel free to reopen if you find any problems.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-12T01:43:53.000+0000", "updated": "2012-12-12T01:43:53.000+0000" }, { "id": "247038", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified With - \r\nSDK - 3.1.0.v20130409124549\r\nAppcelerator Studio - 3.1.0.201304091724\r\nOS - Montain Lion (v10.8.2)\r\nDevice - Samsung Galaxy Tab (v3.2)\r\nFollowed the Allen comment and its working correctly. Hence closing this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T09:40:55.000+0000", "updated": "2013-04-11T09:40:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }