Repository navigation
Conversation
… download
"Download PDF" is the browser's Save as PDF, which Chrome and Edge tag from the
page's HTML. Only the job title was a heading, and every bullet was a typed "•"
a screen reader read aloud. Section titles are now h3 and sub-headings (each
function's "70% Greenhouse Operations", Education, ...) h4, styled as before,
and lists use real list markers. While printing, the page is named for the JD
("Greenhouse Tech - 009605"), so the PDF's title and default file name match
the Word file.
The JD and VRF Word files now carry a document title and en-US language, which
Word's Accessibility Checker asks for and its own PDF export carries over.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
"Download PDF" is the browser's Save as PDF. Chrome and Edge write a tagged PDF from the page's HTML, which is what a screen reader follows. The finished JD had one heading (the job title): section titles were styled
divs, and each bullet was a typed "•" that a screen reader announces as text. The PDF's title was the page's tab title ("Greenhouse Tech · My JDs · JDWriter"). The Word files had no document title or language.What changed
FinalJd.tsx): section titles areh3, and sub-headings (each function's "70% Greenhouse Operations", Education, ...) areh4, styled as before. Lists use real list markers instead of typed bullets.beforeprint/afterprintthe page is named for the JD ("Greenhouse Tech - 009605"), so the PDF's title and default file name match the Word file. This covers Cmd+P as well as the button.en-USlanguage.The printed page looks the same as before, within a couple of pixels.
Safari's Save as PDF still writes an untagged file; that is outside the app's control.
Validation
Page.printToPDFwith tagging on), frommainand from this branch, and read each PDF's structure tree:main: title "Greenhouse Tech · My JDs · JDWriter", 1 heading, bullets as text.Lblmarkers. Languageenin both.CorpusMigrationTeststhat need the local SQL database, which was not running, and 1 live-API test. None touch this change.🤖 Generated with Claude Code