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] 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 bfc54815..edc440e3 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 @@

{'Login'|t}

{include="page.footer"} -