From cb974e47476284d967483f7478e3dcb5a2d974d4 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 9 Feb 2019 14:29:35 +0100 Subject: Accessibility: specify the HTML lang attribute The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216 --- tpl/default/loginform.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/loginform.html') diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index 3cdab65a..bfc54815 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html @@ -1,5 +1,5 @@ - + {include="includes"} -- cgit v1.2.3 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: 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(-) (limited to 'tpl/default/loginform.html') 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 @@ {include="page.footer"} - -- cgit v1.2.3 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: fix blank --- tpl/default/loginform.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpl/default/loginform.html') diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index edc440e3..761aec0c 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html @@ -1,5 +1,5 @@ - + {include="includes"} -- cgit v1.2.3