Changeset 241983 in webkit
- Timestamp:
- Feb 22, 2019 8:31:33 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r241979 r241983 1 2019-02-22 Eric Liang <ericliang@apple.com> 2 3 AX: Treat AXChildrenInNavigationOrder as AXChildren before adding support for aria-flowto 4 https://bugs.webkit.org/show_bug.cgi?id=194923 5 6 Reviewed by Chris Fleizach. 7 8 Added test to check AXChildrenInNavigationOrder returns non-empty array from AXChildren. 9 * accessibility/mac/children-in-navigation-order-returns-children-expected.txt: Added. 10 * accessibility/mac/children-in-navigation-order-returns-children.html: Added. 11 1 12 2019-02-22 Basuke Suzuki <basuke.suzuki@sony.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r241978 r241983 1 2019-02-22 Eric Liang <ericliang@apple.com> 2 3 AX: Treat AXChildrenInNavigationOrder as AXChildren before adding support for aria-flowto 4 https://bugs.webkit.org/show_bug.cgi?id=194923 5 6 Reviewed by Chris Fleizach. 7 8 Added AXChildrenInNavigationOrder attribute that returns the same array as from AXChildren. It prevents AppKit from reordering elements from the fallback AXChildren attribute. 9 10 Test: accessibility/mac/children-in-navigation-order-returns-children.html 11 12 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 13 (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]): 14 1 15 2019-02-22 Tim Horton <timothy_horton@apple.com> 2 16 -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r241321 r241983 152 152 #ifndef NSAccessibilityBlockQuoteLevelAttribute 153 153 #define NSAccessibilityBlockQuoteLevelAttribute @"AXBlockQuoteLevel" 154 #endif 155 156 #ifndef NSAccessibilityChildrenInNavigationOrderAttribute 157 #define NSAccessibilityChildrenInNavigationOrderAttribute @"AXChildrenInNavigationOrder" 154 158 #endif 155 159 … … 2483 2487 } 2484 2488 2485 if ([attributeName isEqualToString: NSAccessibilityChildrenAttribute] ) {2489 if ([attributeName isEqualToString: NSAccessibilityChildrenAttribute] || [attributeName isEqualToString: NSAccessibilityChildrenInNavigationOrderAttribute]) { 2486 2490 if (!self.childrenVectorSize) { 2487 2491 NSArray* children = [self renderWidgetChildren];
Note: See TracChangeset
for help on using the changeset viewer.