<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: AOM: Dispatch accessibleclick event"
   href="https://bugs.webkit.org/show_bug.cgi?id=180898">bug 180898</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #333841 Flags</td>
           <td>review?
           </td>
           <td>review-
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: AOM: Dispatch accessibleclick event"
   href="https://bugs.webkit.org/show_bug.cgi?id=180898#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: AOM: Dispatch accessibleclick event"
   href="https://bugs.webkit.org/show_bug.cgi?id=180898">bug 180898</a>
              from <span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=333841&action=diff" name="attach_333841" title="patch">attachment 333841</a> <a href="attachment.cgi?id=333841&action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=333841&action=review">https://bugs.webkit.org/attachment.cgi?id=333841&action=review</a>

<span class="quote">> Source/WebCore/ChangeLog:14
> +</span >

Need a URL for the spec.

<span class="quote">> Source/WebCore/accessibility/AccessibilityObject.cpp:2163
> +bool AccessibilityObject::dispatchAccessibilityEvent(Event& event)</span >

I don't think we want to duplicate all this code here.
We should templatize the one in EventDispatcher.cpp and re-use it for regular DOM events and accessibility tree instead.
r- due to this code duplication.

<span class="quote">> Source/WebCore/accessibility/AccessibilityObject.cpp:2166
> +    for (auto* parentObject = this; parentObject; parentObject = parentObject->parentObject()) {</span >

Where this event path specified?
Are we sure we want to use the accessibility tree to dispatch events?</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>