<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#c6">Comment # 6</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:cfleizach&#64;apple.com" title="chris fleizach &lt;cfleizach&#64;apple.com&gt;"> <span class="fn">chris fleizach</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=257519&amp;action=diff" name="attach_257519" title="patch">attachment 257519</a> <a href="attachment.cgi?id=257519&amp;action=edit" title="patch">[details]</a></span>
patch

it looks like your general approach is to try to invalidate tree role usage after the role has been assigned.
i think instead we should take the approach like AccessibilityList where AXObjectCache will make a new element t(AccessibilityTree.cpp) where we can override determineAccessibilityRole() to look at the children and change the role depending on what we need do that

that way we don't have to worry about missing any cases where tree role still peeks through and we don't have to pollute AccessibilityObject with methods that don't apply to all objects</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>