Changeset 222765 in webkit
- Timestamp:
- Oct 2, 2017 6:02:47 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r222760 r222765 1 2017-10-02 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [ATK] The value of aria-level is not exposed on non-heading roles 4 https://bugs.webkit.org/show_bug.cgi?id=177775 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/gtk/aria-level-expected.txt: Added. 9 * accessibility/gtk/aria-level.html: Added. 10 1 11 2017-10-02 Brent Fulgham <bfulgham@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r222763 r222765 1 2017-10-02 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [ATK] The value of aria-level is not exposed on non-heading roles 4 https://bugs.webkit.org/show_bug.cgi?id=177775 5 6 Reviewed by Chris Fleizach. 7 8 Expose the value of aria-level via the "level" AtkObject attribute, as is currently 9 done for headings. 10 11 Test: accessibility/gtk/aria-level.html 12 13 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: 14 (webkitAccessibleGetAttributes): 15 1 16 2017-10-02 Andy Estes <aestes@apple.com> 2 17 -
trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
r222433 r222765 449 449 } 450 450 451 int headingLevel = coreObject->headingLevel();452 if ( headingLevel) {453 String value = String::number( headingLevel);451 int level = coreObject->isHeading() ? coreObject->headingLevel() : coreObject->hierarchicalLevel(); 452 if (level) { 453 String value = String::number(level); 454 454 attributeSet = addToAtkAttributeSet(attributeSet, "level", value.utf8().data()); 455 455 } -
trunk/Tools/ChangeLog
r222764 r222765 1 2017-10-02 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: [ATK] The value of aria-level is not exposed on non-heading roles 4 https://bugs.webkit.org/show_bug.cgi?id=177775 5 6 Reviewed by Chris Fleizach. 7 8 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: 9 (WTR::AccessibilityUIElement::hierarchicalLevel const): 10 1 11 2017-10-02 Geoffrey Garen <ggaren@apple.com> 2 12 -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
r222433 r222765 1681 1681 int AccessibilityUIElement::hierarchicalLevel() const 1682 1682 { 1683 // FIXME: implement 1683 String level = getAttributeSetValueForId(ATK_OBJECT(m_element.get()), ObjectAttributeType, "level"); 1684 if (!level.isEmpty()) 1685 return level.toInt(); 1686 1684 1687 return 0; 1685 1688 }
Note: See TracChangeset
for help on using the changeset viewer.