Skip to content

Commit 04b1c28

Browse files
StephDriverjoemull
authored andcommitted
a11y: openlibhums#5105 change credit link to read more
1 parent a78d1fb commit 04b1c28

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/themes/OLH/templates/journal/article.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -480,13 +480,7 @@ <h2>{% trans "File Checksums" %} (MD5)</h2>
480480

481481
{% if journal_settings.general.use_credit and credit_records_exist %}
482482
<div class="section hide-for-small-only">
483-
<h2>{% trans "CRediT Roles" %}
484-
<a href="https://www.niso.org/publications/z39104-2022-credit" target="_blank">
485-
<span class="sr-only">{% trans "Read more about Credit." %} </span>
486-
<i aria-hidden="true" class="fa fa-info"></i>
487-
{% include "elements/icons/link_external.html" %}
488-
</a>
489-
</h2>
483+
<h2 id="credit-roles-title">{% trans "CRediT Roles" %} </h2>
490484
<ul>
491485
{% for author, credit_records in article.authors_and_credits.items %}
492486
{% if credit_records.exists %}
@@ -501,6 +495,13 @@ <h2>{% trans "CRediT Roles" %}
501495
{% endif %}
502496
{% endfor %}
503497
</ul>
498+
<a href="https://www.niso.org/publications/z39104-2022-credit"
499+
target="_blank"
500+
aria-describedby="credit-roles-title"
501+
>
502+
{% trans "Read More" %}
503+
{% include "elements/icons/link_external.html" %}
504+
</a>
504505
</div>
505506
{% endif %}
506507

0 commit comments

Comments
 (0)