Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WET-378 GC Site search bar working example #2223

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<section id="wb-srch" class="col-lg-offset-4 col-md-offset-4 col-sm-offset-2 col-xs-12 col-sm-5 col-md-4">
<h2>{{ i18nText-search }}</h2>
<form action="#" method="post" name="cse-search-box" role="search">
Expand Down
46 changes: 46 additions & 0 deletions sites/search/index.json-ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"@context": {
"@version": 1.1,
"dct": "http://purl.org/dc/terms/",
"title": { "@id": "dct:title", "@container": "@language" },
"description": { "@id": "dct:description", "@container": "@language" },
"modified": "dct:modified"
},
"title": {
"en": "GC Site Search Bar",
"fr": "Barre de recherche sur un site GC"
},
"description": {
"en": "Documentation on how to use search bar.",
"fr": "Documentation sur l'utilisation de la barre de recherche."
},
"modified": "2023-07-05",
"componentName": "search",
"status": "stable",
"pages": {
"examples": [
{
"title": "GC Site Search Bar",
"language": "en",
"path": "search-en.html"
},
{
"title": "Barre de recherche sur un site GC",
"language": "fr",
"path": "search-fr.html"
}
],
"reports": [
{
"title": "Pre accessibility assessment #1 - GC Site Search Bar",
"language": "en",
"path": "reports/pre-a11y-1-en.html"
},
{
"title": "Pre assessment d'accessibilité #1 - Barre de recherche sur un site GC",
"language": "fr",
"path": "reports/pre-a11y-1-fr.html"
}
]
}
}
15 changes: 15 additions & 0 deletions sites/search/reports/pre-a11y-1-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
{
"title": "Pre Accessibility assessment #1 - GC Site Search Bar",
"language": "en",
"description": "Pre assessment of the GC Site search bar component.",
"tag": "footer",
"parentdir": "footer",
"parentPage": "Footer",
"parentPageURL": "footer",
"altLangPage": "pre-a11y-1-fr.html",
"dateModified": "2023-08-14",
"layout": "assessment_wrote_en-en",
"reportURL": "pre-a11y-1.json"
}
---
15 changes: 15 additions & 0 deletions sites/search/reports/pre-a11y-1-fr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
{
"title": "Pre Assessment d'accessibilité #1 - Barre de recherche sur un site GC",
"language": "fr",
"description": "Pre Assessment d'accessibilité pour la barre de recherche sur un site GC",
"tag": "footer",
"parentdir": "footer",
"parentPage": "Pied de page",
"parentPageURL": "footer",
"altLangPage": "pre-a11y-1-en.html",
"dateModified": "2023-08-14",
"layout": "assessment_wrote_en-fr",
"reportURL": "pre-a11y-1.json"
}
---
Loading
Loading