<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: SVG images are not exposed in the AX api"
   href="https://bugs.webkit.org/show_bug.cgi?id=156774#c24">Comment # 24</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: SVG images are not exposed in the AX api"
   href="https://bugs.webkit.org/show_bug.cgi?id=156774">bug 156774</a>
              from <span class="vcard"><a class="email" href="mailto:jcraig&#64;apple.com" title="James Craig &lt;jcraig&#64;apple.com&gt;"> <span class="fn">James Craig</span></a>
</span></b>
        <pre>I can confirm that the shapes should not be exposed on their own, but I don't think this bug is complete.

However, going back to the original test cases, this bug (rather the Radar associated with this) was not about SVG shape elements. It was about the containing &lt;svg&gt; element.


In the following test case:

&lt;svg aria-label=&quot;foo&quot; height=&quot;100&quot; width=&quot;100&quot;&gt;
  &lt;circle cx=&quot;50&quot; cy=&quot;50&quot; r=&quot;40&quot; stroke=&quot;black&quot; stroke-width=&quot;3&quot; fill=&quot;red&quot;&gt;&lt;/circle&gt;
&lt;/svg&gt;

The circle itself should not be exposed, but the author labeled the image, so the image should be exposed. Since there are no accessible contents of the SVG, I'd expose this as a single AXImage with a label &quot;foo&quot;.

In the next test case:

&lt;svg height=&quot;100&quot; width=&quot;100&quot;&gt;
  &lt;circle cx=&quot;50&quot; cy=&quot;50&quot; r=&quot;40&quot; stroke=&quot;black&quot; stroke-width=&quot;3&quot; fill=&quot;red&quot;&gt;&lt;/circle&gt;
&lt;/svg&gt;

Neither the &lt;svg&gt; or the &lt;circle&gt; is labeled, so you could either expose this as an unlabeled AXImage, or as an ignored element. I think it's safe to leave this one ignored.

Ignore the test cases that tried to use the &lt;label&gt; element to point to SVG. Those don't make any sense.</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>