-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve accessibility of generated PDF #97128
Comments
This was flagged as launch-blocking in Staging Review: I encourage you to check out that Staging Review ticket for additional context, but here are some highlights
They also advise working with CAIA which we already are. Please close the related Staging Review ticket when this is addressed! |
The "Next steps" page may be causing the loss of accessibility, will verify on Monday during a call with Jamie. Another idea: a separate download for Next Steps. |
I'll meet on Monday the 16th with @coforma-jamie to discuss ways we can get the PDFs accessible. I'll have ready:
I'll try to research generating the next steps page with the proper tags in prawn and hexapdf. |
I met with @coforma-jamie and @jquispe-oddball this morning to look at some example files and discuss accessibility in general. All of the example files we tested were unflattened and editable. Some notes:
|
I've migrated the merging of PDFs over to hexapdf and will ask other VA engineers about the accessibility of their filled in PDFs in the morning. I'll also examine their PDF testing fixtures and start generating a PDF with just the form, without any merges to see if that can get us most of the way there. |
I modified the code to write directly to the form with no next steps page and no PDF merge of any kind. With that change I generated fresh 2122 and 2122a files. @coforma-jamie looked over the files and they were a big step forward accessibility wise. Fields and content were annotated but we did not confirm that all headings matched the content and were correct. For example, the NOTE directly under section I was tagged as an Jamie looked at the tab ordering on the versions I sent her and the originals, and they were the same. The original files direct from the VA have nonsensical tab order and our filled out versions duplicate that. Our filled out versions do look like they have additional tags that are empty of content. Recommendation:I think we should remove the next steps PDF page and just fill out the form and return it to the user. Both I remember a discussion about the possibility of removing the next steps page but I can't find it now. When I find it I'll link it here. |
I discussed this today with @coforma-jamie and @EvanAtCoforma . Some notes:
|
After discussing the points above with the team we've got the following recommendation: Remove the next steps page from the PDF and make it a separate non-required download link on the download page. This allows us to get the more accessible version of the PDF form served to the user while also keeping that additional source of next steps information. This will require some additional frontend and backend work. |
We've got the go ahead to separate the next steps page from the PDF. I'm starting on that now. |
The PR to remove the next steps page has been approved and merged. Work to make the next steps page a separate download has started: #99525 |
Background
We know that accessible PDFs is a larger issue across the VA.gov platform and while we may not be able to reach the gold standard, it seems like there are some things we can do to improve the accessibility as much as we can.
These are some issues that were reported in our accessibility audit:
<table>
tags and remediate.Some additional guidance from accessibility:
Tasks
Tagging:
Acceptance Criteria
The text was updated successfully, but these errors were encountered: