Skip to content

Commit

Permalink
fix dcterms metadata to better support AA (#1019)
Browse files Browse the repository at this point in the history
  • Loading branch information
will0684 authored May 14, 2024
1 parent 9273562 commit 3f53f53
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pages/cdcp-apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,29 @@ export default function CDCPLanding(props) {
<Head>
{/* Primary HTML Meta Tags */}
<title>{t("cdcp.secondaryHeading")}</title>

{/* DCMI Meta Tags */}
<meta name="dcterms.title" content={t("cdcp.tertiaryHeading")} />
<meta
name="dcterms.language"
content={props.locale === "en" ? "eng" : "fra"}
title="ISO639-2/T"
/>
<meta
name="dcterms.creator"
content={
props.locale === "en"
? "Employment and Social Development Canada"
: "Emploi et Développement social Canada"
}
/>
<meta name="dcterms.accessRights" content="2" />
<meta name="dcterms.service" content="ESDC-EDSC_SCLabs-LaboratoireSC" />
<meta name="dcterms.spatial" content="Canada" />

{/* Open Graph / Facebook */}
<meta property="og:type" content="website" />
<meta property="og:locale" content={props.locale} />
</Head>
<section className="layout-container">
<div className="grid grid-cols-12 gap-x-8">
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@
},

"cdcp": {
"tertiaryHeading": "Canadian Dental Care Plan Prototype",
"secondaryHeading": "Canadian Dental Care Plan",
"primaryHeading": "Apply",
"toCompleteApplication": "To complete your application, you’ll need to provide the following information for yourself, your spouse or common-law partner (if applicable):",
Expand Down
1 change: 1 addition & 0 deletions public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@
},

"cdcp": {
"tertiaryHeading": "Prototype Régime canadien de soins dentaires",
"secondaryHeading": "Régime canadien de soins dentaires",
"primaryHeading": "Présenter une demande",
"toCompleteApplication": "Pour remplir votre demande, vous devrez fournir les renseignements suivantes pour vous-même, pour votre époux/épouse ou conjoint/conjointe de fait (s’il y a lieu) :",
Expand Down

0 comments on commit 3f53f53

Please sign in to comment.