{ "id": "105916", "key": "TIMOB-11945", "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-04T19:09:14.000+0000", "created": "2012-12-04T11:54:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T16:40:35.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": "Ti.App.accessibilityEnabled property is not working properly.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. Launch the app with the voiceover on.The message displayed is correct ie. accessibility is enabled. \r\n2. Background the app and switch voiceover off. Launch the application. The message displayed is correct ie. accessibility is disabled.\r\n3. Background the app and switch the voice over on and then launch the app.\r\n\r\nActual:\r\nThe message displayed is: \"Accessibility is disabled\"\r\n\r\nExpected:\r\nThe message displayed should be: \"Accessibility is enabled\"\r\n\r\n{code}\r\nwinEvents = Ti.UI.createWindow({\r\n\ttitle: \"Events\",\r\n\tlayout: \"vertical\",\r\n\tbackgroundColor: \"#fff\"\r\n});\r\n\r\neventLog = Ti.UI.createLabel({\r\n\ttop: 16, left: 32, right: 32,\r\n\t//height: 48 * 5,\r\n\tverticalAlign: Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP,\r\n\taccessibilityHidden: true,\r\n\taccessibilityLabel: \"My special label.\",\r\n accessibilityValue: \"No value.\",\r\n accessibilityHint: \"No action\",\r\n});\r\n\t\t\t\t\t \r\n\r\n\r\n//Ti.App.addEventListener(Ti.App.EVENT_ACCESSIBILITY_CHANGED, function(e) {\r\n\t//eventLog.text += \"\\nAccessibility state changed: \" + (e.enabled ? \"it is now enabled.\" : \"it is now disabled.\");\r\n//});\r\n\r\neventLog.text = \"This label has the accessibilityHidden property set to true. \";\r\n\r\neventLog.text += \"\\n\\n\";\r\neventLog.text += (Ti.App.accessibilityEnabled ? \"Accessibility is enabled.\" : \"Accessibility is disabled.\");\r\n\r\n\r\nwinEvents.add(eventLog);\r\nwinEvents.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Accessibility - Ti.App.accessibilityEnabled property is not working properly.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.0.v20121130200208\r\nStudio: 3.0.0.201211301903\r\nDevice: iPhone4s(v 5.1)\r\nOS: OSX 10.8", "comment": { "comments": [ { "id": "229889", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Turning off VoiceOver restarts the app.\r\nTurning on VoiceOver might keep app running.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T19:09:14.000+0000", "updated": "2012-12-04T19:09:14.000+0000" }, { "id": "416181", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T16:40:35.000+0000", "updated": "2017-03-29T16:40:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }