Skip to content

Commit 537592e

Browse files
authored
Content - chore: Typos missed in templates JSON-LD files (#2537)
1 parent 58e9486 commit 537592e

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

_data/a11yComponents.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"name":"Archived - template","a11y":[],"acr":[]},{"name":"Authentication","a11y":[],"acr":[]},{"name":"Breadcrumb trail","a11y":[],"acr":[]},{"name":"Date modified","a11y":[],"acr":[]},{"name":"Feedback area","a11y":[{"allStates":["earl:passed","earl:inapplicable","earl:failed","earl:cantTell"],"date":"2023-10-30","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Mixed","link":"sites/feedback/reports/pre-a11y-2.json"}],"acr":[{"allStates":[],"date":"2023-12-14","isPartial":false,"conformityNotCovered":[],"conformity":"Satisfied","link":"sites/feedback/reports/acr-2023-autumn.json","state":"Empty and incomplete","createdOn":"2023-12-14"}]},{"name":"Footer","a11y":[{"allStates":["earl:passed","earl:inapplicable"],"date":"2022-12-02","isPartial":false,"testRequirementNotCovered":[],"state":"Pass","link":"sites/footers/reports/a11y-1.json"}],"acr":[]},{"name":"GCWeb Menu","a11y":[],"acr":[]},{"name":"Header","a11y":[],"acr":[]},{"name":"Helpers","a11y":[],"acr":[]},{"name":"Language toggle link","a11y":[],"acr":[]},{"name":"Main title of the page","a11y":[],"acr":[]},{"name":"Page details","a11y":[],"acr":[]},{"name":"Secondary/Local menu","a11y":[],"acr":[]},{"name":"Skip links","a11y":[],"acr":[]},{"name":"Bold content","a11y":[],"acr":[]},{"name":"Checkboxes and radio buttons","a11y":[],"acr":[]},{"name":"Download link","a11y":[],"acr":[]},{"name":"Featured link - Documentation and working example","a11y":[{"allStates":["earl:inapplicable","earl:untested"],"date":"2023-09-21","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Mixed","link":"components/gc-featured-link/reports/pre-a11y-1.json"},{"allStates":["earl:inapplicable","earl:passed"],"date":"2023-09-21","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Pass","link":"components/gc-featured-link/reports/pre-a11y-2.json"}],"acr":[]},{"name":"Context-specific features","a11y":[{"allStates":["earl:untested","earl:inapplicable"],"date":"2023-06-30","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Mixed","link":"components/gc-features/reports/pre-a11y-1.json"},{"allStates":["earl:passed","earl:inapplicable"],"date":"2023-08-23","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Pass","link":"components/gc-features/reports/pre-a11y-2.json"}],"acr":[]},{"name":"Social media channels","a11y":[],"acr":[]},{"name":"Most requested - Documentation and working example","a11y":[],"acr":[]},{"name":"Services and information","a11y":[{"allStates":["earl:passed","earl:inapplicable","earl:untested"],"date":"2023-07-06","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"components/gc-servinfo/reports/ally-1.json"}],"acr":[]},{"name":"Step by Step navigation","a11y":[],"acr":[]},{"name":"GC Subway map menu","a11y":[],"acr":[]},{"name":"GC tables","a11y":[],"acr":[]},{"name":"Table of Contents","a11y":[],"acr":[]},{"name":"Well header responsive","a11y":[],"acr":[]},{"name":"Images","a11y":[],"acr":[]},{"name":"Other components","a11y":[],"acr":[]},{"name":"Labels","a11y":[],"acr":[]},{"name":"List - Additional style","a11y":[],"acr":[]},{"name":"Chat wizard","a11y":[],"acr":[]},{"name":"Do action","a11y":[],"acr":[]},{"name":"Fieldflow","a11y":[],"acr":[]},{"name":"Datalist dynamic suggestion","a11y":[],"acr":[]},{"name":"URL Mapping","a11y":[],"acr":[]},{"name":"wb5-click postback converter","a11y":[],"acr":[]},{"name":"Ajax Fetch","a11y":[{"allStates":["earl:inapplicable","earl:untested"],"date":"2023-09-09","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"common/ajax-fetch/reports/pre-a11y-1.json"}],"acr":[]},{"name":"Alert","a11y":[],"acr":[]},{"name":"Alignment","a11y":[],"acr":[]},{"name":"Buttons","a11y":[],"acr":[]},{"name":"Color (Foreground/Background)","a11y":[],"acr":[]},{"name":"List","a11y":[],"acr":[]},{"name":"Scaffolding","a11y":[{"allStates":["earl:failed"],"date":"2023-11-21","isPartial":true,"testRequirementNotCovered":["WCAG21:non-text-content","WCAG21:audio-only-and-video-only-prerecorded","WCAG21:captions-prerecorded","WCAG21:audio-description-or-media-alternative-prerecorded","WCAG21:captions-live","WCAG21:audio-description-prerecorded","WCAG21:info-and-relationships","WCAG21:meaningful-sequence","WCAG21:sensory-characteristics","WCAG21:orientation","WCAG21:identify-input-purpose","WCAG21:use-of-color","WCAG21:audio-control","WCAG21:contrast-minimum","WCAG21:resize-text","WCAG21:image-of-text","WCAG21:reflow","WCAG21:text-spacing","WCAG21:content-on-hover-or-focus","WCAG21:keyboard","WCAG21:no-keyboard-trap","WCAG21:character-key-shortcuts","WCAG21:timing-adjustable","WCAG21:pause-stop-hide","WCAG21:three-flashes-or-below-threshold","WCAG21:bypass-blocks","WCAG21:page-titled","WCAG21:focus-order","WCAG21:link-purpose-in-context","WCAG21:multiple-ways","WCAG21:headings-and-labels","WCAG21:focus-visible","WCAG21:pointer-gestures","WCAG21:pointer-cancellation","WCAG21:label-in-name","WCAG21:motion-actuation","WCAG21:language-of-page","WCAG21:language-of-parts","WCAG21:on-focus","WCAG21:on-input","WCAG21:consistent-navigation","WCAG21:consistent-identification","WCAG21:error-identification","WCAG21:labels-or-instructions","WCAG21:error-suggestion","WCAG21:error-prevention-legal-financial-data)","WCAG21:parsing","WCAG21:name-role-value","WCAG21:status-messages"],"state":"earl:failed","link":"common/scaffolding/reports/a11y-1.json"},{"allStates":["earl:passed","earl:inapplicable","earl:cantTell",null],"date":"2024-02-29","isPartial":true,"testRequirementNotCovered":["WCAG21:bypass-blocks"],"state":"Mixed","link":"common/scaffolding/reports/ally-assess-1.json"}],"acr":[]},{"name":"Share widget","a11y":[{"allStates":["earl:passed","earl:inapplicable","earl:untested"],"date":"2023-07-06","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"common/share/reports/pre-ally-1.json"}],"acr":[]},{"name":"Tables","a11y":[],"acr":[]},{"name":"Basic HTML","a11y":[],"acr":[]},{"name":"Advanced Service - Probably deprecated","a11y":[],"acr":[]},{"name":"Application","a11y":[],"acr":[]},{"name":"Campaign name","a11y":[],"acr":[]},{"name":"Content page","a11y":[],"acr":[]},{"name":"Home","a11y":[{"allStates":["earl:untested","earl:inapplicable"],"date":"2023-07-14","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"templates/home/reports/pre-a11y-1.json"}],"acr":[]},{"name":"Other template","a11y":[],"acr":[]},{"name":"Index","a11y":[],"acr":[]},{"name":"Institutional profile","a11y":[],"acr":[]},{"name":"Laws and regulations pages","a11y":[],"acr":[]},{"name":"Lowest topic (with secondary navigation)","a11y":[],"acr":[]},{"name":"Ministerial profile","a11y":[],"acr":[]},{"name":"News","a11y":[],"acr":[]},{"name":"Organizational profile","a11y":[],"acr":[]},{"name":"Search results","a11y":[],"acr":[]},{"name":"Server error message","a11y":[],"acr":[]},{"name":"Splash page - Canada.ca","a11y":[],"acr":[]},{"name":"Thematic","a11y":[],"acr":[]},{"name":"Beta - Theme, Topic","a11y":[],"acr":[]},{"name":"Topic","a11y":[],"acr":[]}]
1+
[{"name":"Archived - template","a11y":[],"acr":[]},{"name":"Authentication","a11y":[],"acr":[]},{"name":"Breadcrumb trail","a11y":[],"acr":[]},{"name":"Date modified","a11y":[],"acr":[]},{"name":"Feedback area","a11y":[{"allStates":["earl:passed","earl:inapplicable","earl:failed","earl:cantTell"],"date":"2023-10-30","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Mixed","link":"sites/feedback/reports/pre-a11y-2.json"}],"acr":[{"allStates":[],"date":"2023-12-14","isPartial":false,"conformityNotCovered":[],"conformity":"Satisfied","link":"sites/feedback/reports/acr-2023-autumn.json","state":"Empty and incomplete","createdOn":"2023-12-14"}]},{"name":"Footer","a11y":[{"allStates":["earl:passed","earl:inapplicable"],"date":"2022-12-02","isPartial":false,"testRequirementNotCovered":[],"state":"Pass","link":"sites/footers/reports/a11y-1.json"}],"acr":[]},{"name":"GCWeb Menu","a11y":[],"acr":[]},{"name":"Header","a11y":[],"acr":[]},{"name":"Helpers","a11y":[],"acr":[]},{"name":"Language toggle link","a11y":[],"acr":[]},{"name":"Main title of the page","a11y":[],"acr":[]},{"name":"Page details","a11y":[],"acr":[]},{"name":"Secondary/Local menu","a11y":[],"acr":[]},{"name":"Skip links","a11y":[],"acr":[]},{"name":"Bold content","a11y":[],"acr":[]},{"name":"Checkboxes and radio buttons","a11y":[],"acr":[]},{"name":"Download link","a11y":[],"acr":[]},{"name":"Featured link - Documentation and working example","a11y":[{"allStates":["earl:inapplicable","earl:untested"],"date":"2023-09-21","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Mixed","link":"components/gc-featured-link/reports/pre-a11y-1.json"},{"allStates":["earl:inapplicable","earl:passed"],"date":"2023-09-21","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Pass","link":"components/gc-featured-link/reports/pre-a11y-2.json"}],"acr":[]},{"name":"Context-specific features","a11y":[{"allStates":["earl:untested","earl:inapplicable"],"date":"2023-06-30","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Mixed","link":"components/gc-features/reports/pre-a11y-1.json"},{"allStates":["earl:passed","earl:inapplicable"],"date":"2023-08-23","isPartial":true,"testRequirementNotCovered":["WCAG21:error-prevention-legal-financial-data)"],"state":"Pass","link":"components/gc-features/reports/pre-a11y-2.json"}],"acr":[]},{"name":"Social media channels","a11y":[],"acr":[]},{"name":"Most requested - Documentation and working example","a11y":[],"acr":[]},{"name":"Services and information","a11y":[{"allStates":["earl:passed","earl:inapplicable","earl:untested"],"date":"2023-07-06","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"components/gc-servinfo/reports/ally-1.json"}],"acr":[]},{"name":"Step by Step navigation","a11y":[],"acr":[]},{"name":"GC Subway map menu","a11y":[],"acr":[]},{"name":"GC tables","a11y":[],"acr":[]},{"name":"Table of Contents","a11y":[],"acr":[]},{"name":"Well header responsive","a11y":[],"acr":[]},{"name":"Images","a11y":[],"acr":[]},{"name":"Other components","a11y":[],"acr":[]},{"name":"Labels","a11y":[],"acr":[]},{"name":"List - Additional style","a11y":[],"acr":[]},{"name":"Chat wizard","a11y":[],"acr":[]},{"name":"Do action","a11y":[],"acr":[]},{"name":"Fieldflow","a11y":[],"acr":[]},{"name":"Datalist dynamic suggestion","a11y":[],"acr":[]},{"name":"URL Mapping","a11y":[],"acr":[]},{"name":"wb5-click postback converter","a11y":[],"acr":[]},{"name":"Ajax Fetch","a11y":[{"allStates":["earl:inapplicable","earl:untested"],"date":"2023-09-09","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"common/ajax-fetch/reports/pre-a11y-1.json"}],"acr":[]},{"name":"Alert","a11y":[],"acr":[]},{"name":"Alignment","a11y":[],"acr":[]},{"name":"Buttons","a11y":[],"acr":[]},{"name":"Colour (Foreground/Background)","a11y":[],"acr":[]},{"name":"List","a11y":[],"acr":[]},{"name":"Scaffolding","a11y":[{"allStates":["earl:failed"],"date":"2023-11-21","isPartial":true,"testRequirementNotCovered":["WCAG21:non-text-content","WCAG21:audio-only-and-video-only-prerecorded","WCAG21:captions-prerecorded","WCAG21:audio-description-or-media-alternative-prerecorded","WCAG21:captions-live","WCAG21:audio-description-prerecorded","WCAG21:info-and-relationships","WCAG21:meaningful-sequence","WCAG21:sensory-characteristics","WCAG21:orientation","WCAG21:identify-input-purpose","WCAG21:use-of-color","WCAG21:audio-control","WCAG21:contrast-minimum","WCAG21:resize-text","WCAG21:image-of-text","WCAG21:reflow","WCAG21:text-spacing","WCAG21:content-on-hover-or-focus","WCAG21:keyboard","WCAG21:no-keyboard-trap","WCAG21:character-key-shortcuts","WCAG21:timing-adjustable","WCAG21:pause-stop-hide","WCAG21:three-flashes-or-below-threshold","WCAG21:bypass-blocks","WCAG21:page-titled","WCAG21:focus-order","WCAG21:link-purpose-in-context","WCAG21:multiple-ways","WCAG21:headings-and-labels","WCAG21:focus-visible","WCAG21:pointer-gestures","WCAG21:pointer-cancellation","WCAG21:label-in-name","WCAG21:motion-actuation","WCAG21:language-of-page","WCAG21:language-of-parts","WCAG21:on-focus","WCAG21:on-input","WCAG21:consistent-navigation","WCAG21:consistent-identification","WCAG21:error-identification","WCAG21:labels-or-instructions","WCAG21:error-suggestion","WCAG21:error-prevention-legal-financial-data)","WCAG21:parsing","WCAG21:name-role-value","WCAG21:status-messages"],"state":"earl:failed","link":"common/scaffolding/reports/a11y-1.json"},{"allStates":["earl:passed","earl:inapplicable","earl:cantTell",null],"date":"2024-02-29","isPartial":true,"testRequirementNotCovered":["WCAG21:bypass-blocks"],"state":"Mixed","link":"common/scaffolding/reports/ally-assess-1.json"}],"acr":[]},{"name":"Share widget","a11y":[{"allStates":["earl:passed","earl:inapplicable","earl:untested"],"date":"2023-07-06","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"common/share/reports/pre-ally-1.json"}],"acr":[]},{"name":"Tables","a11y":[],"acr":[]},{"name":"Basic HTML","a11y":[],"acr":[]},{"name":"Advanced Service - Probably deprecated","a11y":[],"acr":[]},{"name":"Application","a11y":[],"acr":[]},{"name":"Campaign name","a11y":[],"acr":[]},{"name":"Content page","a11y":[],"acr":[]},{"name":"Home","a11y":[{"allStates":["earl:untested","earl:inapplicable"],"date":"2023-07-14","isPartial":false,"testRequirementNotCovered":[],"state":"Mixed","link":"templates/home/reports/pre-a11y-1.json"}],"acr":[]},{"name":"Other template","a11y":[],"acr":[]},{"name":"Index","a11y":[],"acr":[]},{"name":"Institutional profile","a11y":[],"acr":[]},{"name":"Laws and regulations pages","a11y":[],"acr":[]},{"name":"Lowest topic (with secondary navigation)","a11y":[],"acr":[]},{"name":"Ministerial profile","a11y":[],"acr":[]},{"name":"News","a11y":[],"acr":[]},{"name":"Organizational profile","a11y":[],"acr":[]},{"name":"Search results","a11y":[],"acr":[]},{"name":"Server error message","a11y":[],"acr":[]},{"name":"Splash page - Canada.ca","a11y":[],"acr":[]},{"name":"Thematic","a11y":[],"acr":[]},{"name":"Beta - Theme, Topic","a11y":[],"acr":[]},{"name":"Topic","a11y":[],"acr":[]}]

_data/components.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@
590590
"en": [
591591
"Refer to the following code sample.",
592592
"You can optionally add a description under the featured link.",
593-
"To customize the background color, add the attribute <code>data-bg-color</code> to the <code>&lt;section></code> element. The value should be the hexadecimal code of the desired color, for example: <code>#005B61</code>."
593+
"To customize the background colour, add the attribute <code>data-bg-color</code> to the <code>&lt;section></code> element. The value should be the hexadecimal code of the desired colour, for example: <code>#005B61</code>."
594594
],
595595
"fr": [
596596
"Référez-vous au code qui suit.",
@@ -600,7 +600,7 @@
600600
},
601601
"notes": {
602602
"en": [
603-
"When customizing the background color, the component will automatically apply the correct colour to the text: <code>#FFFFFF</code> for dark colours, <code>#333333</code> for light colours, <code>#000000</code> for colours in-between."
603+
"When customizing the background colour, the component will automatically apply the correct colour to the text: <code>#FFFFFF</code> for dark colours, <code>#333333</code> for light colours, <code>#000000</code> for colours in-between."
604604
],
605605
"fr": [
606606
"Lorsque la couleur de fond est personnalisée, la composante appliquera automatiquement la bonne couleur au texte : <code>#FFFFFF</code> pour les couleurs sombres, <code>#333333</code> pour les couleurs claires, <code>#000000</code> pour les couleurs intermédiaires."
@@ -699,7 +699,7 @@
699699
"date": "2023-08",
700700
"detectableBy": ".provisional.gc-featured-link[data-bg-color]",
701701
"additions": [
702-
"Adding possibility to customize the background color."
702+
"Adding possibility to customize the background colour."
703703
],
704704
"assets": [
705705
{
@@ -748,7 +748,7 @@
748748
"detectableBy": ".gc-featured-link",
749749
"layout": "Component spans across viewport width, link spans across container width.",
750750
"semantic": "section>h2+a",
751-
"style": "By default, the background color of the component is blue with white text.",
751+
"style": "By default, the background colour of the component is blue with white text.",
752752
"static": [
753753
"Featured",
754754
"En vedette"
@@ -757,9 +757,9 @@
757757
"Link title (type: STRING)",
758758
"Link URL (type: STRING)",
759759
"Link description (type: STRING)",
760-
"Background color (type: STRING) - optional"
760+
"Background colour (type: STRING) - optional"
761761
],
762-
"configuration": "data-bg-color: customize the background color"
762+
"configuration": "data-bg-color: customize the background colour"
763763
}
764764
]
765765
}

common/colour/index.json-ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"pages": {
2121
"docs": [
2222
{
23-
"title": "Color (Foreground/Background)",
23+
"title": "Colour (Foreground/Background)",
2424
"language": "en",
2525
"path": "colour-en.html"
2626
},

components/gc-featured-link/index.json-ld

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"fr": "Mars 2024 - Stabilisation de la composante."
9696
},
9797
{
98-
"en": "August 2023 - Adding possibility to customize the background color.",
98+
"en": "August 2023 - Adding possibility to customize the background colour.",
9999
"fr": "Août 2023 - Ajout de la possibilité de personnaliser la couleur de fond."
100100
},
101101
{
@@ -121,7 +121,7 @@
121121
"en": [
122122
"Refer to the following code sample.",
123123
"You can optionally add a description under the featured link.",
124-
"To customize the background color, add the attribute <code>data-bg-color</code> to the <code>&lt;section></code> element. The value should be the hexadecimal code of the desired color, for example: <code>#005B61</code>."
124+
"To customize the background colour, add the attribute <code>data-bg-color</code> to the <code>&lt;section></code> element. The value should be the hexadecimal code of the desired colour, for example: <code>#005B61</code>."
125125
],
126126
"fr": [
127127
"Référez-vous au code qui suit.",
@@ -131,7 +131,7 @@
131131
},
132132
"notes": {
133133
"en": [
134-
"When customizing the background color, the component will automatically apply the correct color to the text: <code>#FFFFFF</code> for dark colours, <code>#333333</code> for light colours, <code>#000000</code> for colours in-between."
134+
"When customizing the background colour, the component will automatically apply the correct colour to the text: <code>#FFFFFF</code> for dark colours, <code>#333333</code> for light colours, <code>#000000</code> for colours in-between."
135135
],
136136
"fr": [
137137
"Lorsque la couleur de fond est personnalisée, la composante appliquera automatiquement la bonne couleur au texte : <code>#FFFFFF</code> pour les couleurs sombres, <code>#333333</code> pour les couleurs claires, <code>#000000</code> pour les couleurs intermédiaires."
@@ -230,7 +230,7 @@
230230
"date": "2023-08",
231231
"detectableBy": ".provisional.gc-featured-link[data-bg-color]",
232232
"additions": [
233-
"Adding possibility to customize the background color."
233+
"Adding possibility to customize the background colour."
234234
],
235235
"assets": [
236236
{
@@ -279,7 +279,7 @@
279279
"detectableBy": ".gc-featured-link",
280280
"layout": "Component spans across viewport width, link spans across container width.",
281281
"semantic": "section>h2+a",
282-
"style": "By default, the background color of the component is blue with white text.",
282+
"style": "By default, the background colour of the component is blue with white text.",
283283
"static": [
284284
"Featured",
285285
"En vedette"
@@ -288,9 +288,9 @@
288288
"Link title (type: STRING)",
289289
"Link URL (type: STRING)",
290290
"Link description (type: STRING)",
291-
"Background color (type: STRING) - optional"
291+
"Background colour (type: STRING) - optional"
292292
],
293-
"configuration": "data-bg-color: customize the background color"
293+
"configuration": "data-bg-color: customize the background colour"
294294
}
295295
]
296296
}

0 commit comments

Comments
 (0)