From 307cfc0811b7c13507522a8df9c08c8932db125f Mon Sep 17 00:00:00 2001 From: StephDriver <5330770+StephDriver@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:02:45 +0000 Subject: [PATCH 1/2] a11y #4244 keywords markup as lists --- .../clean/templates/journal/article.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/themes/clean/templates/journal/article.html b/src/themes/clean/templates/journal/article.html index cd369b1e2..9d6d3f63d 100644 --- a/src/themes/clean/templates/journal/article.html +++ b/src/themes/clean/templates/journal/article.html @@ -79,11 +79,20 @@

{% trans "Abstract" %}

{{ article.abstract | safe }}

{% endif %} {% if article.keywords and article.keywords.count > 0 %} -

{% trans "Keywords" %}: - {% for keyword in article.keywords.all %} - {% if journal_settings.general.keyword_list_page %}{% endif %} - {{ keyword.word }}{% if journal_settings.general.keyword_list_page %}{% endif %}{% if not forloop.last %}, {% endif %} - {% endfor %}

+

{% trans "Keywords" %}:

+ {% endif %} {% if article.is_published or proofing %}

{% trans "How to Cite" %}: From 2942284729c897be256c22ca40efc35bac2e78fa Mon Sep 17 00:00:00 2001 From: StephDriver <5330770+StephDriver@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:35:05 +0000 Subject: [PATCH 2/2] WIP voice over tests --- src/themes/clean/templates/journal/article.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/themes/clean/templates/journal/article.html b/src/themes/clean/templates/journal/article.html index 9d6d3f63d..5c9de0bea 100644 --- a/src/themes/clean/templates/journal/article.html +++ b/src/themes/clean/templates/journal/article.html @@ -79,14 +79,15 @@

{% trans "Abstract" %}

{{ article.abstract | safe }}

{% endif %} {% if article.keywords and article.keywords.count > 0 %} -

{% trans "Keywords" %}:

-