nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.09k stars 632 forks source link

Column Spans Not Properly Accounted For in Row Headers #5141

Open nvaccessAuto opened 9 years ago

nvaccessAuto commented 9 years ago

Reported by cdnatnvda on 2015-06-04 05:20 See the second table in the PDF attached to this ticket. The IDs and data cell assignments have been checked.

The table is 6 rows by 5 columns, with subheadings in the row headers as follows:

Row 1 Column 1 header, Education Level, column span 2. Row 2 Column 1 header, Graduate, rowspan 2, so that Row 2 Column 2 subheader is Ph.D., and Row 3 Column 2 subheader is Master's Degree. Rows 4, 5, and 6 in column 1, Bachelors, Associate/Certificate, and High School Diploma/GED, are all headers with column span 2.

Issue 1: The first subheader, Row 2 Column 2, is read as '''Education Level, Ph.D.''', not '''Graduate, Ph.D'''. The data cells in Row 2 are read correctly, though, as '''Graduate, Ph.D''', column, data.

(Note: No ID is assigned to Row 1 Column 1.)

Issue 2: The second subheader, Row 3 Column 2, is read as '''Master's Degree''' if entered using CTRL + ALT + arrows. If entered simply using the down arrow from Row 2 Column 5, it reads as "'''Education Level, Ph.D., Master's Degree,'''" where '''PhD''' should not be read. The data cells in Row 3 are read as '''Master's Degree,''' column, data, not '''Graduate, Master's Degree''', column, data. The spanned header Graduate is not applied.

Issue 3: If the row headers below the second rowspan in column 1 are entered from the right, both '''Education Level''' and the '''Graduate''' are applied to each, as in '''Education Level, Graduate, Bachelors Degree'''. '''Graduate''' should not be applied.

nvaccessAuto commented 9 years ago

Attachment Tables X and Y for NV Access.pdf added by cdnatnvda on 2015-06-04 05:24 Description: See Table Y, page 2.

Adriani90 commented 4 years ago

@cdnatnvda are you still able to reproduce this with NVDA 2019.3.1? In which application did you open the pdf document?

Adriani90 commented 1 week ago

It seems when opening this PDF document in Firefox or Chromium, the table headers are not recognized properly. In the first column for example all cells above the currently focused cell are interpreted as header cells which is obviously wrong. Something seems to be broken when rendering PDF tables. But this needs an external fix by browsers and Adobe Reader.