Skip to content

Commit

Permalink
add safe filter to the title for download documents (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnthompson authored Jul 17, 2024
1 parent 7cdb620 commit 30a2a33
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internalLinks: true
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<abbr title="Microsoft Word Document">Word</abbr>, 71 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subject:
- accessibilityInTheGovernmentOfCanada
tags:
- procurement
toggle: exigences-en-matiere-de-technologies-de-l-information-et-des-communications-tic-accessibles
toggle: exigences-en-matiere-de-technologies-de-linformation-et-des-communications-tic-accessibles
---

<div class="row">
Expand All @@ -18,7 +18,7 @@ toggle: exigences-en-matiere-de-technologies-de-l-information-et-des-communicati
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Microsoft Word Document">Word</abbr>, 88 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/en/microsoft-document-compliance-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Microsoft Word Document">Word</abbr>, 56 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/en/pdf-accessibility-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: PDF Accessibility Checklist
description: Here you can find different questions to help you to know if your pdf document is accessible or not.
internalLinks: true
toggle: liste-de-verification-de-l-accessibilite-des-documents-pdf
toggle: liste-de-verification-de-laccessibilite-des-documents-pdf
subject:
- howTos
tags:
Expand All @@ -19,7 +19,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-pdf mrg-rght-sm" aria-hidden="true"></i> <abbr title="Portable Document Format">PDF</abbr>, 324 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Technical Summary of the EN 301 549 v3.2.1 (2021)
description: This technical summary provides the reader a simplified summary of the technical requirements from the EN 301 549 V3.2.1 (2021-03) Harmonised European Standard for <abbr title="Information and communication technology">ICT</abbr> Products and Services accessibility. Each clause or group of related clauses have been re-worded in plain language and examples have been added to help readers understand the requirements at a high-level. This document is especially useful for those who would like an understanding of the EN 301 549’s requirements without having to read through the full standard.
toggle: resume-technique-de-la-norme-en-301-549-v3-2-1-2021
toggle: resume-technique-de-la-norme-en-301-549-v321-2021
subject:
- accessibilityInTheGovernmentOfCanada
tags:
Expand All @@ -18,7 +18,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Document Microsoft Word">Word</abbr>, 78 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "What we heard report: Standard on Information and Communication Technology Accessibility (<abbr>SICTA</abbr>)"
description: "Between October 31 and November 30, 2022, the Treasury Board of Canada Secretariat - Office of the Chief Information Officer (<abbr>TBS-OCIO</abbr>) Digital Policy & Performance Division undertook a targeted engagement on the <em>Standard on Information and Communication Technology (<abbr>ICT</abbr>) Accessibility</em>. This page details the key themes that emerged and next steps to be taken in relation to the standard."
toggle: rapport-sur-ce-que-nous-avons-entendu-norme-d-accessibilite-des-technologies-de-l-information-et-des-communications-natic
toggle: rapport-sur-ce-que-nous-avons-entendu-norme-daccessibilite-des-technologies-de-linformation-et-des-communications-natic
subject:
- accessibilityInTheGovernmentOfCanada
tags:
Expand All @@ -19,7 +19,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<abbr title="PowerPoint Presentations">PPT</abbr>, 135 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internalLinks: true
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Document Microsoft Word">Word</abbr>, 86 <abbr title="kilo-octet">ko</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ subject:
- accessibilityInTheGovernmentOfCanada
tags:
- procurement
toggle: information-and-communication-technology-ict-accessibility-requirements/
toggle: information-and-communication-technology-ict-accessibility-requirements
---

<div class="row">
Expand All @@ -18,7 +18,7 @@ toggle: information-and-communication-technology-ict-accessibility-requirements/
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Document Microsoft Word">Word</abbr>, 636 <abbr title="kilo-octet">ko</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Document Microsoft Word">Word</abbr>, 62 <abbr title="kilo-octet">ko</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-pdf mrg-rght-sm" aria-hidden="true"></i> <abbr lang="en" title="Portable Document Format">PDF</abbr>, 355 <abbr title="KiloByte">KB</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<abbr lang="en" title="PowerPoint Presentations">PPT</abbr>, 149 <abbr title="KiloByte">Ko</abbr>)</span>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Résumé technique de la norme EN 301 549 v3.2.1 (2021)
description: Ce résumé technique fournit au lecteur un résumé simplifié des exigences techniques de la norme EN 301 549 (V3.2.1 (2021-03) Norme européenne harmonisée relative à l'accessibilité des produits et services <abbr title="technologies de l'information et de la communication">TIC</abbr>. Chaque clause ou groupe de clauses connexes a été reformulé en langage clair et des exemples ont été ajoutés pour aider les lecteurs à comprendre les exigences à un niveau élevé. Ce document est particulièrement utile pour ceux qui souhaitent comprendre les exigences de la norme EN 301 549 sans avoir à lire l'intégralité de la norme.
toggle: technical-summary-of-the-en-301-549-v3-2-1-2021
toggle: technical-summary-of-the-en-301-549-v321-2021
subject:
- accessibilityInTheGovernmentOfCanada
tags:
Expand All @@ -18,7 +18,7 @@ tags:
</div>
<div class="col-xs-8">
<p class="gc-dwnld-txt">
<span>{{ title }}</span>
<span>{{ title | safe }}</span>
<span class="gc-dwnld-info">(<i class="fas fa-file-word mrg-rght-sm" aria-hidden="true"></i> <abbr title="Document Microsoft Word">Word</abbr>, 74 <abbr title="kilo-octet">ko</abbr>)</span>
</p>
</div>
Expand Down

0 comments on commit 30a2a33

Please sign in to comment.