Changeset 204563 in webkit
- Timestamp:
- Aug 17, 2016, 11:01:41 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r204554 r204563 1 2016-08-17 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Support abbreviations in iOS 4 https://bugs.webkit.org/show_bug.cgi?id=160907 5 6 Reviewed by Joanmarie Diggs. 7 8 * accessibility/ios-simulator/abbreviation-expected.txt: Added. 9 * accessibility/ios-simulator/abbreviation.html: Added. 10 1 11 2016-08-16 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r204560 r204563 1 2016-08-17 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Support abbreviations in iOS 4 https://bugs.webkit.org/show_bug.cgi?id=160907 5 6 Reviewed by Joanmarie Diggs. 7 8 Expose the expandedTextValue attribute for iOS, so that VoiceOver can speak abbreviations correctly. 9 10 Test: accessibility/ios-simulator/abbreviation.html 11 12 * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: 13 (-[WebAccessibilityObjectWrapper textMarkersForRange:]): 14 (-[WebAccessibilityObjectWrapper accessibilityExpandedTextValue]): 15 (-[WebAccessibilityObjectWrapper accessibilityIdentifier]): 16 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 17 (AXAttributeStringSetSpelling): 18 (AXAttributeStringSetExpandedTextValue): 19 (AXAttributedStringAppendText): 20 (AXAttributeStringSetexpandedTextValue): Deleted. 21 1 22 2016-08-17 Antti Koivisto <antti@apple.com> 2 23 -
trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
r203955 r204563 2593 2593 } 2594 2594 2595 - (NSString *)accessibilityExpandedTextValue 2596 { 2597 if (![self _prepareAccessibilityCall]) 2598 return nil; 2599 return m_object->expandedTextValue(); 2600 } 2601 2595 2602 - (NSString *)accessibilityIdentifier 2596 2603 { -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r203711 r204563 1195 1195 } 1196 1196 1197 static void AXAttributeStringSet expandedTextValue(NSMutableAttributedString *attrString, RenderObject* renderer, NSRange range)1197 static void AXAttributeStringSetExpandedTextValue(NSMutableAttributedString *attrString, RenderObject* renderer, NSRange range) 1198 1198 { 1199 1199 if (!renderer || !AXAttributedStringRangeIsValid(attrString, range)) … … 1284 1284 AXAttributeStringSetHeadingLevel(attrString, renderer, attrStringRange); 1285 1285 AXAttributeStringSetBlockquoteLevel(attrString, renderer, attrStringRange); 1286 AXAttributeStringSet expandedTextValue(attrString, renderer, attrStringRange);1286 AXAttributeStringSetExpandedTextValue(attrString, renderer, attrStringRange); 1287 1287 AXAttributeStringSetElement(attrString, NSAccessibilityLinkTextAttribute, AccessibilityObject::anchorElementForNode(node), attrStringRange); 1288 1288 -
trunk/Tools/ChangeLog
r204559 r204563 1 2016-08-17 Chris Fleizach <cfleizach@apple.com> 2 3 AX: Support abbreviations in iOS 4 https://bugs.webkit.org/show_bug.cgi?id=160907 5 6 Reviewed by Joanmarie Diggs. 7 8 * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: 9 (AccessibilityUIElement::stringAttributeValue): 10 * WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm: 11 (WTR::AccessibilityUIElement::stringAttributeValue): 12 1 13 2016-08-17 Gyuyoung Kim <gyuyoung.kim@navercorp.com> 2 14 -
trunk/Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm
r203955 r204563 97 97 - (id)_accessibilityFieldsetAncestor; 98 98 - (BOOL)_accessibilityHasTouchEventListener; 99 - (NSString *)accessibilityExpandedTextValue; 99 100 100 101 // TextMarker related … … 648 649 if (JSStringIsEqualToUTF8CString(attribute, "AXARIACurrent")) 649 650 return [[m_element accessibilityARIACurrentStatus] createJSStringRef]; 651 652 if (JSStringIsEqualToUTF8CString(attribute, "AXExpandedTextValue")) 653 return [[m_element accessibilityExpandedTextValue] createJSStringRef]; 650 654 651 655 return JSStringCreateWithCharacters(0, 0); -
trunk/Tools/WebKitTestRunner/InjectedBundle/ios/AccessibilityUIElementIOS.mm
r204062 r204563 74 74 - (id)_accessibilityFieldsetAncestor; 75 75 - (BOOL)_accessibilityHasTouchEventListener; 76 - (NSString *)accessibilityExpandedTextValue; 76 77 77 78 // TextMarker related … … 340 341 if (JSStringIsEqualToUTF8CString(attribute, "AXARIACurrent")) 341 342 return [[m_element accessibilityARIACurrentStatus] createJSStringRef]; 342 343 344 if (JSStringIsEqualToUTF8CString(attribute, "AXExpandedTextValue")) 345 return [[m_element accessibilityExpandedTextValue] createJSStringRef]; 346 343 347 return JSStringCreateWithCharacters(0, 0); 344 348 }
Note:
See TracChangeset
for help on using the changeset viewer.