<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>236291</bug_id>
          
          <creation_ts>2022-02-08 02:02:53 -0800</creation_ts>
          <short_desc>AX: SVG with role=tree: aria-label dropped on iOS</short_desc>
          <delta_ts>2022-02-08 02:07:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>Safari 15</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Peter Krautzberger">peter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1838573</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2022-02-08 02:02:53 -0800</bug_when>
    <thetext>Minimal test case: https://codepen.io/pkra/pen/abVpaBr

On VoiceOver (iOS 15.3), using read-all (two-finger swipe up) or by item (swipe right/left), VO voices &quot;image&quot; (i.e., wrong role and missing accessible name). 

It seems like Safari is not exposing the SVG&apos;s role and name correctly.

For comparison, the test case includes wrapping the SVG in a span and using the span as a tree root; this gives the same result in read-all (&quot;image&quot;) but by item VO voices &quot;circular tree, image, tree start&quot; (which is a different kind of weird but looks more like a VO issue).

On MacOS Safari 15.3 the SVG is treated as a tree and its name is read correctly by VO. (Similarly on other OSs / ATs)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838574</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-02-08 02:03:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/88619214&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838575</commentid>
    <comment_count>2</comment_count>
    <who name="Peter Krautzberger">peter</who>
    <bug_when>2022-02-08 02:07:25 -0800</bug_when>
    <thetext>FWIW, I&apos;m quite certain this used to work - but I don&apos;t have any devices with older iOS / Safari versions around.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>