PDF in chromium: an h3 inside a caption is not read by screen reader as an h3 #17169
Labels
app/chrome
app/edge/anaheim
MS browser, chromium based, replaces Spartan in 2019 by Anaheim. NVDA access via IA2.
blocked/needs-external-fix
p4
https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
triaged
Has been triaged, issue is waiting for implementation.
Steps to reproduce:
Open attached PDF file.
Use the down arrow to go through the document till you get to page two.
When the reader gets to the words "Contracts awarded" (which is a complete h2), the h2 expands to include the <p tag and the caption with an h3 inside it.
Actual behavior:
The h3 inside the table caption is read as part of the h2
Expected behavior:
The h3 inside the caption should be read as an h3 header.
NVDA logs, crash dumps and other attachments:
There was no crash
System configuration
NVDA installed/portable/running from source:
Dell laptop
NVDA version:
2021.3.2
Windows version:
Microsoft windows 10 Enterprise
Name and version of other software in use when reproducing the issue:
Fails in Chrome, Edge. Works great in Firefox.
Other information about your system:
Processor Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz 1.80 GHz
Installed RAM 16.0 GB (15.9 GB usable)
Product ID 00329-00000-00003-AA666
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
If NVDA add-ons are disabled, is your problem still occurring?
I have added nothing to it since installation
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
I don't see any menu at all when NVDA starts. I just get that panel that shows what text is being spoken
Additional comments:
When using the down arrow to have NVDA read through the document line by line, here is what is being read by NVDA when it gets to page 2 of the attached pdf file (copied from the NVDA text panel):
Page 2 landmark heading level 2 Contracts awarded
heading level 2 The following tables include the selected contracts that were awarded to the company named
heading level 2 in this letter. The tables are listed by company operating name.
heading level 2 Contracts awarded to: GENERIC TESTING ACCOUNT - ANDREW B
Here is the html being fed into the PDF file for that particular section. I notice that in the actual issue this html is displayed not as text but as content so you will have to inspect element to see the html.
Contracts awarded
The following tables include the selected contracts that were awarded to the company named in this letter. The tables are listed by company operating name.
Contracts awarded to: GENERIC TESTING ACCOUNT - ANDREW B
...Do you know why NVDA would describe the entire section (<h2, <p tag, table caption + h3) as one h2 tag?
supplier-history.pdf
The text was updated successfully, but these errors were encountered: