Changeset 186038 in webkit
- Timestamp:
- Jun 27, 2015, 4:02:03 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r186034 r186038 1 2015-06-27 Chris Fleizach <cfleizach@apple.com> 2 3 AX: implement @aria-roledescription 4 https://bugs.webkit.org/show_bug.cgi?id=146274 5 6 Reviewed by Darin Adler. 7 8 * accessibility/aria-roledescription-expected.txt: Added. 9 * accessibility/aria-roledescription.html: Added. 10 1 11 2015-06-27 Myles C. Maxfield <mmaxfield@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r186036 r186038 1 2015-06-27 Chris Fleizach <cfleizach@apple.com> 2 3 AX: implement @aria-roledescription 4 https://bugs.webkit.org/show_bug.cgi?id=146274 5 6 Reviewed by Darin Adler. 7 8 Add support for aria-roledescription. 9 10 Test: accessibility/aria-roledescription.html 11 12 * accessibility/AccessibilityObject.cpp: 13 (WebCore::AccessibilityObject::hasHighlighting): 14 (WebCore::AccessibilityObject::roleDescription): 15 (WebCore::nodeHasPresentationRole): 16 * accessibility/AccessibilityObject.h: 17 * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: 18 (-[WebAccessibilityObjectWrapper _accessibilityMaxValue]): 19 (-[WebAccessibilityObjectWrapper accessibilityRoleDescription]): 20 (-[WebAccessibilityObjectWrapper accessibilityLabel]): 21 * accessibility/mac/WebAccessibilityObjectWrapperMac.mm: 22 (-[WebAccessibilityObjectWrapper roleDescription]): 23 1 24 2015-06-27 Darin Adler <darin@apple.com> 2 25 -
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
r185924 r186038 2028 2028 } 2029 2029 2030 const AtomicString& AccessibilityObject::roleDescription() const 2031 { 2032 return getAttribute(aria_roledescriptionAttr); 2033 } 2034 2030 2035 static bool nodeHasPresentationRole(Node* node) 2031 2036 { -
trunk/Source/WebCore/accessibility/AccessibilityObject.h
r185924 r186038 622 622 String identifierAttribute() const; 623 623 void classList(Vector<String>&) const; 624 const AtomicString& roleDescription() const; 624 625 625 626 bool supportsARIASetSize() const; -
trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
r185884 r186038 854 854 } 855 855 856 - (NSString *)accessibilityRoleDescription 857 { 858 return m_object->roleDescription(); 859 } 860 856 861 - (NSString *)accessibilityLabel 857 862 { -
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
r185593 r186038 2207 2207 #pragma clang diagnostic pop 2208 2208 2209 const AtomicString& overrideRoleDescription = m_object->roleDescription(); 2210 if (!overrideRoleDescription.isNull()) 2211 return overrideRoleDescription; 2212 2209 2213 NSString* axRole = [self role]; 2210 2214 -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r183881 r186038 43 43 aria-relevant 44 44 aria-required 45 aria-roledescription 45 46 aria-selected 46 47 aria-setsize
Note:
See TracChangeset
for help on using the changeset viewer.