From 834212df2cb660f7fbc6ea952c6d987d55b50a8a Mon Sep 17 00:00:00 2001
From: Viola Elsenhans <elsenhans@ub.uni-leipzig.de>
Date: Mon, 1 Aug 2022 09:54:52 +0200
Subject: [PATCH] refs #22158 [finc] add h2 element for tite in list-entry

---
 .../finc/templates/RecordDriver/DefaultRecord/list-entry.phtml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml
index 23870d5c699..f4e2c30343f 100644
--- a/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml
+++ b/themes/finc/templates/RecordDriver/DefaultRecord/list-entry.phtml
@@ -60,7 +60,8 @@
             <?php /* finc adds aria-lable and aria-describedby #18019 */ ?>
             <?php $describedById = $driver->getSourceIdentifier() . '|' . $driver->getUniqueId(); ?>
             <a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="getFull" data-view="<?=$this->params->getOptions()->getListViewOption() ?>">
-              <span id="<?=$describedById?>" class="title" lang=""><?=$this->record($this->driver)->getTitleHtml()?></span>
+              <?php /* finc: change span to h2 element #22158 */ ?>
+                  <h2 id="<?=$describedById?>" class="title" lang=""><?=$this->record($this->driver)->getTitleHtml()?></h2>
             </a>
           <?php endif; ?>
           <?php /* finc: restore missing favorites #17375 - END */ ?>
-- 
GitLab