From 9c0b53ffda128cbd30e893ca86240269e7b09516 Mon Sep 17 00:00:00 2001
From: Viola Elsenhans <elsenhans@ub.uni-leipzig.de>
Date: Mon, 14 Aug 2023 14:09:05 +0200
Subject: [PATCH] refs #24359 [finc] fix w3c errors

---
 themes/finc/templates/record/checkbox.phtml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/themes/finc/templates/record/checkbox.phtml b/themes/finc/templates/record/checkbox.phtml
index bf979045036..66857ea859a 100644
--- a/themes/finc/templates/record/checkbox.phtml
+++ b/themes/finc/templates/record/checkbox.phtml
@@ -2,13 +2,12 @@
 <?php /* finc adds php for more specific labels, #18754 */ ?>
 <?php $label = isset($this->context) ? 'select_item_' . $this->context : 'select_item'; ?>
 <label class="record-checkbox hidden-print">
-  <?php /* finc adds aria-label and -describedby */ ?>
+  <?php /* finc adds aria-label and -describedby and space in front of form attribute */ ?>
   <input
       class="checkbox-select-item"
       type="checkbox"
       name="ids[]"
-      value="<?=$this->id?>"
-      <?php if (isset($this->formAttr)): ?>form="<?=$this->formAttr ?>"<?php endif; ?>
+      value="<?=$this->id?>"<?php if (isset($this->formAttr)): ?> form="<?=$this->formAttr ?>"<?php endif; ?>
       aria-describedby="<?=$this->id?>"
       aria-label="<?=$this->transEscAttr($label)?>"
   />
-- 
GitLab