diff --git a/themes/finc/templates/Helpers/branchinfo.phtml b/themes/finc/templates/Helpers/branchinfo.phtml index dc51222d8ab84606b916b3b016e9fcacc401df40..5ae9247f652fc0883bffab6e3b030f85914f6bdb 100644 --- a/themes/finc/templates/Helpers/branchinfo.phtml +++ b/themes/finc/templates/Helpers/branchinfo.phtml @@ -1,7 +1,6 @@ <!-- helpers - branchinfo.phtml --> <table> - <caption class="sr-only"> - <?= $this->transEsc('Address-Contact-Hours') ?> + <caption><span class="sr-only"><?= $this->transEsc('Address-Contact-Hours') ?></span> </caption> <tr class="holding-info"> <td colspan="4"> diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/collection-info.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/collection-info.phtml index 9a632703f394087e73e9d4c8dc200cdaf71855c6..2b96c5e046628620c370044e9800c874a4346623 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/collection-info.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/collection-info.phtml @@ -52,7 +52,7 @@ <?php /* finc: we use 'collapse in' to initially hide the content, we also include responsive data table - CK */ ?> <table id="collectionInfo" class="table table-striped table-resp-data collapse in"> - <caption class="sr-only"><?=$this->transEsc('Bibliographic Details')?></caption> + <caption><span class="sr-only"><?=$this->transEsc('Bibliographic Details')?></span></caption> <?php foreach ($fields as $current): ?> <tr><th><?=$this->transEsc($current['label'])?>:</th><td data-title="<?= $this->transEsc($current['label']) ?>:"><?=$current['value']?></td></tr> <?php endforeach; ?> diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/collection-record.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/collection-record.phtml index 0b79440ae627021b65937b68a7a07480e645e6a3..d6bed8b7ffb3b6681eec400f79466cbb06a4491d 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/collection-record.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/collection-record.phtml @@ -9,7 +9,7 @@ <?php if (!empty($fields)): ?> <?php /* include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?=$this->transEsc('Bibliographic Details')?></caption> + <caption><span class="sr-only"><?=$this->transEsc('Bibliographic Details')?></span></caption> <?php foreach ($fields as $current): ?> <tr><th><?=$this->transEsc($current['label'])?>:</th><td data-title="<?= $this->transEsc($current['label']) ?>:"><?=$current['value']?></td></tr> <?php endforeach; ?> diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/core.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/core.phtml index 2fb24aa1bf328fb5013725bbcdce4c9de5d10252..e7b39706ee3f3f2fdd8e46c481d40ecc9c8a5d25 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/core.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/core.phtml @@ -65,7 +65,7 @@ <?php if (!empty($coreFields)): ?> <?php /* include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?= $this->transEsc('Bibliographic Details') ?></caption> + <caption><span class="sr-only"><?= $this->transEsc('Bibliographic Details') ?></span></caption> <?php foreach ($coreFields as $current): ?> <tr> <th><?= $this->transEsc($current['label']) ?>:</th> diff --git a/themes/finc/templates/RecordDriver/SolrAI/core.phtml b/themes/finc/templates/RecordDriver/SolrAI/core.phtml index 8ff58d1fdd303d8224c46529e7c1677cd7e804fb..504fe19d7dc63a99975874b717c6c1db529101af 100644 --- a/themes/finc/templates/RecordDriver/SolrAI/core.phtml +++ b/themes/finc/templates/RecordDriver/SolrAI/core.phtml @@ -65,7 +65,7 @@ <?php if (!empty($coreFields)): ?> <?php /* include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?= $this->transEsc('Bibliographic Details') ?></caption> + <caption><span class="sr-only"><?= $this->transEsc('Bibliographic Details') ?></span></caption> <?php foreach ($coreFields as $current): ?> <?php if ($current['label'] == null): ?> <?= $current['value'] ?> diff --git a/themes/finc/templates/RecordDriver/SolrLido/core.phtml b/themes/finc/templates/RecordDriver/SolrLido/core.phtml index 8eed15270f91375cb0d4162a57c86c12e0e8316d..5436e6000a8e689cb50c49edddc31049421d87b6 100644 --- a/themes/finc/templates/RecordDriver/SolrLido/core.phtml +++ b/themes/finc/templates/RecordDriver/SolrLido/core.phtml @@ -90,7 +90,7 @@ <?php if (!empty($coreFields)): ?> <?php /* include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?=$this->transEsc('Bibliographic Details')?></caption> + <caption><span class="sr-only"><?=$this->transEsc('Bibliographic Details')?></span></caption> <?php foreach ($coreFields as $current): ?> <?php if ($current['label'] == null): ?> <?=$current['value']?> diff --git a/themes/finc/templates/RecordDriver/SolrMarc/core.phtml b/themes/finc/templates/RecordDriver/SolrMarc/core.phtml index 36078b3bbbd57eb88e6a9d5700798696e31f61e5..89f4018e26abf6c4bccd8961fed1c7a92762290e 100644 --- a/themes/finc/templates/RecordDriver/SolrMarc/core.phtml +++ b/themes/finc/templates/RecordDriver/SolrMarc/core.phtml @@ -65,7 +65,7 @@ <?php if (!empty($coreFields)): ?> <?php /* include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?= $this->transEsc('Bibliographic Details') ?></caption> + <caption><span class="sr-only"><?= $this->transEsc('Bibliographic Details') ?></span></caption> <?php foreach ($coreFields as $current): ?> <?php if ($current['label'] == null): ?> <?= $current['value'] ?> diff --git a/themes/finc/templates/RecordTab/description.phtml b/themes/finc/templates/RecordTab/description.phtml index 48285ed3c4f6759364a15215453eb855c3b2b65c..0e39ff89ba9bad658a112800f42272aa2d5adde1 100644 --- a/themes/finc/templates/RecordTab/description.phtml +++ b/themes/finc/templates/RecordTab/description.phtml @@ -10,7 +10,7 @@ $mainFields = $formatter->getData($driver, $formatter->getDefaults('description' <table class="table table-striped table-resp-data"> <?php /* Table gets filled via recordDriver/.../data-... templates as referenced in RecordDataFormatterFactory */ ?> - <caption class="sr-only"><?=$this->transEsc('Description')?></caption> + <caption><span class="sr-only"><?=$this->transEsc('Description')?></span></caption> <?php if (!empty($mainFields)): ?> <?php foreach ($mainFields as $current): ?> <tr> diff --git a/themes/finc/templates/RecordTab/descriptionlido.phtml b/themes/finc/templates/RecordTab/descriptionlido.phtml index 2afd501a844b9f748c06657c879536e79a3a6a3e..939b171f95eefcc3f9f00317a898dafd25cf85b9 100644 --- a/themes/finc/templates/RecordTab/descriptionlido.phtml +++ b/themes/finc/templates/RecordTab/descriptionlido.phtml @@ -11,7 +11,7 @@ $mainFields = $formatter->getData($driver, $formatter->getDefaults('description- finc: remove schema tag here but keep in core, include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?= $this->transEsc('Description') ?></caption> + <caption><span class="sr-only"><?= $this->transEsc('Description') ?></span></caption> <?php if (!empty($mainFields)): ?> <?php foreach ($mainFields as $current): ?> <tr><th><?=$this->transEsc($current['label'])?>:</th><td lang="" data-title="<?= $this->transEsc($current['label']) ?>:"><?=$current['value']?></td></tr> diff --git a/themes/finc/templates/RecordTab/holdingsils.phtml b/themes/finc/templates/RecordTab/holdingsils.phtml index 2a1b7d38980faea8decad659732d774738ea151a..f83b8b0688e73a6b8b09f1fa3db00262f42c0bcc 100644 --- a/themes/finc/templates/RecordTab/holdingsils.phtml +++ b/themes/finc/templates/RecordTab/holdingsils.phtml @@ -106,7 +106,7 @@ if (!empty($holdingTitleHold)): ?> <?php /* finc: this next section produces an empty table in some cases - the table borders collapse, producing a thick line - should be solved more elegantly - Fixme. include responsive data table - CK */ ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"><?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])])?></caption> + <caption><span class="sr-only"><?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])])?></span></caption> <?php /* finc: change order and structure of table #13606 - VE */ ?> <?php foreach ($holding['items'] as $row): ?> <?php diff --git a/themes/finc/templates/RecordTab/topics.phtml b/themes/finc/templates/RecordTab/topics.phtml index 13f6cd369297877c28a76153a21061ac64ca420e..40d1f149f839a6b4f7ab6fa43499d9ce7711dd26 100644 --- a/themes/finc/templates/RecordTab/topics.phtml +++ b/themes/finc/templates/RecordTab/topics.phtml @@ -5,9 +5,7 @@ $this->headTitle($this->translate('Topics') . ': ' . $this->driver->getBreadcrum ?> <table class="table table-striped table-resp-data"> - <caption class="sr-only"> - <?=$this->transEsc('Topics')?> - </caption> + <caption><span class="sr-only"><?=$this->transEsc('Topics')?></span></caption> <?php if ($rvk = $this->driver->tryMethod('getRvkWithMetadata')): ?> <?php $contentDisplayed = true; ?> <tr> diff --git a/themes/finc/templates/librarycards/home.phtml b/themes/finc/templates/librarycards/home.phtml index 3e952a5f02ed0e5a20263aecef1537e8933e3e78..25338aa28e5edea51bc2a71d4f43f48a6918bd21 100644 --- a/themes/finc/templates/librarycards/home.phtml +++ b/themes/finc/templates/librarycards/home.phtml @@ -21,8 +21,10 @@ <?php else: ?> <?php /* Table works without further responsiveness code inserted - CK */ ?> <table class="table table-striped"> - <caption class="sr-only"> - <?=$this->transEsc('Library Cards')?> + <caption> + <span class="sr-only"> + <?=$this->transEsc('Library Cards')?> + </span> </caption> <tr> <th><?=$this->transEsc('Library Card Name')?></th> diff --git a/themes/finc/templates/myresearch/fines.phtml b/themes/finc/templates/myresearch/fines.phtml index a77e2fdcc7e3cc103fb8599f93cd7fbf34bf63bb..a4054ab251ff02135bbac77bc1fddac309500dbb 100644 --- a/themes/finc/templates/myresearch/fines.phtml +++ b/themes/finc/templates/myresearch/fines.phtml @@ -68,7 +68,7 @@ ?> <?php /* include responsive data table - CK */ ?> <table class="table table-striped table-resp-data-md"> - <caption class="sr-only"><?=$this->transEsc('Your Fines')?></caption> + <caption><span class="sr-only"><?=$this->transEsc('Your Fines')?></span></caption> <tr> <?php foreach ($columns as $header): ?> <th><?=$this->transEsc($header)?></th>