[AC-3258] Allow to force the accessibility system to focus a view
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-09-29T05:00:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | accessibility, accessibility_module |
Reporter | Manojkumar Murugesan |
Assignee | Shak Hossain |
Created | 2015-03-12T11:08:59.000+0000 |
Updated | 2016-03-08T07:57:40.000+0000 |
It may be a simple fix, but not sure.
Adding this to AppModule.m at line no. 492 worked for me.
Hello, [Titanium.App.iOS.EVENT_ACCESSIBILITY_SCREEN_CHANGED](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.App-property-EVENT_ACCESSIBILITY_CHANGED), can be used to alert the accessibility system when a new view appears that comprises a major portion of the screen. When your application fires this event, Titanium calls UIAccessibilityScreenChangedNotification in the iOS UIAccessibility Protocol. No second parameter is required when firing this event with fireSystemEvent. Thanks.
Hi [~pchowdhury], You are right but only when we want the accessibility system to focus something during *Titanium.App.iOS.EVENT_ACCESSIBILITY_SCREEN_CHANGED* event but *this fix is essential when we want to force the accessibility system to focus some component even if there is no major change on screen.* for i.e Upon turning on / off a switch focus some label / clicking a button which makes minor changes on UI should read it. When this is possible with native apps, it does make sense here?