From d53e5e61d25405db63cc2e2817186d19dbff8189 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 20 Aug 2024 11:07:37 +0300 Subject: A11y improvements --- templates/index.html.j2 | 2 +- templates/manage.html.j2 | 16 ++++++++++++---- templates/poll_info_table.html.j2 | 10 +++++----- templates/poll_vote_list.html.j2 | 8 ++++++-- templates/poll_vote_table.html.j2 | 8 ++++++-- 5 files changed, 30 insertions(+), 14 deletions(-) (limited to 'templates') diff --git a/templates/index.html.j2 b/templates/index.html.j2 index fed619b..0512039 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -6,7 +6,7 @@ {% include "poll_info_table.html.j2" %}

You can add time options as well as modify all settings after submitting.

- + {% if created_polls | length != 0 %} diff --git a/templates/manage.html.j2 b/templates/manage.html.j2 index 270e837..8cd2027 100644 --- a/templates/manage.html.j2 +++ b/templates/manage.html.j2 @@ -40,6 +40,7 @@ - + - + - + @@ -133,7 +141,7 @@ if (focusNext !== null) { let shareLinkCopy = document.getElementById("share-link-copy"); if (shareLinkCopy !== null) { - shareLinkCopy.outerHTML = ""; + shareLinkCopy.outerHTML = ""; shareLinkCopy = document.getElementById("share-link-copy"); // refresh the reference } diff --git a/templates/poll_info_table.html.j2 b/templates/poll_info_table.html.j2 index 7955ca8..3eca73f 100644 --- a/templates/poll_info_table.html.j2 +++ b/templates/poll_info_table.html.j2 @@ -2,23 +2,23 @@ - + - + - + - + - + diff --git a/templates/poll_vote_list.html.j2 b/templates/poll_vote_list.html.j2 index c62c102..54e7d9f 100644 --- a/templates/poll_vote_list.html.j2 +++ b/templates/poll_vote_list.html.j2 @@ -26,9 +26,13 @@
- - +
diff --git a/templates/poll_vote_table.html.j2 b/templates/poll_vote_table.html.j2 index 1fe6019..7083cb2 100644 --- a/templates/poll_vote_table.html.j2 +++ b/templates/poll_vote_table.html.j2 @@ -51,9 +51,13 @@
- - + {% for choice in choices %} -- cgit v1.3