AX: add AccessibilityObject::computedLabelString() for WebAXI
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Aug 2014 02:47:01 +0000 (02:47 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Aug 2014 02:47:01 +0000 (02:47 +0000)
commit30abdc88762f513b5b706dc2fb063bb0a675ade2
tree4cbf8ca87c19dc114b7826a2216781e2f75f7e46
parentf18f168c125639755dded93772eda50743f4ea16
AX: add AccessibilityObject::computedLabelString() for WebAXI
https://bugs.webkit.org/show_bug.cgi?id=129939

Reviewed by Mario Sanchez Prada.

Provide a method that the WebKit Inspector can call in order to
display an accessible name for an AX node.

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::accessibilityComputedLabel):
* accessibility/AccessibilityObject.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityObject.cpp
Source/WebCore/accessibility/AccessibilityObject.h