[Webkit-unassigned] [Bug 147295] AX: VoiceOver unable to access content in malformed trees

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 29 18:38:52 PDT 2015


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

--- Comment #16 from Nan Wang <n_wang at apple.com> ---
Comment on attachment 257795
  --> https://bugs.webkit.org/attachment.cgi?id=257795
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=257795&action=review

>> Source/WebCore/accessibility/AccessibilityTree.cpp:89
>> +        if (nodeHasRole(child, "treeitem"))
> 
> does nodeHasRole already check the is<Element> for us? we might be able to get rid of that check

The nodeHasRole will return false if the node is not Element object. But we want to ignore checking nodes that are not Elements, like text nodes. I think we still need to keep that check.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150730/39b189d0/attachment.html>


More information about the webkit-unassigned mailing list