<?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>246818</bug_id>
          
          <creation_ts>2022-10-20 10:20:38 -0700</creation_ts>
          <short_desc>AX: Voiceover does not read table first cell content when table located inside element with role &quot;dialog&quot; when page is traversed using VO + Right Arrow key combination</short_desc>
          <delta_ts>2022-11-02 08:02:19 -0700</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 16</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 12</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>jartik</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>1907099</commentid>
    <comment_count>0</comment_count>
    <who name="">jartik</who>
    <bug_when>2022-10-20 10:20:38 -0700</bug_when>
    <thetext>Steps to Reproduce:
1). Please use the following code snippet:
&lt;div role=&quot;dialog&quot;&gt;
  &lt;p&gt;Text content&lt;/p&gt;
  &lt;table&gt;
    &lt;caption&gt;Table caption&lt;/caption&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;Table body cell 1&lt;/td&gt;
        &lt;td&gt;Table body cell 2&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;Table body cell 3&lt;/td&gt;
        &lt;td&gt;Table body cell 4&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
&lt;/div&gt;

2). Perform navigation through the snippet using VO + Right Arrow hotkey combination, navigate to table and then to the first table cell.

Actual Results: First table cell information and content are not announced, Voiceover only announces that you are currently on a table cell and key combinations that can be used for further navigation.

Expected Results: First table cell information and content are announced, then Voiceover announces that you are currently on a table cell and key combinations that can be used for further navigation.

Build Date &amp; Hardware: Safari 16.0 (17614.1.25.9.10, 17614) on MacOS Monterey 12.6

Additional Information:
1) It is also reproduced if the table is constructed using non-native table elements and appropriate table roles. Please see the following code snippet.
&lt;div role=&quot;dialog&quot;&gt;
  &lt;p&gt;Text content&lt;/p&gt;
  &lt;div role=&quot;table&quot; aria-label=&quot;Table caption&quot;&gt;
    &lt;div role=&quot;rowgroup&quot;&gt;
      &lt;div role=&quot;row&quot;&gt;
        &lt;span role=&quot;cell&quot;&gt;Table body cell 1&lt;/span&gt;
        &lt;span role=&quot;cell&quot;&gt;Table body cell 2&lt;/span&gt;
      &lt;/div&gt;
      &lt;div role=&quot;row&quot;&gt;
        &lt;span role=&quot;cell&quot;&gt;Table body cell 3&lt;/span&gt;
        &lt;span role=&quot;cell&quot;&gt;Table body cell 4&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

2)Navigating to next table cell using VO + Arrow Right keys and then back to first cell using VO + Left Arrow keys will result in announce of first cell content, however navigating outside table and entering it again via VO + Arrow Right will not announce cell content again.

3) If &lt;table&gt; element is not placed inside element with role &quot;dialog&quot; everything is been read as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907100</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-10-20 10:20:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/101388031&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909584</commentid>
    <comment_count>2</comment_count>
    <who name="Smoley">smoley</who>
    <bug_when>2022-11-01 10:55:38 -0700</bug_when>
    <thetext>Thanks for filing, this does not reproduce for me on Safari 16.4. Are you still seeing this on the latest release of Safari Technology Preview?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909777</commentid>
    <comment_count>3</comment_count>
    <who name="">jartik</who>
    <bug_when>2022-11-02 08:02:19 -0700</bug_when>
    <thetext>Issue is still reproduced in Safari Technology preview Release 156 (Safari 16.4, Webkit 17615.1.8.5) on Mac OS 12.6.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>