Title: [185534] trunk/Source/WebCore
Revision
185534
Author
[email protected]
Date
2015-06-12 23:31:31 -0700 (Fri, 12 Jun 2015)

Log Message

AX: iOS: after updating control, VoiceOver speaks aria-expanded states reversed (says "collapsed" when "expanded")
https://bugs.webkit.org/show_bug.cgi?id=145943

Reviewed by Darin Adler.

iOS Accessibility platform needs to be notified of when aria expanded changes.

* accessibility/ios/AXObjectCacheIOS.mm:
(WebCore::AXObjectCache::postPlatformNotification):
* accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper postValueChangedNotification]):
(-[WebAccessibilityObjectWrapper postExpandedChangedNotification]):
(-[WebAccessibilityObjectWrapper postScrollStatusChangeNotification]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185533 => 185534)


--- trunk/Source/WebCore/ChangeLog	2015-06-13 06:04:25 UTC (rev 185533)
+++ trunk/Source/WebCore/ChangeLog	2015-06-13 06:31:31 UTC (rev 185534)
@@ -1,5 +1,22 @@
 2015-06-12  Chris Fleizach  <[email protected]>
 
+        AX: iOS: after updating control, VoiceOver speaks aria-expanded states reversed (says "collapsed" when "expanded")
+        https://bugs.webkit.org/show_bug.cgi?id=145943
+
+        Reviewed by Darin Adler.
+
+        iOS Accessibility platform needs to be notified of when aria expanded changes.
+
+        * accessibility/ios/AXObjectCacheIOS.mm:
+        (WebCore::AXObjectCache::postPlatformNotification):
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+        (-[WebAccessibilityObjectWrapper postValueChangedNotification]):
+        (-[WebAccessibilityObjectWrapper postExpandedChangedNotification]):
+        (-[WebAccessibilityObjectWrapper postScrollStatusChangeNotification]):
+
+2015-06-12  Chris Fleizach  <[email protected]>
+
         AX:ARIA Toggle buttons aren't properly conveyed on iOS using VoiceOver
         https://bugs.webkit.org/show_bug.cgi?id=145949
 

Modified: trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm (185533 => 185534)


--- trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm	2015-06-13 06:04:25 UTC (rev 185533)
+++ trunk/Source/WebCore/accessibility/ios/AXObjectCacheIOS.mm	2015-06-13 06:31:31 UTC (rev 185534)
@@ -85,6 +85,9 @@
         case AXValueChanged:
             [obj->wrapper() postValueChangedNotification];
             break;
+        case AXExpandedChanged:
+            [obj->wrapper() postExpandedChangedNotification];
+            break;
         case AXSelectedChildrenChanged:
         case AXCheckedStateChanged:
         default:

Modified: trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.h (185533 => 185534)


--- trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.h	2015-06-13 06:04:25 UTC (rev 185533)
+++ trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.h	2015-06-13 06:31:31 UTC (rev 185534)
@@ -63,6 +63,7 @@
 - (void)postLiveRegionCreatedNotification;
 - (void)postScrollStatusChangeNotification;
 - (void)postValueChangedNotification;
+- (void)postExpandedChangedNotification;
 
 @end
 

Modified: trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm (185533 => 185534)


--- trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm	2015-06-13 06:04:25 UTC (rev 185533)
+++ trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm	2015-06-13 06:31:31 UTC (rev 185534)
@@ -1515,6 +1515,11 @@
     // The UIKit accessibility wrapper will override and post appropriate notification.
 }
 
+- (void)postExpandedChangedNotification
+{
+    // The UIKit accessibility wrapper will override and post appropriate notification.
+}
+
 - (void)postScrollStatusChangeNotification
 {
     // The UIKit accessibility wrapper will override and post appropriate notification.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to