Skip to content

Commit

Permalink
Updated assessment format
Browse files Browse the repository at this point in the history
  • Loading branch information
BrahimMahadi committed Aug 14, 2023
1 parent a189794 commit 06bc606
Show file tree
Hide file tree
Showing 3 changed files with 1,761 additions and 830 deletions.
69 changes: 3 additions & 66 deletions src/plugins/multimedia/reports/a11y-1-youtube-en.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,13 @@
{
"title": "Accessibility assessment #7 - Multimedia Player - Youtube",
"language": "en",
"description": "Partial. Evaluation of new Success Criteria at Level A and Level AA of WCAG 2.1 and WCAG 2.2",
"tag": "multimedia",
"parentdir": "multimedia",
"parentPage": "Multimedia Player - Youtube",
"parentPageURL": "multimedia",
"altLangPage": "a11y-1-youtube-fr.html",
"dateModified": "2023-02-07"
"dateModified": "2023-06-21",
"layout": "acr-en.hbs",
"reportURL": "a11y-1-youtube.json"
}
---
<div id="ds-a11y" data-wb-jsonmanager='{ "url": "a11y-1-youtube.json", "name": "a11y" }'></div>

<dl class="dl-horizontal">
<dt>Evaluation Report Identifier</dt>
<dd data-json-replace="#[a11y]/id">Not Available</dd>
<dt>Type</dt>
<dd>Accessibility assessment</dd>
<dt>Asserted by:</dt>
<dd data-json-replace="#[a11y]/assertedBy">Not Available</dd>
<dt>Date:</dt>
<dd data-json-replace="#[a11y]/date">Not Available</dd>
<dt>Page:</dt>
<dd><a data-wb-json='[
{
"url": "#[a11y]/subjectUrl",
"type": "attr",
"attr": "href"
},
{
"url": "#[a11y]/subjectUrl",
"type": "replace"
}
]' href="#">Not Defined</a></dd>
<dt>Subject</dt>
<dd data-json-replace="#[a11y]/assessment">Not Defined</dd>
<dt>Notes:</dt>
<dd data-json-replace="#[a11y]/notes">No notes</dd>
<dt>Scores</dt>
<dd data-json-replace="#[a11y]/score">Not Calculated</dd>
</dl>

<h2>Assessment details</h2>
<table class="table">
<thead>
<tr>
<th>Success Criteria</th>
<th>Result</th>
<th>Comments</th>
</tr>
</thead>
<tbody data-wb-json='{
"url": "#[a11y]/results",
"tobeclone": "tr",
"source": "#tmpl-result",
"mapping": [
{ "selector": ":nth-child(1)", "value": "/label" },
{ "selector": ":nth-child(2)", "value": "/outcome" },
{ "selector": ":nth-child(3)", "value": "/notes" }
]
}'>
</tbody>
</table>

<template id="tmpl-result">
<table>
<tr>
<th></th>
<td></td>
<td></td>
</tr>
</table>
</template>
69 changes: 3 additions & 66 deletions src/plugins/multimedia/reports/a11y-1-youtube-fr.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,13 @@
{
"title": "Assessment d'accessibilité #7 - Lecteur multimédia - YouTube",
"language": "fr",
"description": "Partielle. Évaluation des nouveaux critères de succès aux niveaux A et AA de WCAG 2.1 et WCAG 2.2",
"tag": "multimedia",
"parentdir": "multimedia",
"parentPage": "Lecteur multimédia - YouTube",
"parentPageURL": "multimedia",
"altLangPage": "a11y-1-youtube-en.html",
"dateModified": "2023-02-07"
"dateModified": "2023-06-21",
"layout": "acr-en.hbs",
"reportURL": "a11y-1-youtube.json"
}
---
<div id="ds-a11y" data-wb-jsonmanager='{ "url": "a11y-1-youtube.json", "name": "a11y" }'></div>

<dl class="dl-horizontal">
<dt>Identifiant du rapport d'évaluation</dt>
<dd data-json-replace="#[a11y]/id" lang="en"><span lang="fr">Non disponible</span></dd>
<dt>Type</dt>
<dd>Évaluation de l'accessibilité</dd>
<dt>Évalué par:</dt>
<dd data-json-replace="#[a11y]/assertedBy" lang="en"><span lang="fr">Non disponible</span></dd>
<dt>Date:</dt>
<dd data-json-replace="#[a11y]/date" lang="en"><span lang="fr">Non disponible</span></dd>
<dt>Page:</dt>
<dd><a data-wb-json='[
{
"url": "#[a11y]/subjectUrl",
"type": "attr",
"attr": "href"
},
{
"url": "#[a11y]/subjectUrl",
"type": "replace"
}
]' href="#" lang="en"><span lang="fr">Non Définie</span></a></dd>
<dt>Subject</dt>
<dd data-json-replace="#[a11y]/assessment" lang="en"><span lang="fr">Non Définie</span></dd>
<dt>Notes:</dt>
<dd data-json-replace="#[a11y]/notes" lang="en"><span lang="fr">Aucune note</span></dd>
<dt>Scores</dt>
<dd data-json-replace="#[a11y]/score" lang="en"><span lang="fr">Non calculé</span></dd>
</dl>

<h2>Détails de l'évaluation</h2>
<table class="table">
<thead>
<tr>
<th>Critères de succès</th>
<th>Résultat</th>
<th>Commentaire</th>
</tr>
</thead>
<tbody data-wb-json='{
"url": "#[a11y]/results",
"tobeclone": "tr",
"source": "#tmpl-result",
"mapping": [
{ "selector": ":nth-child(1)", "value": "/label" },
{ "selector": ":nth-child(2)", "value": "/outcome" },
{ "selector": ":nth-child(3)", "value": "/notes" }
]
}'>
</tbody>
</table>

<template id="tmpl-result">
<table>
<tr>
<th lang="en"></th>
<td lang="en"></td>
<td lang="en"></td>
</tr>
</table>
</template>

0 comments on commit 06bc606

Please sign in to comment.