Skip to content

NVDA gets confused when tables have hidden cells #5655

@ghost

Description

Someday aria-colindex and aria-rowindex might allow for some very strange tables, but in the meantime NVDA should be more robust at handling tables with hidden cells.

Here's an example table. When you use NVDA's table navigation keystrokes it gets confused and gives the wrong feedback when navigating to a hidden cell.

<style>
  table {
    border-collapse: collapse;
  }
  td {
    border: 1px solid #000;
    padding: 1em;
  }
  *[aria-hidden="true"] {
    background-color: #ffd;
  }
</style>
<table>
  <tr>
    <th>A</th>
    <th>B</th>
    <th>C</th>
  </tr>
  <tr>
    <td>Northwest</td>
    <td>North</td>
    <td aria-hidden="true">Northeast (hidden)</td>
  </tr>
  <tr>
    <td>West</td>
    <td aria-hidden="true">Center (hidden)</td>
    <td>East</td>
  </tr>
  <tr>
    <td aria-hidden="true">Southwest (hidden)</td>
    <td>South</td>
    <td>Southeast</td>
  </tr>
</table>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions