Skip to content
  • cfleizach@apple.com's avatar
    AX: Can't activate links with VoiceOver in Safari · 50d4cd3f
    cfleizach@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=111755
    
    Reviewed by Tim Horton.
    
    Source/WebCore: 
    
    VoiceOver is relying on the press action being the first action in the list. We changed
    that order inadvertently recently, which confuses VoiceOver.
    
    Test: platform/mac/accessibility/press-action-is-first.html
    
    * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
    (-[WebAccessibilityObjectWrapper accessibilityActionNames]):
    
    Tools: 
    
    * DumpRenderTree/AccessibilityUIElement.cpp:
    (supportedActionsCallback):
    (AccessibilityUIElement::getJSClass):
    * DumpRenderTree/AccessibilityUIElement.h:
    (AccessibilityUIElement):
    * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
    (AccessibilityUIElement::supportedActions):
    
    LayoutTests: 
    
    * platform/mac/accessibility/press-action-is-first-expected.txt: Added.
    * platform/mac/accessibility/press-action-is-first.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    50d4cd3f