aboutsummaryrefslogtreecommitdiffstats
path: root/templates/poll_vote_table.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-08-20 11:07:37 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-12-21 19:43:13 +0200
commitd53e5e61d25405db63cc2e2817186d19dbff8189 (patch)
treeaa5e2f86f3dbe37b151d3a028020fa3e4ae50973 /templates/poll_vote_table.html.j2
parent218f9a92813eda3268144aa126363ff49285a6ee (diff)
A11y improvements
Diffstat (limited to 'templates/poll_vote_table.html.j2')
-rw-r--r--templates/poll_vote_table.html.j28
1 files changed, 6 insertions, 2 deletions
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 @@
<form action="/poll/{{ poll.id }}/vote" method="post">
<td>
<label for="voter_name" hidden>Your name</label>
- <input type="text" name="voter_name" placeholder="Your name" required
+ <input type="text"
+ name="voter_name"
+ id="voter_name"
+ placeholder="Your name"
+ required
{% if prefill_voter_name %}value="{{ prefill_voter_name }}"{% endif %}>
- <input class="green" type="submit" value="Submit">
+ <input class="blue" type="submit" value="Submit">
</td>
{% for choice in choices %}
<td>