[Webkit-unassigned] [Bug 130563] New: AX: AccessibilityObject::children() returns invalid results sometimes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 20 22:19:25 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=130563

           Summary: AX: AccessibilityObject::children() returns invalid
                    results sometimes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jcraig at apple.com
                CC: webkit-bug-importer at group.apple.com


At least one of the test elements in the inspector-protocol tests gets an invalid result for children(). It should either be including the <span> as an child, or promoting the <span>'s descendant nodes (because the <span> is ignored), but WebCore is doing neither of these things. Somehow it's coming out right in the AX API (the ignored <span> is being exposed as an AXGroup) but that output need to be reconciled with this output.

Test case is in LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode.html

<div role="group" class="ex">
    <!-- FIXME: accessibilityChildNodeIds.length should be 3 (foo, bar, baz). WebCore only reports 1 (foo). -->
    <div>foo</div>
    <span>
        bar
        <span role="button">baz</span>
    </span>
    <div></div>
    <div></div>
</div>

Source/WebCore/accessibility/AccessibilityObject.cpp:1389

Blocked by http://webkit.org/b/130264
Probably related to http://webkit.org/b/130181

If there is a reason it's done this way, kick this back to me in the Web Inspector component. It's possible I'll need to add a new method for AccessibilityObject::unignoredChildren()

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list