-
cfleizach@apple.com authored
AX: Facebook wrapped a file upload button in an unfocusable ARIA button, which doesn't work with AXPress. https://bugs.webkit.org/show_bug.cgi?id=122252 Reviewed by Mario Sanchez Prada. Source/WebCore: When an author uses a control-type ARIA role (like button), but then hides a native control-type inside, AXPress needs to operate on the inside node if possible. Test: accessibility/axpress-on-aria-button.html * accessibility/AccessibilityNodeObject.cpp: (WebCore::isNodeActionElement): (WebCore::nativeActionElement): (WebCore::AccessibilityNodeObject::actionElement): LayoutTests: * accessibility/axpress-on-aria-button-expected.txt: Added. * accessibility/axpress-on-aria-button.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f35a444e