A cover letter is rendered declaring English, whatever it is written in #65
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is wrong
documents/themes/base_letter.htmlopens:Hard-coded. The CV theme beside it does the right thing already:
because
CVhas alanguagefield.CoverLetterhas none — it has a kind and a bodyand no way to say what language the body is in. So a letter written in Portuguese to a
Portuguese employer is produced as a PDF that declares itself English, and there is not
currently a field that could fix it.
Why it matters more than it looks
This is the document that gets sent. Once it leaves Postulo:
person reading it that way may well be the recruiter deciding on the application;
a PDF reader's own text-to-speech;
typesetting is subtly wrong in a document meant to look considered.
WCAG 2.2 success criterion 3.1.1, Language of Page, level A. The lowest level there is,
in the artefact the whole application is about.
Shape
CoverLetter.language, the same fieldCVhas, with the same "leave blank to followyour profile" behaviour so nobody has to fill it in.
base_letter.htmluses it.language is a better guess than English for everybody who is not British.
documents/themes/base_cv.htmlfalls back toen-GBwhen a CV's language is blank, and the profile language would be a betterfallback there too.
Classification
Bug, accessibility. Not breaking: one nullable field.