Bug 246818 - AX: Voiceover does not read table first cell content when table located inside element with role "dialog" when page is traversed using VO + Right Arrow key combination
Summary: AX: Voiceover does not read table first cell content when table located insid...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 16
Hardware: Mac (Intel) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-20 10:20 PDT by jartik
Modified: 2022-11-02 08:02 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jartik 2022-10-20 10:20:38 PDT
Steps to Reproduce:
1). Please use the following code snippet:
<div role="dialog">
  <p>Text content</p>
  <table>
    <caption>Table caption</caption>
    <tbody>
      <tr>
        <td>Table body cell 1</td>
        <td>Table body cell 2</td>
      </tr>
      <tr>
        <td>Table body cell 3</td>
        <td>Table body cell 4</td>
      </tr>
    </tbody>
  </table>
</div>

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 & 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.
<div role="dialog">
  <p>Text content</p>
  <div role="table" aria-label="Table caption">
    <div role="rowgroup">
      <div role="row">
        <span role="cell">Table body cell 1</span>
        <span role="cell">Table body cell 2</span>
      </div>
      <div role="row">
        <span role="cell">Table body cell 3</span>
        <span role="cell">Table body cell 4</span>
      </div>
    </div>
  </div>
</div>

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 <table> element is not placed inside element with role "dialog" everything is been read as expected.
Comment 1 Radar WebKit Bug Importer 2022-10-20 10:20:51 PDT
<rdar://problem/101388031>
Comment 2 Smoley 2022-11-01 10:55:38 PDT
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?
Comment 3 jartik 2022-11-02 08:02:19 PDT
Issue is still reproduced in Safari Technology preview Release 156 (Safari 16.4, Webkit 17615.1.8.5) on Mac OS 12.6.1.