From ea4fc0854268d431427005f40885999f5dcbe307 Mon Sep 17 00:00:00 2001
From: Olivia206 <olivia.simonet@mmibordeaux.com>
Date: Wed, 25 Jan 2023 18:59:04 +0100
Subject: [PATCH] fixed a11y issue in program table

---
 layouts/partials/programs/presentation.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/layouts/partials/programs/presentation.html b/layouts/partials/programs/presentation.html
index 2d3893b7..a3076eda 100644
--- a/layouts/partials/programs/presentation.html
+++ b/layouts/partials/programs/presentation.html
@@ -29,21 +29,21 @@
                   {{- $diploma := site.GetPage (printf "/diplomas/%s" .) -}}
                   {{- with $diploma.Params.ects -}}
                     <tr>
-                      <th>{{ i18n "programs.ects_credits" }}</th>
+                      <th scope="row">{{ i18n "programs.ects_credits" }}</th>
                       <td>{{ partial "PrepareHTML" . }}</td>
                     </tr>
                   {{- end -}}
                 {{- end -}}
                 <tr>
-                  <th>{{ i18n "programs.type.initial" }}</th>
+                  <th scope="row">{{ i18n "programs.type.initial" }}</th>
                   <td>{{ if .Params.initial }}{{ i18n "commons.true" }}{{ else }}{{ i18n "commons.false" }}{{ end }}</td>
                 </tr>
                 <tr>
-                  <th>{{ i18n "programs.type.continuing" }}</th>
+                  <th scope="row">{{ i18n "programs.type.continuing" }}</th>
                   <td>{{ if .Params.continuing }}{{ i18n "commons.true" }}{{ else }}{{ i18n "commons.false" }}{{ end }}</td>
                 </tr>
                 <tr>
-                  <th>{{ i18n "programs.type.apprenticeship" }}</th>
+                  <th scope="row">{{ i18n "programs.type.apprenticeship" }}</th>
                   <td>{{ if .Params.apprenticeship }}{{ i18n "commons.true" }}{{ else }}{{ i18n "commons.false" }}{{ end }}</td>
                 </tr>
                 {{- if partial "GetTextFromHTML" .Params.capacity -}}
-- 
GitLab