From a8720b8a0c105f748548862cc416a95ab71caa89 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Thu, 6 Dec 2018 09:00:16 +0100
Subject: [PATCH] use a legend element instead of a label

---
 templates/web/edugain/select_sp.tt2.html | 2 +-
 templates/web/renater/select_sp.tt2.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/web/edugain/select_sp.tt2.html b/templates/web/edugain/select_sp.tt2.html
index 10f7b4e..1ee1bb3 100644
--- a/templates/web/edugain/select_sp.tt2.html
+++ b/templates/web/edugain/select_sp.tt2.html
@@ -17,7 +17,7 @@
 
         [% FOREACH group IN groups.keys.sort() %]
         <fieldset>
-            <label for="[% group %]">[% groups.$group.label %]</label>
+            <legend>[% groups.$group.label %]</legend>
             <select id="[% group %]" name="[% group %]">
                 <option value=""></option>
             [% FOREACH entity IN groups.$group.entities.sort('name') %]
diff --git a/templates/web/renater/select_sp.tt2.html b/templates/web/renater/select_sp.tt2.html
index 7185249..8bde0d2 100644
--- a/templates/web/renater/select_sp.tt2.html
+++ b/templates/web/renater/select_sp.tt2.html
@@ -17,7 +17,7 @@
 
         [% FOREACH group IN groups.keys.sort() %]
         <fieldset>
-            <label for="[% group %]">[% groups.$group.label %]</label>
+            <legend>[% groups.$group.label %]</legend>
             <select id="[% group %]" name="[% group %]">
                 <option value=""></option>
             [% FOREACH entity IN groups.$group.entities.sort('name') %]
-- 
GitLab