|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 84
|
Hello, we are running EO-PDF v25.2.36 against our reports with HtmlToPdfOptions.GenerateTags=true - we get a successfully generated (tagged) PDF. When we upgrade to EO-PDF v26.0.34 with HtmlToPdfOptions.GenerateTags=true we get a failure in the PDF generation for most of our reports with the following exception
Code: C#
System.NullReferenceException: Object reference not set to an instance of an object.
at EO.Internal.prtr.eykq.plej(List`1 ss, List`1 st)
at EO.Internal.prtr.eykq.plej(List`1 ss, List`1 st)
at EO.Internal.prtr.eykq.plej(List`1 ss, List`1 st)
at EO.Internal.prtr.vnkw(psdz se, eykq sf, List`1 sg, Int32 sh)
at EO.Internal.prtr.vnkv(psdm sc, eykq sd)
at EO.Pdf.PdfDocument.rtog()
at EO.Pdf.PdfDocument.Save(Stream stream)
at EO.Pdf.HtmlToPdf.ConvertHtml(String html, Stream stream, HtmlToPdfOptions options)
I have emailed a sample project to illustrate Also, for reports that I am able to generate using EO-PDF v26.0.34 (with HtmlToPdfOptions.GenerateTags=true), when I navigate the PDF via JAWS (screen reader - https://support.freedomscientific.com/Downloads/JAWS), I get behavior that is unexpected - for example when I navigate tables within the PDF (in "table" mode), I am not able to navigate to certain parts of the table (using Ctrl-Alt-ArrowKey) - eg. those cells in the last row with a role="gridcell". Note that I don't have this issue using EO-PDF v25.2.36. My table looks something like
Code: HTML/ASPX
<table>
<thead>
<tr>
<th role="none">
<div role="columnheader">header1</div>
<div role="columnheader">header2</div>
<div role="columnheader">header3</div>
<div role="columnheader">header4</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td role="none">
<div role="gridcell">cell1a</div>
<div role="gridcell">cell1b</div>
<div role="gridcell">cell1c</div>
<div role="gridcell">cell1d</div>
</td>
</tr>
<tr>
<td role="none">
<div role="gridcell">cell2a</div>
<div role="gridcell">cell2b</div>
<div role="gridcell">cell2c</div>
<div role="gridcell">cell2d</div>
</td>
</tr>
</tbody>
</table>
Has something changed within these releases (with regards to Accessibility) ? Kind regards Phil
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,474
|
Thanks for letting us know. We were not able to download your test project due to permission issues. However we were able to reproduce the null reference exception by constructing our own test cases. We have posted a new build that fixed this issue and will PM you with the download link.
We are not familiar with JAWS and do not have a license for it. The problem maybe related to the NullReferenceException since the data were not correctly generated to begin with. So please try the new build and see if it resolves this issue as well.
|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 84
|
Many thanks for the new version - as far as I can see it fixed the NullReferenceException issue - the PDF's I have tested that were failing prior (with GenerateTags=true), are now generated. However I need to spend a bit more time checking how the PDF is being announced - I will test with NVDA (I assume you'll have a copy, but if not it's free - https://www.nvaccess.org/download/)
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,474
|
Thanks for the update!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/8/2017 Posts: 84
|
Hello - I've done some testing of how the generated PDF (using v26.0.90 with GenerateTags=true) is interpreted by NVDA (https://www.nvaccess.org/download/) - it appears the PDF doesn't screen read correctly. For example using v25.2.36 I can use the shortcut "t" to navigate to the table, then use table-mode keys (Ctrl-Alt-ArrowKey) to navigate around the table - I cannot do this with v26.0.90. Also when I use the PAC tool (PDF Accessibility Checker - https://pac.pdf-accessibility.org/en) to open/interpret the PDF generated by v26.0.90, the tool fails with an "Object Reference" exception - however using v25.2.36 the PAC tool opens the PDF and interprets compliance I've sent an email with a sample project as well as a PDF file from each of the versions (v25.2.36 and v26.0.90) Kind regards Phil
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,474
|
Hi,
We have sent a new test build to you through private message. Please take a look and let us know how it goes.
Thanks!
|
|