Bug 129835

Summary: AX: Node Inspector "Selected" is undefined on selected native option elements
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description James Craig 2014-03-06 15:08:12 PST
AX: axObject->isSelected() returns false on selected native options.

<select multiple>
    <option class="ex" selected>FIXME: Selected is false. Expected true.</option>
    <option class="ex">not selected</option>
</select>

<select>
    <option class="ex" selected>FIXME: Selected is false. Expected true.</option>
    <option class="ex">not selected</option>
</select>

This is affecting output of Web AXI in bug 129781
Comment 1 James Craig 2014-03-27 17:45:46 PDT
selectedChildren is also invalid on the parent.
Comment 2 Radar WebKit Bug Importer 2014-03-27 17:46:22 PDT
<rdar://problem/16452089>
Comment 3 James Craig 2014-03-27 18:17:41 PDT
Actually, this may be an Object vs RenderObject discrepancy. Looks like I'm not getting any accessibility information for the whole node. See getAccessibilityPropertiesForNode.html