Commit 4b4a51d4 authored by fred's avatar fred
Browse files

add a11y to honeypot elements

parent 841765a9
......@@ -9,9 +9,9 @@
<label for="email" class="sr-only">{% trans "your email address" %}</label>
<input required name="email" id="email" type="email" placeholder="{% trans "your email address" %}">
<div style="display: none;">
<label><input type="checkbox" name="validation"
<label for="validation"><input type="checkbox" name="validation" id="validation"
>{% trans "Checking this will prevent subscribing." %}</label>
<label><input type="checkbox" name="validation2" id="validation2"
<label for="validation2"><input type="checkbox" name="validation2" id="validation2"
>{% trans "On the other hand this checkbox must be checked (sorry if you have javascript disabled)" %}</label>
<script>
(function() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment