Bug 129835 - AX: Node Inspector "Selected" is undefined on selected native option elements
Summary: AX: Node Inspector "Selected" is undefined on selected native option elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-03-06 15:08 PST by James Craig
Modified: 2014-03-27 18:17 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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