From 5b40da521f470302a265a9817b94fc41b02146a2 Mon Sep 17 00:00:00 2001 From: Cory Francis Myers Date: Tue, 2 Nov 2021 18:02:16 -0700 Subject: [PATCH] first pass through "/login" In #6041 we added the "aria-label" attribute in the "render_kw" dictionary passed to each wtforms.fields.Field. Here we add them these attributes directly to the raw INPUT elements. --- securedrop/journalist_templates/base.html | 16 +++++++++------- securedrop/journalist_templates/login.html | 10 +++++----- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/securedrop/journalist_templates/base.html b/securedrop/journalist_templates/base.html index d889f50bce7..ae27b5093d7 100644 --- a/securedrop/journalist_templates/base.html +++ b/securedrop/journalist_templates/base.html @@ -19,25 +19,27 @@ {% if g.user %} -
+
+ + {# FIXME
+ #} {% endif %}
{% block header %} - + {% endblock %} -
+
{% include 'flashed.html' %}
@@ -45,7 +47,7 @@ {% block body %}{% endblock %}
-
+
{% block footer %} diff --git a/securedrop/journalist_templates/login.html b/securedrop/journalist_templates/login.html index 462e9ae41c9..f748910d2ad 100644 --- a/securedrop/journalist_templates/login.html +++ b/securedrop/journalist_templates/login.html @@ -5,11 +5,11 @@

{{ gettext('Login to access the journalist interface') }}

-

-

-

-

- +
+
+
+
+
{% endblock %}