Changeset 55297 in webkit
- Timestamp:
- Feb 26, 2010 12:08:07 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r55290 r55297 1 2010-02-26 Joanmarie Diggs <joanmarie.diggs@gmail.com> 2 3 Reviewed by Xan Lopez. 4 5 https://bugs.webkit.org/show_bug.cgi?id=35418 6 [Gtk] Every table, including layout tables, should be exposed as a table 7 8 This patch exposes layout tables as tables. (Addressing the problematic table 9 hierarchy remains to be done.) 10 11 * accessibility/gtk/AccessibilityObjectAtk.cpp: 12 (AccessibilityObject::accessibilityPlatformIncludesObject): 13 * accessibility/AccessibilityRenderObject.cpp: 14 (AccessibilityRenderObject::determineAccessibilityRole): 15 1 16 2010-02-26 Adam Barth <abarth@webkit.org> 2 17 -
trunk/WebCore/accessibility/AccessibilityRenderObject.cpp
r55095 r55297 2727 2727 if (node && (node->hasTagName(rpTag) || node->hasTagName(rtTag))) 2728 2728 return AnnotationRole; 2729 2729 2730 #if PLATFORM(GTK) 2731 // Gtk ATs expect all tables, data and layout, to be exposed as tables. 2732 if (node && node->hasTagName(tdTag)) 2733 return CellRole; 2734 2735 if (node && node->hasTagName(tableTag)) 2736 return TableRole; 2737 #endif 2738 2730 2739 if (m_renderer->isBlockFlow() || (node && node->hasTagName(labelTag))) 2731 2740 return GroupRole; -
trunk/WebCore/accessibility/gtk/AccessibilityObjectAtk.cpp
r53512 r55297 51 51 return IgnoreObject; 52 52 53 AccessibilityRole role = roleValue(); 54 55 // Include all tables, even layout tables. The AT can decide what to do with each. 56 if (role == CellRole || role == TableRole) 57 return IncludeObject; 58 53 59 // The object containing the text should implement AtkText itself. 54 if (role Value()== StaticTextRole)60 if (role == StaticTextRole) 55 61 return IgnoreObject; 56 62
Note: See TracChangeset
for help on using the changeset viewer.