<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: VoiceOver unable to access content in malformed trees"
href="https://bugs.webkit.org/show_bug.cgi?id=147295#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: VoiceOver unable to access content in malformed trees"
href="https://bugs.webkit.org/show_bug.cgi?id=147295">bug 147295</a>
from <span class="vcard"><a class="email" href="mailto:n_wang@apple.com" title="Nan Wang <n_wang@apple.com>"> <span class="fn">Nan Wang</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=257795&action=diff" name="attach_257795" title="patch">attachment 257795</a> <a href="attachment.cgi?id=257795&action=edit" title="patch">[details]</a></span>
patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=257795&action=review">https://bugs.webkit.org/attachment.cgi?id=257795&action=review</a>
<span class="quote">>> 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</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>