{ "id": "171217", "key": "AC-5633", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-03-10T21:04:50.000+0000", "created": "2018-02-28T16:21:00.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-10T21:27:03.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I’m using a ListView with accessibility enabled. After some operations, I can hear VoiceOver read text for labels, and “One of the following images: checkmark, child, or disclosure”. I'm not using accessory type neither default ListItem template.\r\n\r\nAfter searching found it's fixed/harcoded here https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/ui/res/layout/titanium_ui_list_item.xml and can't be removed/edited.", "attachment": [], "flagged": false, "summary": "Android Accessibility issue with ListItems", "creator": { "name": "yankovalera@gmail.com", "key": "yankovalera@gmail.com", "displayName": "Yanko Valera", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "yankovalera@gmail.com", "key": "yankovalera@gmail.com", "displayName": "Yanko Valera", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 7.0.2, Nexus 5x Running Android 8.1.0", "comment": { "comments": [ { "id": "435029", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a sample test code that reproduces the issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-02-28T21:45:45.000+0000", "updated": "2018-02-28T21:45:45.000+0000" }, { "id": "435031", "author": { "name": "yankovalera@gmail.com", "key": "yankovalera@gmail.com", "displayName": "Yanko Valera", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi I might need some time to create a test case but see the source code has the answer to the issue, just see the android:contentDescription=\"One of the following images: checkmark, child, or disclosure\"\r\n\r\nIt should be removed or at least somehow to be removed from our end.", "updateAuthor": { "name": "yankovalera@gmail.com", "key": "yankovalera@gmail.com", "displayName": "Yanko Valera", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-28T21:47:35.000+0000", "updated": "2018-02-28T21:48:15.000+0000" }, { "id": "435225", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~yankovalera@gmail.com] Thanks for your feedback. Did you manage to create a sample test case so that we can reproduce the issue on our end?", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-03-06T04:57:23.000+0000", "updated": "2018-03-06T04:57:23.000+0000" }, { "id": "435452", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Run the code and switch on TalkBack in the Accessibility options.\r\n\r\nIf you click on the {{accessoryType}} icons you can hear the text.\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nvar listView = Ti.UI.createListView();\r\nvar sections = [];\r\n\r\nvar fruitSection = Ti.UI.createListSection({\r\n\theaderTitle: 'Fruits'\r\n});\r\nvar fruitDataSet = [{\r\n\t\tproperties: {\r\n\t\t\ttitle: 'Apple',\r\n\r\n\t\t\tcolor: \"#000\",\r\n\t\t\taccessoryType: Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tproperties: {\r\n\t\t\ttitle: 'Banana',\r\n\t\t\tcolor: \"#000\",\r\n\t\t\taccessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DETAIL\r\n\t\t}\r\n\t},\r\n];\r\nfruitSection.setItems(fruitDataSet);\r\nsections.push(fruitSection);\r\n\r\nvar vegSection = Ti.UI.createListSection({\r\n\theaderTitle: 'Vegetables'\r\n});\r\nvar vegDataSet = [{\r\n\t\tproperties: {\r\n\t\t\ttitle: 'Carrots',\r\n\t\t\tcolor: \"#000\",\r\n\t\t\taccessoryType: Ti.UI.LIST_ACCESSORY_TYPE_NONE\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tproperties: {\r\n\t\t\ttitle: 'Potatoes',\r\n\t\t\tcolor: \"#000\",\r\n\t\t\taccessoryType: Ti.UI.LIST_ACCESSORY_TYPE_NONE\r\n\t\t}\r\n\t},\r\n];\r\nvegSection.setItems(vegDataSet);\r\nsections.push(vegSection);\r\n\r\nlistView.sections = sections;\r\nwin.add(listView);\r\nwin.open();\r\n\r\nvar fishSection = Ti.UI.createListSection({\r\n\theaderTitle: 'Fish'\r\n});\r\nvar fishDataSet = [{\r\n\t\tproperties: {\r\n\t\t\ttitle: 'Cod',\r\n\t\t\tcolor: \"#000\"\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tproperties: {\r\n\t\t\ttitle: 'Haddock',\r\n\t\t\tcolor: \"#000\"\r\n\t\t}\r\n\t},\r\n];\r\nfishSection.setItems(fishDataSet);\r\nlistView.appendSection(fishSection);\r\n{code}\r\n\r\nI don't get the contentDescription on the type \"none\" elements or when I don't set it at all.\r\n", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-10T21:27:03.000+0000", "updated": "2018-03-10T21:27:03.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }