AX: AOM accessibleclick does not work on iOS
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2019 19:51:07 +0000 (19:51 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Mar 2019 19:51:07 +0000 (19:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195423
<rdar://problem/48682110>

Reviewed by Joanmarie Diggs.

Return this value of this method so it can be surfaced to a higher level.

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper _accessibilityActivate]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242651 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm

index c0dd644..cd5837d 100644 (file)
@@ -1,3 +1,16 @@
+2019-03-08  Chris Fleizach  <cfleizach@apple.com>
+
+        AX: AOM accessibleclick does not work on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=195423
+        <rdar://problem/48682110>
+
+        Reviewed by Joanmarie Diggs.
+
+        Return this value of this method so it can be surfaced to a higher level.
+
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+        (-[WebAccessibilityObjectWrapper _accessibilityActivate]):
+
 2019-03-08  Chris Dumez  <cdumez@apple.com>
 
         imported/w3c/web-platform-tests/FileAPI/reading-data-section/filereader_error.html is a flaky crash
index 12031cd..8ecfc8c 100644 (file)
@@ -1827,12 +1827,12 @@ static void appendStringToResult(NSMutableString *result, NSString *string)
     return nil;
 }
 
-- (void)_accessibilityActivate
+- (BOOL)_accessibilityActivate
 {
     if (![self _prepareAccessibilityCall])
-        return;
+        return NO;
 
-    m_object->press();
+    return m_object->press();
 }
 
 - (id)attachmentView