Capture accessibility hierarchy and package it for the sonar plugin
Summary: In this diff we load and call a private API enabling voiceover hierarchy and pass it over via existing channel when client is in the accessibility mode Reviewed By: lblasa Differential Revision: D49393813 fbshipit-source-id: 437af1131547218cd52f4a56797707411787d7cf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3f0e1f76d5
commit
550b49e690
@@ -17,11 +17,11 @@ FB_LINKABLE(UIDNode_Foundation)
|
||||
- (id)toFoundation {
|
||||
NSMutableDictionary* data = [NSMutableDictionary dictionaryWithDictionary:@{
|
||||
@"id" : [NSNumber numberWithUnsignedInt:self.identifier],
|
||||
@"qualifiedName" : self.qualifiedName,
|
||||
@"qualifiedName" : self.qualifiedName ?: @"",
|
||||
@"name" : self.name,
|
||||
@"bounds" : [self.bounds toFoundation],
|
||||
@"tags" : self.tags.allObjects,
|
||||
@"inlineAttributes" : self.inlineAttributes,
|
||||
@"tags" : self.tags ? self.tags.allObjects : @[],
|
||||
@"inlineAttributes" : self.inlineAttributes ?: @{},
|
||||
@"children" : self.children,
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user