From 852872930fea73eb4699acb4d1c28cfd0a979120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luce=20Carevi=C4=87?= Date: Fri, 12 Jul 2019 23:54:42 +0200 Subject: [PATCH 1/2] a11y fix: label and tabindex Don't use tabindex values other than -1, 0. (see https://webaim.org/techniques/keyboard/tabindex). Fix inputs without labels (the placeholder attribute is not a proper labelling method) --- tpl/default/loginform.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index bfc5481..edc440e 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html @@ -1,5 +1,5 @@ - + {include="includes"} @@ -9,7 +9,7 @@
- {'You have been banned after too many failed login attempts. Try again later.'|t} +

{'You have been banned after too many failed login attempts. Try again later.'|t}

@@ -22,20 +22,19 @@

{'Login'|t}

- +
- +
+ {if="$remember_user_default"}checked="checked"{/if}>
- +
{if="$returnurl"}{/if} @@ -48,4 +47,3 @@ {include="page.footer"} - From b43c98fecb9b2668025295f86bdc5e895837936a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luce=20Carevi=C4=87?= Date: Fri, 12 Jul 2019 23:56:43 +0200 Subject: [PATCH 2/2] fix blank --- tpl/default/loginform.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index edc440e..761aec0 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html @@ -1,5 +1,5 @@ - + {include="includes"}