Bug 129830

Summary: AX: AccessibilityNodeObject::isPressed() does not return true when aria-pressed="true"
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cfleizach, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 145646    

Description James Craig 2014-03-06 14:56:22 PST
For the following element is exposed as ToggleButtonRole, but isPressed() does not return the right value.

AccessibilityObject::ariaPressedIsPresent() returns true, but
AccessibilityNodeObject::isPressed() returns false

<div role="button" tabindex="0" aria-pressed="true">Pressed. FIXME: Pressed is false. Expected true.</div>

This is affecting the output of Web AXI  in 129781.
Comment 1 Radar WebKit Bug Importer 2015-06-04 11:10:10 PDT
<rdar://problem/21244282>
Comment 2 chris fleizach 2015-06-12 18:06:00 PDT
Sorry for reverse dupe. Found out that the other bug fixed this layout test too! thanks for writing that one. saved me a new layout test

*** This bug has been marked as a duplicate of bug 145949 ***